Actions
Issue #991
closedpulp-dev.py uses /sbin/systemctl which does not exist in F21
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.6.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:
Description
A recent commit to pulp-dev.py added a call to /sbin/systemctl[0]. In F21, systemctl is located in /usr/bin/ instead of /sbin. Due to this change, pulp-dev.py fails to complete successfully which also causes our Vagrant provisioning to fail.
[0] https://github.com/pulp/pulp/commit/087d85085f99daf04e4f0929bed2f2a5c75bc2a1
Related issues
Actions
Don't use full path to systemctl in pulp-dev.py.
Not all distributions put the systemctl executable in the same location. pulp-dev.py had been calling it as /sbin/systemctl, but Fedora 21 keeps that executable in /usr/bin/systemctl. This commit calls the executable as just systemctl and allows the PATH variable to be used to locate it.
https://pulp.plan.io/issues/991
fixes #991