Bug#772700: systemd-logind.service fails to start if dbus is missing

Michael Biebl biebl at debian.org
Wed Dec 10 09:12:22 GMT 2014


Package: systemd
Version: 215-8
Severity: important
Tags: patch

If the dbus package is not installed, systemd-logind.service will fail
to start. dbus is currently only a recommends and priority standard, so
it's not installed by a minimal base installation.
The end result is, that such base installation will start in degraded
mode.
Another side-effect of systemd-logind failing to start is, that the
getty autostart for vt2-6 is not working [1].

The failing systemd-logind.service in absence of dbus can be solved with
a Condition, like in the attached patch.
We would still need an answer/patch for [1] though. One proposal is, to
provide an alternative getty target, which pulls in all six gettys.

The alternative would be, to make dbus a hard requirement, so it's
always installed. Simon McVittie voiced concerns though in making dbus
mandatory.


Comments welcome.


[1] http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2014-November/004428.html
-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-58
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-3
ii  libc6           2.19-13
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-3
ii  libgcrypt20     1.6.2-4+b1
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-8
ii  mount           2.25.2-3
ii  sysv-rc         2.88dsf-58
ii  udev            215-8
ii  util-linux      2.25.2-3

Versions of packages systemd recommends:
ii  dbus            1.8.12-1
ii  libpam-systemd  215-8

Versions of packages systemd suggests:
ii  systemd-ui  3-2

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

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-logind.diff
Type: text/x-diff
Size: 548 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141210/83976b2f/attachment.diff>


More information about the Pkg-systemd-maintainers mailing list