[Pkg-sysvinit-devel] Bug#740459: Infinite loop reloading dbus service

Erich Schubert erich at debian.org
Sat Mar 1 20:56:58 UTC 2014


Package: sysv-rc
Version: 2.88dsf-51
Severity: important

Hi,
Todays upgrade to unstable went into an infinite loop.
It may be related to the libc upgrade, but I can't tell for sure.
The system runs into an infinite loop reloading services, also
on "dpkg --configure -a":

insserv: Note: sysvinit service dbus is shadowed by systemd dbus.service,
Forwarding request to '/bin/systemctl --quiet --no-reload enable dbus.service'.
Synchronizing state for dbus.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d dbus defaults
insserv: Note: sysvinit service dbus is shadowed by systemd dbus.service,
Forwarding request to '/bin/systemctl --quiet --no-reload enable dbus.service'.
Synchronizing state for dbus.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d dbus defaults
... repeat.

It appears as if update-rc.d decided to call into insserv, insserv into
systemd, and systemd to call back into update-rc.d; repeat.

By adding an "exit 0" into the insserv_updatercd function of update-rc.d,
I was able to break this loop, and run dpkg --configure -a successfully.

Please add a safeguard against cyclic invocation of update-rc.d. Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.52
ii  insserv                1.16.0-3
ii  sysvinit-utils         2.88dsf-51

Versions of packages sysv-rc recommends:
ii  lsb-base  4.1+Debian12

Versions of packages sysv-rc suggests:
pn  bum           <none>
pn  sysv-rc-conf  <none>

-- debconf information:
* sysv-rc/unable-to-convert:
* sysv-rc/convert-legacy: true



More information about the Pkg-sysvinit-devel mailing list