[Bug 1564976] Re: systemd-udevd crashed with SIGSEGV with rules file appending large number of tags
Launchpad Bug Tracker
1564976 at bugs.launchpad.net
Fri Apr 8 10:11:33 UTC 2016
This bug was fixed in the package systemd - 229-4ubuntu1
---------------
systemd (229-4ubuntu1) xenial; urgency=medium
* Merge with Debian unstable. Remaining Ubuntu changes:
- Hack to support system-image read-only /etc, and modify files in
/etc/writable/ instead.
Upgrade fixes, keep until 16.04 LTS release:
- systemd Conflicts/Replaces/Provides systemd-services.
- Remove obsolete systemd-logind upstart job.
- Clean up obsolete /etc/udev/rules.d/README.
- systemd.postinst: Migrate mountall specific fstab options to standard
util-linux "nofail" option.
- systemctl: Don't forward telinit u to upstart. This works around
upstart's Restart() always reexec'ing /sbin/init on Restart(), even if
that changes to point to systemd during the upgrade. This avoids running
systemd during a dist-upgrade. (LP: #1430479)
- Provide shutdown fallback for upstart. (LP: #1370329)
- Break lvm (<< 2.02.133-1ubuntu1) and remove our dummy /etc/init.d/lvm2
on upgrades, as it's shipped by lvm2 now.
- Make udev break on mdadm << 3.3-2ubuntu3, as udev's init script dropped
the "Provides: raid-mdadm".
- Clean up /var/log/udev on upgrade (which is written under upstart, but
not under systemd). (LP: #1537211)
- Migrate existing s390x network configuration to new names. (LP: #1526808)
- systemd.postinst: Bump Version comparison for migrating the UTC setting
from /etc/default/rcS to /etc/adjtime, to run it for upgrades to 16.04.
- VMWare BIOS reports implausibly high onboard numbers. This got fixed in
upstream commit 6c1e69f9. Migrate names in ifupdown accordingly.
(LP: #1550539)
- udev: Don't kill peer processes if we don't run in a cgroup. This happens
when running under/upgrading from upstart. udevd and everything else run
in the root hierarchy on all controllers then, and the alleged cleanup of
"our" cgroup becomes a system-wide killing spree. (LP: #1555237)
systemd (229-4) unstable; urgency=medium
* Fix assertion crash when processing a (broken) device without a sysfs
path. (Closes: #819290, LP: #1560695)
* Fix crash when shutdown is issued from a non-tty. (LP: #1553040)
* networkd: Stay running while any non-loopback interface is up.
(Closes: #819414)
* Fix reading uint32 D-Bus properties on big-endian.
* Fix crash if an udev device has many tags or devlinks. (LP: #1564976)
* systemctl, loginctl, etc.: Don't start polkit agent when running as root.
(LP: #1565617)
* keymap: Add Add HP ZBook (LP: #1535219) and HP ProBook 440 G3.
* systemd.resource-control.5: Fix links to cgroup documentation on
kernel.org. (Closes: #819970)
* Install test-udev into libudev-dev, so that we have it available for
autopkgtests.
* Add "udev" autopkgtest for running the upstream test/udev-test.pl.
-- Martin Pitt <martin.pitt at ubuntu.com> Thu, 07 Apr 2016 09:53:25
+0200
** Changed in: systemd (Ubuntu)
Status: Fix Committed => Fix Released
--
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/1564976
Title:
systemd-udevd crashed with SIGSEGV with rules file appending large
number of tags
Status in systemd package in Ubuntu:
Fix Released
Bug description:
I was doing some testing and found that if I create /etc/udev/rules.d/70-test.rules with:
KERNEL=="kmsg", TAG+="test.some-test-name.1"
KERNEL=="kmsg", TAG+="test.some-test-name.2"
...
KERNEL=="kmsg", TAG+="test.some-test-name.10000"
Then run: 'sudo udevadm trigger', I could reliably trigger this crash.
for i in `seq 10000`; do printf 'KERNEL=="kmsg", TAG+="test%i"\n' $i; done > /etc/udev/rules.d/70-manytags.rules
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: udev 229-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CrashCounter: 1
CustomUdevRuleFiles: 70-snappy-baz.norf.rules 70-snappy-hello-world.rules 70-snappy_hwassign_hello-world.rules 70-snappy-foo.bar.rules
Date: Fri Apr 1 10:48:50 2016
ExecutablePath: /lib/systemd/systemd-udevd
InstallationDate: Installed on 2015-06-13 (292 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Dell Inc. XPS 13 9343
ProcCmdline: /lib/systemd/systemd-udevd
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-16-generic.efi.signed root=UUID=7bc4dcd2-0bd8-4e42-b8b7-9f1ed6b8a3e9 ro libata.force=noncq kaslr quiet splash vt.handoff=7
Signal: 11
SourcePackage: systemd
StacktraceTop:
?? ()
?? ()
?? ()
?? ()
?? ()
Title: systemd-udevd crashed with SIGSEGV
UpgradeStatus: Upgraded to xenial on 2016-01-12 (80 days ago)
UserGroups:
dmi.bios.date: 11/11/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0310JH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/11/2015:svnDellInc.:pnXPS139343:pvr:rvnDellInc.:rn0310JH:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: XPS 13 9343
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1564976/+subscriptions
More information about the foundations-bugs
mailing list