[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769635: live-build: Live-build fails to install dbus, breaking systemd login service



Package: live-build
Version: 4.0.3-1
Severity: normal

Dear Maintainer,

I am testing the usability of systemd in live images built by live-build.

The image was built for amd64 using cloned configuration scripts from the live-build git repository. It was tested in virtualbox. Various errors were found during boot.

Dbus is not installed which results in a broken Login service for the live system. It would be trivial to add dbus to "config/packages-list/<relevant name>.list.chroot". I am fairly certain though that the package manager should be pulling in dbus as a dependency in order for systemd to retain full functionality. A solution would be to list dbus as a dependency for systemd rather than a recommends.

Let me know if more information is required.



Here is the output of systemctl status and journalctl -xn.

"systemctl status systemd-logind.service"
----------------
systemd-logind.service - Login Service
   Loaded: loaded (/lib/systemd/system/systemd-logind.service; static)
Active: failed (Result: start-limit) since Sat 2014-11-15 07:01:09 UTC; 7min ago.
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
Process: 652 ExecStart=/lib/systemd/systemd-logind (code=exited, status=1/FAILURE)
 Main PID: 652 (code=exited, status=1/FAILURE)
   Status: "Shutting down..."

Nov 15 07:01:09 debian systemd[1]: Failed to start Login Service.
Nov 15 07:01:09 debian systemd[1]: Unit systemd-logind.service entered failed state. Nov 15 07:01:09 debian systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start.
Nov 15 07:01:09 debian systemd[1]: Failed to start Login Service.
Nov 15 07:01:09 debian systemd[1]: Unit systemd-logind.service entered failed state.
----------------


"journalctl -xn"
----------------
-- Logs begin at Sat 2014-11-15 07:01:03 UTC, end at Sat 2014-11-15 07:21:13 UTC. -- Nov 15 07:20:24 debian systemd[1]: Unit systemd-logind.service entered failed state. Nov 15 07:20:24 debian systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or Nov 15 07:20:24 debian systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start.
Nov 15 07:20:24 debian systemd[1]: Failed to start Login Service.
-- Subject: Unit systemd-logind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--.
-- Unit systemd-logind.service has failed.
--.
-- The result is failed.
----------------


Live System Details:
----------------
user@debian:~$ sudo dpkg -l | grep systemd ; echo ; echo "Kernel: `uname -r`" ; echo "Release `cat /etc/debian_version`" ; apt-cache depends>

ii libsystemd0:amd64 215-5+b1 amd64 systemd utility library ii live-config-systemd 4.0.2-1 all Live System Configuration Components (systemd backend) ii systemd 215-5+b1 amd64 system and service manager ii systemd-sysv 215-5+b1 amd64 system and service manager - SysV links

Kernel: 3.16.0-4-amd64

Release jessie/sid

systemd
  Depends: libacl1
  Depends: libaudit1
  Depends: libblkid1
  Depends: libcap2
  Depends: libcryptsetup4
  Depends: libkmod2
  Depends: libpam0g
  Depends: libselinux1
  Depends: libsystemd0
  Depends: util-linux
  Depends: initscripts
  Depends: sysv-rc
  Depends: udev
  Depends: acl
  Depends: adduser
  Depends: libcap2-bin
  PreDepends: libc6
  PreDepends: libgcrypt20
  PreDepends: liblzma5
  PreDepends: libselinux1
  Suggests: <systemd-ui>
  Recommends: <libpam-systemd>
  Recommends: <dbus>
  Conflicts: <klogd>
  Breaks: lsb-base
  Breaks: <lvm2>
  Breaks: <systemd-shim>



-- Package-specific info:

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

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

Versions of packages live-build depends on:
ii  debootstrap  1.0.64

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-2+b1
ii  live-boot-doc                   4.0.1-1
ii  live-config-doc                 4.0.2-1
ii  live-manual-html [live-manual]  1:4.0.1-1

live-build suggests no packages.

-- no debconf information

--
Brent Earl


Reply to: