[systemd-bugs] [Bug 84110] New: rc-local's TimeoutSec=0 cause shutdown to hang if rc.local spawned any daemons

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 19 15:06:42 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84110

          Priority: medium
            Bug ID: 84110
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: rc-local's TimeoutSec=0 cause shutdown to hang if
                    rc.local spawned any daemons
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: xani666 at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

If rc.local contains forking daemon, in my case it was:

    /usr/sbin/tgtd
    /usr/sbin/tgt-admin -e

reboot/shutdown will hang until that daemon is manually killed

I've fixed that on my machine by setting TimeoutStopSec to > 0 value, but
that's probably a bad idea as that 'service' should not be 'stopped' at
shutdown at all as it is supposed to be one-shot script run at start of level

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140919/f716f6db/attachment.html>


More information about the systemd-bugs mailing list