[systemd-bugs] [Bug 56407] New: Service that fails to start gets stuck in respawn loop, spamming logs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 25 11:19:42 PDT 2012


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

          Priority: medium
            Bug ID: 56407
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Service that fails to start gets stuck in respawn
                    loop, spamming logs
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: martine at danga.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

systemd 194-4 on Arch.

I screwed up my /etc/groups by accidentally deleting the 'avahi' group, so the
avahi daemon was failing to start.  My fault.

The bug is that systemd got into a tight loop of failing to start, spamming the
logs.

Oct 25 09:31:31 kitten avahi-daemon[297]: Failed to find group 'avahi'.
Oct 25 09:32:19 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 09:32:19 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:33 kitten avahi-daemon[470]: Failed to find group 'avahi'.
Oct 25 10:54:33 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:33 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:33 kitten avahi-daemon[472]: Failed to find group 'avahi'.
Oct 25 10:54:33 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:33 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:33 kitten avahi-daemon[474]: Failed to find group 'avahi'.
Oct 25 10:54:33 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:33 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:33 kitten avahi-daemon[476]: Failed to find group 'avahi'.
Oct 25 10:54:33 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:33 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:34 kitten avahi-daemon[478]: Failed to find group 'avahi'.
Oct 25 10:54:34 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:34 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.
Oct 25 10:54:34 kitten avahi-daemon[480]: Failed to find group 'avahi'.
Oct 25 10:54:34 kitten systemd[1]: avahi-daemon.service: main process
exite...55
Oct 25 10:54:34 kitten systemd[1]: Unit avahi-daemon.service entered
failed...e.

The last line repeats continually, with a ton of output, hundreds of lines per
second.

$ journalctl -b | grep avahi | wc -l
52539

I'm not sure it's related (perhaps the journal reserves space before filling it
in) but I upgraded my system to systemd only yesterday and my /var/log/journal
is already 520mb:

$ du -sh /var/log/journal/
520M    /var/log/journal/

-- 
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/20121025/94fcf400/attachment.html>


More information about the systemd-bugs mailing list