[Bug 1873607] Re: systemd segv coredump, reboot/poweroff ignored.
Dan Streetman
1873607 at bugs.launchpad.net
Thu May 21 12:11:49 UTC 2020
I looped daemon-reexec and daemon-reload for a while on both bionic and
focal and saw no segfaults with the updated packages. As @hcoin was
able to reproduce this on Eoan and the updated pkg appears to have fixed
it there, and I was unable to reproduce any segfaults or other issues,
I'm marking as verified for b and f also.
** Tags removed: verification-needed verification-needed-bionic verification-needed-focal
** Tags added: verification-done verification-done-bionic verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1873607
Title:
systemd segv coredump, reboot/poweroff ignored.
Status in systemd:
Fix Released
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
Fix Committed
Status in systemd source package in Eoan:
Fix Committed
Status in systemd source package in Focal:
Fix Committed
Status in systemd source package in Groovy:
Fix Released
Bug description:
[impact]
during systemctl daemon-reload, systemd sometimes segfaults while
serializing a service.
[test case]
problem is intermittent, but the upstream bug suggests a reproducer.
Also see original description.
[regression potential]
this adjusts serialization, so any regression would likely occur
during serialization/deserialization, e.g. at daemon-reload.
[scope]
This is needed for Bionic and later.
this was introduced by commit e266c068b5597e18b2299f9c9d3ee6cf04198c41
which is included starting in v234. The commit to fix it is
e9da62b18af647bfa73807e1c7fc3bfa4bb4b2ac which is not yet included in
any release.
The PR to fix this is https://github.com/systemd/systemd/pull/15546
[other info]
there is an additional PR that further avoids the error, but has not yet been accepted, and may not be accepted as it may not be necessary.
https://github.com/systemd/systemd/pull/15370
[original description]
Proximate syslog:
Apr 18 16:26:56 gate2 rssmonitor.py[2001]: settings: Running: ip -all netns del
Apr 18 16:26:56 gate2 systemd[1]: /lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /r
un/dbus/system_bus_socket; please update the unit file accordingly.
Apr 18 16:26:56 gate2 systemd[1]: /lib/systemd/system/sssd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/sssd.pid → /run/sssd.pid; plea
se update the unit file accordingly.
Apr 18 16:26:56 gate2 systemd[1]: /lib/systemd/system/oddjobd.service:6: PIDFile= references a path below legacy directory /var/run/, updating /var/run/oddjobd.pid → /run/oddjobd.p
id; please update the unit file accordingly.
Apr 18 16:26:56 gate2 systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /r
un/fail2ban/fail2ban.pid; please update the unit file accordingly.
Apr 18 16:26:56 gate2 systemd[1]: /lib/systemd/system/certmonger.service:6: PIDFile= references a path below legacy directory /var/run/, updating /var/run/certmonger.pid → /run/cer
tmonger.pid; please update the unit file accordingly.
Apr 18 16:26:56 gate2 systemd[1]: Reloading.
Apr 18 16:26:56 gate2 kernel: [ 454.966336] systemd[1]: segfault at 50 ip 000055946ed0d6f0 sp 00007fff8409d210 error 4 in systemd[55946ecb4000+ae000]
Apr 18 16:26:56 gate2 kernel: [ 454.966354] Code: a8 48 8b 75 a0 c7 45 ac 00 00 00 00 48 8b 94 c7 a0 04 00 00 48 89 45 88 48 89 f0 48 39 d6 74 17 66 2e 0f 1f 84 00 00 00 00 00 <48
> 8b 40 50 83 45 ac 01 48 39 c2 75 f3 48 8b 45 a0 31 db 4c 8d 7d
Apr 18 16:26:56 gate2 rssmonitor.py[1213]: rssmain: Ran OK: systemctl daemon-reload
Apr 18 16:26:57 gate2 rssmonitor.py[1213]: rssmain: Running: systemctl enable rssmonitor.service
Apr 18 16:27:23 gate2 sssd[nss]: Enumeration requested but not enabled
Apr 18 16:27:24 gate2 kernel: [ 482.503042] printk: systemd: 43 output lines suppressed due to ratelimiting
Apr 18 16:27:24 gate2 systemd[1]: Caught <SEGV>, dumped core as pid 2034.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: systemd 242-7ubuntu3.7
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.8
Architecture: amd64
Date: Sat Apr 18 18:09:06 2020
InstallationDate: Installed on 2019-11-01 (169 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Release amd64 (20191017)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.3.0-46-generic root=UUID=82254a10-a9e1-4459-aba0-7876df48d9da ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.12.0-1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-cosmic
dmi.modalias: dmi:bvnSeaBIOS:bvr1.12.0-1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-cosmic:cvnQEMU:ct1:cvrpc-i440fx-cosmic:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-cosmic
dmi.sys.vendor: QEMU
mtime.conffile..etc.systemd.resolved.conf: 2020-04-18T10:41:34.662328
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1873607/+subscriptions
More information about the foundations-bugs
mailing list