Bug 869669 - salt doesn't correctly determin status of services when using systemd
Summary: salt doesn't correctly determin status of services when using systemd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: salt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clint Savage
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-24 14:15 UTC by Jeffrey C. Ollie
Modified: 2012-12-20 16:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:04:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to fix problem (1.50 KB, patch)
2012-10-24 14:15 UTC, Jeffrey C. Ollie
no flags Details | Diff

Description Jeffrey C. Ollie 2012-10-24 14:15:03 UTC
Created attachment 632814 [details]
patch to fix problem

salt currently looks for a "MainPID" to determine if a systemd service is running.  Not all services have a main PID, even if they are otherwise running.  Switch to using "systemctl is-active" to determine service status.

Upstream pull request at:

https://github.com/saltstack/salt/pull/2335

Comment 1 Fedora Update System 2012-10-24 18:13:33 UTC
salt-0.10.4-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/salt-0.10.4-1.fc18

Comment 2 Fedora Update System 2012-10-24 18:14:33 UTC
salt-0.10.4-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/salt-0.10.4-1.fc17

Comment 3 Fedora Update System 2012-10-24 18:15:14 UTC
salt-0.10.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/salt-0.10.4-1.fc16

Comment 4 Fedora Update System 2012-10-26 19:35:55 UTC
Package salt-0.10.4-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing salt-0.10.4-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16916/salt-0.10.4-1.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-12-20 16:04:17 UTC
salt-0.10.4-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.