Project

Profile

Help

Issue #3050

closed

get rid of "apache" user in dev environment

Added by amacdona@redhat.com about 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Dev Environment
Sprint:
Sprint 28
Quarter:

Description

In the dev environment, we are using the "apache" user to own /var/lib/pulp.
https://github.com/pulp/devel/blob/3.0-dev/ansible/roles/dev/tasks/main.yml#L90

Since the dir is owned by apache, workers are also run as apache.
https://github.com/pulp/devel/blob/3.0-dev/ansible/roles/systemd/templates/pulp_celerybeat.j2#L8

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
Systemd: https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd


Related issues

Related to Pulp - Task #3065: Replace the vagrant user with a user named 'pulp'CLOSED - WONTFIX

Actions
Has duplicate Pulp - Task #2879: Create a 'pulp' user for Pulp3 in the development environmentCLOSED - DUPLICATE

Actions

Also available in: Atom PDF