Bug#851211: systemd 232-9 segfaults at boot

Matteo Settenvini matteo at member.fsf.org
Thu Jan 12 23:27:43 GMT 2017


Package: systemd
Version: 232-8
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

upgrading from systemd 232-8 to systemd 232-9 results in a first
segmentation fault during upgrade, and a subsequent segfault at each
boot when attempting to switch root.

Thus it renders the system unbootable.

Maybe of note, maybe not, I have two LUKS partitions which are on a
RAID-1 and are mounted as my /home folder. But my root partition is
NOT encrypted.

Hereafter is the journald log for the upgrade, which did not get through
completely. I then booted from a USB key, and attempted to finish with
the broken updates. Rebooting again still resulted in a segfault. I
solved it by booting from USB and downgrading systemd.

I am attaching also a core file.


gen 12 23:22:37 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:37 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:37 rosebud systemd[1]: apt-daily.timer: Adding 5h 2min 32.499657s random time.
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[1783]: dbus-daemon[1783]: [session uid=117 pid=1783] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[2059]: dbus-daemon[2059]: [session uid=1000 pid=2059] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[1783]: dbus-daemon[1783]: [session uid=117 pid=1783] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[2059]: dbus-daemon[2059]: [session uid=1000 pid=2059] Reloaded configuration
gen 12 23:22:38 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud dbus-daemon[869]: [system] Reloaded configuration
gen 12 23:22:39 rosebud systemd[1]: Reloading.
gen 12 23:22:39 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:39 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:39 rosebud systemd[1]: apt-daily.timer: Adding 6h 55min 26.527300s random time.
gen 12 23:22:39 rosebud systemd[1]: Reloading.
gen 12 23:22:39 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:39 rosebud systemd[1]: apt-daily.timer: Adding 5h 15min 34.722048s random time.
gen 12 23:22:39 rosebud systemd[1]: Reloading.
gen 12 23:22:39 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:39 rosebud systemd[1]: lvm2.service: Cannot add dependency job, ignoring: Unit lvm2.service is masked.
gen 12 23:22:39 rosebud systemd[1]: apt-daily.timer: Adding 7h 22min 18.795242s random time.
gen 12 23:22:39 rosebud systemd[1]: Reexecuting.
gen 12 23:22:39 rosebud systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYP
gen 12 23:22:39 rosebud systemd[1]: Detected architecture x86-64.
gen 12 23:22:39 rosebud systemd[1]: Caught <SEGV>, dumped core as pid 4369.
gen 12 23:22:39 rosebud kernel: systemd[1]: segfault at 1 ip 00007f9362b85496 sp 00007ffdfc919938 error 4 in libc-2.24.so[7f9362b05000+19500
gen 12 23:22:39 rosebud systemd[1]: Freezing execution.
gen 12 23:23:04 rosebud dbus-daemon[869]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=2
gen 12 23:23:29 rosebud dbus-daemon[869]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=2
gen 12 23:23:55 rosebud dbus-daemon[869]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=2
gen 12 23:24:20 rosebud dbus-daemon[869]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=2
gen 12 23:24:29 rosebud minissdpd[858]: 11 new devices added
gen 12 23:24:40 rosebud minissdpd[858]: 34 new devices added
gen 12 23:24:45 rosebud dbus-daemon[869]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=2
gen 12 23:24:48 rosebud anacron[883]: Job `cron.daily' started


-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (800, 'testing'), (780, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (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
ii  libapparmor1    2.11.0-1
ii  libaudit1       1:2.6.7-1
ii  libblkid1       2.29-1
ii  libc6           2.24-8
ii  libcap2         1:2.25-1
ii  libcryptsetup4  2:1.7.3-3
ii  libgcrypt20     1.7.5-2
ii  libgpg-error0   1.26-1
ii  libidn11        1.33-1
ii  libip4tc0       1.6.0+snapshot20161117-4
ii  libkmod2        23-2
ii  liblz4-1        0.0~r131-2
ii  liblzma5        5.2.2-1.2
ii  libmount1       2.29-1
ii  libpam0g        1.1.8-3.5
ii  libseccomp2     2.3.1-2.1
ii  libselinux1     2.6-3
ii  libsystemd0     232-8
ii  mount           2.29-1
ii  util-linux      2.29-1

Versions of packages systemd recommends:
ii  dbus            1.11.8-1
ii  libpam-systemd  232-8

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

Versions of packages systemd is related to:
ii  dracut           044+189-2
pn  initramfs-tools  <none>
ii  udev             232-9

-- no debconf information

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-delta.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-analyze-dump.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dsh-enabled.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0005.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fstab
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core.xz
Type: application/x-xz
Size: 181236 bytes
Desc: Systemd Core Dump
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170113/d864885d/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list