Actions
Issue #6254
closedIncorrect `Environment` in systemd files made by the installer
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
I ran a vanilla installation using the example-use/playbook.yml
. Then on that system I cat the systemd file, here is a portion of the output of /lib/systemd/system/pulpcore-worker@.service
:
[Service]
EnvironmentFile=-/etc/default/pulp-workers
EnvironmentFile=-/etc/default/pulp-workers-%i
Environment="DJANGO_SETTINGS_MODULE=pulpcore.app.settings"
Environment="PULP_SETTINGS=/etc/pulp/settings.py"
Environment="PATH=/usr/local/lib/pulp/bin:{'msg': 'skipped, running in check mode', 'skipped': True, 'failed': False, 'changed': False}"
User=vagrant
Group=pulp
The specific issue¶
This line Environment="PATH=/usr/local/lib/pulp/bin:{'msg': 'skipped, running in check mode', 'skipped': True, 'failed': False, 'changed': False}"
I don't think is correct.
Actions
Fix Environment on systemd
https://pulp.plan.io/issues/6254 closes #6254