Bug#747743: systemd: After switching from sysvinit to systemd former disabled services are started

Julian Wollrath jwollrath at web.de
Sun May 11 14:59:48 BST 2014


Package: systemd
Version: 204-10
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

I have the package openssh-server installed but disabled starting the server
daemon via 'update-rc.d ssh disable', since I do not need it running all the
time. When I switched to systemd suddenly the ssh service was started despite
the fact, that I had disabled it. But I also had kdm only enabled for runlevel
5, systemd recognized that correctly and did not started it in different
runlevels. Somehow the detection that ssh was totally disabled failed (or it
was not even tried to detect that). The same holds for the bluetooth service,
which I also disabled but which got started by systemd nevertheless.


With best regards,
Julian Wollrath

- -- Package-specific info:

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

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

Versions of packages systemd depends on:
ii  acl                  2.2.52-1
ii  adduser              3.113+nmu3
ii  initscripts          2.88dsf-53
ii  libacl1              2.2.52-1
ii  libaudit1            1:2.3.6-1
ii  libc6                2.18-5
ii  libcap2              1:2.22-1.2
ii  libcap2-bin          1:2.22-1.2
ii  libcryptsetup4       2:1.6.4-4
ii  libdbus-1-3          1.8.2-1
ii  libgcrypt11          1.5.3-4
ii  libkmod2             17-2
ii  liblzma5             5.1.1alpha+20120614-2
ii  libpam0g             1.1.8-3
ii  libselinux1          2.2.2-2
ii  libsystemd-daemon0   204-10
ii  libsystemd-journal0  204-10
ii  libsystemd-login0    204-10
ii  libudev1             204-10
ii  libwrap0             7.6.q-25
ii  sysv-rc              2.88dsf-53
ii  udev                 204-10
ii  util-linux           2.20.1-5.7

Versions of packages systemd recommends:
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  systemd-ui  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJTb4JPAAoJEFl2dmpRMS8zcTAH/0m5ueW02lWMmKz65aj87s6Q
aFFr4i6EMZsUxUvR6NhuViazs2Cr3JPfZyJMLJ5+nWdazGjsmn9QbW6x/4hwb4v4
H/E8pc57ySS8FMNSicOi9eHo8I33TYXTHupVOhzq7OMQXvo14orsZu82ii4QuSJp
dbBTyNiUFWXS73k8Qo3860jjzfdJxf0jiOXMdwDJ4zqi9DbaACZCqwvwIzLbAccc
mE2iHTdmOAM9/uVbHIgaUH4yuFWByUjVoyEy+OF5NHsJ7j/Iy1nVYEREDxfIOLXt
rCPVqK6ITuvDe+dfIewiEDfGBuwIP2AmU5xWJ6nklT3mEt4DP4sZpjldPRaQ3ZE=
=Jg4N
-----END PGP SIGNATURE-----
-------------- next part --------------
[OVERRIDDEN] /etc/systemd/system/sockets.target.wants ? /lib/systemd/system/sockets.target.wants

Only in /etc/systemd/system/sockets.target.wants: acpid.socket
Only in /etc/systemd/system/sockets.target.wants: cups.socket
Only in /lib/systemd/system/sockets.target.wants: dbus.socket
Only in /etc/systemd/system/sockets.target.wants: lvm2-lvmetad.socket
Only in /lib/systemd/system/sockets.target.wants: systemd-initctl.socket
Only in /lib/systemd/system/sockets.target.wants: systemd-journald.socket
Only in /lib/systemd/system/sockets.target.wants: systemd-shutdownd.socket
Only in /lib/systemd/system/sockets.target.wants: systemd-udevd-control.socket
Only in /lib/systemd/system/sockets.target.wants: systemd-udevd-kernel.socket

[OVERRIDDEN] /etc/systemd/system/multi-user.target.wants ? /lib/systemd/system/multi-user.target.wants

Only in /etc/systemd/system/multi-user.target.wants: cups.path
Only in /lib/systemd/system/multi-user.target.wants: dbus.service
Only in /lib/systemd/system/multi-user.target.wants: getty.target
Only in /etc/systemd/system/multi-user.target.wants: remote-fs.target
Only in /etc/systemd/system/multi-user.target.wants: rsyslog.service
Only in /etc/systemd/system/multi-user.target.wants: ssh.service
Only in /lib/systemd/system/multi-user.target.wants: systemd-ask-password-wall.path
Only in /lib/systemd/system/multi-user.target.wants: systemd-logind.service
Only in /lib/systemd/system/multi-user.target.wants: systemd-user-sessions.service

[OVERRIDDEN] /etc/systemd/system/local-fs.target.wants ? /lib/systemd/system/local-fs.target.wants

Only in /etc/systemd/system/local-fs.target.wants: lvm2-activation-early.service
Only in /etc/systemd/system/local-fs.target.wants: lvm2-activation.service
Only in /lib/systemd/system/local-fs.target.wants: run-lock.mount
Only in /lib/systemd/system/local-fs.target.wants: run-user.mount
Only in /lib/systemd/system/local-fs.target.wants: systemd-fsck-root.service
Only in /lib/systemd/system/local-fs.target.wants: systemd-remount-fs.service


3 overridden configuration files found.
-------------- next part --------------
==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cups.path <==

==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation.service

==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation-early.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation-early.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation-early.service

==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/ssh.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ssh.service
/etc/systemd/system/sshd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-lvmetad.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/lvm2-lvmetad.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/lvm2-lvmetad.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/cups.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/multi-user.target.wants/cups.path
/etc/systemd/system/printer.target.wants/cups.service

==> /var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.path.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cups.path

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also <==
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/dbus-org.bluez.service

==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==


More information about the Pkg-systemd-maintainers mailing list