[Bug 2145810] Re: apport truncates UdevDb DEVLINKS value
Launchpad Bug Tracker
2145810 at bugs.launchpad.net
Sun Apr 12 00:08:17 UTC 2026
This bug was fixed in the package apport - 2.34.0-0ubuntu1
---------------
apport (2.34.0-0ubuntu1) resolute; urgency=medium
* New upstream release (LP: #2147545)
- fix broken `DEVLINKS` property after anonymizing udevdb (LP: #2145810)
* Drop patches applied upstream and refresh remaining patches
* test: check Python code in debian/package-hooks if present
* Add Pre-Depends to apport-core-dump-handler
* Update debian/watch to version 5
* Bump Standards-Version to 4.7.4
* Remove redundant Priority: optional and Rules-Requires-Root: no
* autopkgtest:
- run system UI tests separately
- split tests that need Internet access into system-tests-internet
* apport: depend on python3-systemd when using systemd-coredump (LP: #2139266)
-- Benjamin Drung <bdrung at ubuntu.com> Fri, 10 Apr 2026 00:46:39 +0200
** Changed in: apport (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2145810
Title:
apport truncates UdevDb DEVLINKS value
Status in Apport:
Fix Released
Status in apport package in Ubuntu:
Fix Released
Bug description:
Apport has support for anonymizing filesystems names when collecting
the udev database. To do so, it performs text substitutions in lines
that have "by-label":
S: disk/by-label/john-doe-rootfs
S: disk/by-label/<hidden>
Unfortunately, the text substitution has a side effect when applied to
the DEVLINKS property. It effectively truncates the property after the
first occurrence of "by-label":
E: DEVLINKS=/dev/disk/by-path/pci-0000:00:04.0-part/by-partuuid/2722bff2-40ac-47e6-8025-5b7889adb69a
/dev/disk/by-path/pci-0000:00:04.0-part1 /dev/disk/by-path/pci-0000:00:04.0-part/by-partnum/1
/dev/disk/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/pci-0000:00:04.0-part/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/virtio-pci-0000:00:04.0-part1
/dev/disk/by-path/pci-0000:00:04.0-part/by-label/john-doe-rootfs
/dev/disk/by-label/john-doe-rootfs
/dev/disk/by-diskseq/9-part1
/dev/disk/by-partuuid/2722bff2-40ac-47e6-8025-5b7889adb69a
Currently results in the following after applying the text
substitutions:
E: DEVLINKS=/dev/disk/by-path/pci-0000:00:04.0-part/by-partuuid/2722bff2-40ac-47e6-8025-5b7889adb69a
/dev/disk/by-path/pci-0000:00:04.0-part1
/dev/disk/by-path/pci-0000:00:04.0-part/by-partnum/1
/dev/disk/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/pci-0000:00:04.0-part/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/virtio-pci-0000:00:04.0-part1
/dev/disk/by-path/pci-0000:00:04.0-part/by-label/<hidden>
and I would expect the following instead:
E: DEVLINKS=/dev/disk/by-path/pci-0000:00:04.0-part/by-partuuid/2722bff2-40ac-47e6-8025-5b7889adb69a
/dev/disk/by-path/pci-0000:00:04.0-part1
/dev/disk/by-path/pci-0000:00:04.0-part/by-partnum/1
/dev/disk/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/pci-0000:00:04.0-part/by-uuid/e6134f84-e3eb-4ae4-8c43-959b9740bd3e
/dev/disk/by-path/virtio-pci-0000:00:04.0-part1
/dev/disk/by-path/pci-0000:00:04.0-part/by-label/<hidden>
/dev/disk/by-label/<hidden>
/dev/disk/by-diskseq/9-part1
/dev/disk/by-partuuid/2722bff2-40ac-47e6-8025-5b7889adb69a
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2145810/+subscriptions
More information about the foundations-bugs
mailing list