Project

Profile

Help

Issue #6254

closed

Incorrect `Environment` in systemd files made by the installer

Added by bmbouter about 4 years ago. Updated almost 4 years ago.

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.

Also available in: Atom PDF