Bug#861158: init system helper trigger daemon-reload too often

Sjoerd Simons sjoerd at debian.org
Tue Apr 25 08:04:05 BST 2017


Package: systemd
Version: 233-5
Severity: normal

Hey,

  The systemd helper for init-tools is trying to be nice and helpful by
  triggering a daemon reload iff systemd cannot find the service which includes
  it (e.g. due to the generator not having run yet when the lsb service is
  triggered)

  Unfortunately some non-init scripts also source init-functions, which
  ofcourse won't have a systemd service triggering a spurious daemon-reload.

  What's worse is that this can happen on boot where it both hurts performance
  and can actually trigger the boot to fail due to #861157

  I'll push a proposed patch into pkg-systemd git in a little bit

-- Package-specific info:

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.10.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.115
ii  libacl1         2.2.52-3+b1
ii  libapparmor1    2.11.0-3
ii  libaudit1       1:2.6.7-2
ii  libblkid1       2.29.2-1
ii  libc6           2.24-10
ii  libcap2         1:2.25-1
ii  libcryptsetup4  2:1.7.3-3
ii  libgcrypt20     1.7.6-1
ii  libgpg-error0   1.26-2
ii  libidn11        1.33-1
ii  libip4tc0       1.6.0+snapshot20161117-6
ii  libkmod2        24-1
ii  liblz4-1        0.0~r131-2+b1
ii  liblzma5        5.2.2-1.2+b1
ii  libmount1       2.29.2-1
ii  libpam0g        1.1.8-3.5
ii  libseccomp2     2.3.1-2.1
ii  libselinux1     2.6-3+b1
ii  libsystemd0     233-5
ii  mount           2.29.2-1
ii  util-linux      2.29.2-1

Versions of packages systemd recommends:
ii  dbus            1.10.18-1
ii  libpam-systemd  233-5

Versions of packages systemd suggests:
ii  policykit-1        0.105-17
ii  systemd-container  233-5
pn  systemd-ui         <none>

Versions of packages systemd is related to:
ii  dracut           044+241-3
pn  initramfs-tools  <none>
ii  udev             233-4

-- Configuration Files:
/etc/systemd/logind.conf changed [not included]
/etc/systemd/resolved.conf changed [not included]

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list