Bug 807886 - Need the ability for daemons to exit with a special return code to inhibit respawn
Summary: Need the ability for daemons to exit with a special return code to inhibit re...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1060205
TreeView+ depends on / blocked
 
Reported: 2012-03-29 03:23 UTC by Andrew Beekhof
Modified: 2014-02-12 11:16 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-07 22:48:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Beekhof 2012-03-29 03:23:43 UTC
Description of problem:

Also from the Prague discussions, often a daemon will know that it had been badly configured and no amount of respawning will help.  In such situations it might useful for the daemon to provide a hint to systemd that it should give up.

For what its worth, Heartbeat and Pacemaker use rc = 100 for this behaviour.

Comment 1 Andrew Beekhof 2012-03-29 03:44:40 UTC
Adding Lennart and Kay, the people who I was talking with at LinuxCon Prague.

Comment 2 Lukáš Nykrýn 2012-08-16 15:38:45 UTC
Resolved in upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=96342de68d0d6de71a062d984dafd2a0905ed9fe

Comment 3 Fedora Update System 2012-09-20 19:56:26 UTC
systemd-190-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-190-1.fc18

Comment 4 Fedora Update System 2012-09-22 06:37:35 UTC
Package systemd-191-2.fc18, rtkit-0.11-3.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 systemd-191-2.fc18 rtkit-0.11-3.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14581/rtkit-0.11-3.fc18,systemd-191-2.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-09-28 00:18:02 UTC
Package glibc-2.16-17.fc18, systemd-192-1.fc18, selinux-policy-3.11.1-23.fc18, rtkit-0.11-3.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 glibc-2.16-17.fc18 systemd-192-1.fc18 selinux-policy-3.11.1-23.fc18 rtkit-0.11-3.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14581/selinux-policy-3.11.1-23.fc18,rtkit-0.11-3.fc18,systemd-192-1.fc18,glibc-2.16-17.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-10-01 20:10:39 UTC
Package glibc-2.16-17.fc18, rtkit-0.11-3.fc18, systemd-193-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 glibc-2.16-17.fc18 rtkit-0.11-3.fc18 systemd-193-1.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14581/rtkit-0.11-3.fc18,systemd-193-1.fc18,glibc-2.16-17.fc18
then log in and leave karma (feedback).

Comment 7 Jóhann B. Guðmundsson 2014-02-12 11:16:49 UTC
Andrew for the first this bug has been closed secondly please remove that blockage this bug is filed against Fedora not RHEL so Fedora users will get "Access Denied" when trying to access that bug so either lift that access restriction or remove it.


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