get rid of "apache" user in dev environment
In the dev environment, we are using the "apache" user to own /var/lib/pulp.
Since the dir is owned by apache, workers are also run as apache.
We also need to `runserver` as user apache.
In our ansible-galaxy install, we use the "pulp" user:
Step 6: https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#ansible-galaxy-installation
#7 Updated by daviddavis over 2 years ago
Currently in our dev environment, we have two users: vagrant and apache. We're running pulp (via runserver) as vagrant while apache owns the files and runs the processes pulp_workers, etc.
Two options I see:
1. We create a new pulp user in ansible and have it own the files, processes, etc
2. Replace BOTH the vagrant and apache users with a pulp user
I have option 1 working now. It's a rather minimal change. Option 2 is a radical change and I'm not 100% sure it might work.
Please register to edit this issue