[systemd-bugs] [Bug 66923] New: generator: usage of systemctl is causing deadlock which prevents starting systemd

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 15 06:05:11 PDT 2013


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

          Priority: medium
            Bug ID: 66923
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: generator: usage of systemctl is causing deadlock
                    which prevents starting systemd
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: umut at tezduyar.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

If systemctl is used in a generator, it causes a deadlock which eventually
resolves when the bus connection request times out. But meanwhile, it prevents
systemd from starting up.

A generator like following will cause deadlock.

#!/bin/sh -e

. /etc/conf.d/iptables

if [ $IPTABLES_ENABLED = yes ]; then
    systemctl --runtime --no-reload enable ip-filter.service
else
    systemctl --runtime --no-reload disable ip-filter.service
fi

-- 
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/20130715/3c722ade/attachment.html>


More information about the systemd-bugs mailing list