Issue #991
closedpulp-dev.py uses /sbin/systemctl which does not exist in F21
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
Updated by rbarlow over 9 years ago
- Related to Issue #980: Systemctl daemon reload should occur using macros added
Added by rbarlow over 9 years ago
Added by rbarlow over 9 years ago
Revision c15a2dfe | View on GitHub
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
Updated by rbarlow over 9 years ago
- Status changed from NEW to POST
- Assignee set to rbarlow
- Platform Release set to 2.6.2
- Tags Easy Fix added
Updated by rbarlow over 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|c15a2dfe886adb0f438458b24b52fa2d502583d9.
Updated by dkliban@redhat.com over 9 years ago
- Status changed from MODIFIED to 6
Updated by dkliban@redhat.com about 9 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
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