loading lvm2 module crashes: udisks_module_lvm2_new: assertion 'UDISKS_IS_DAEMON (daemon)' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks2 (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Mantic |
Fix Released
|
High
|
Martin Pitt |
Bug Description
[Impact]
Trying to load the lvm2 module crashes udisks immediately:
busctl call org.freedesktop
udisksd[5709]: cannot register existing type 'UDisksDaemon'
udisksd[5709]: g_once_init_leave: assertion 'result != 0' failed
udisksd[5709]: udisks_
systemd[1]: Started systemd-
This breaks at least cockpit, and possibly other consumers of udisks (GNOME Disks perhaps?). This is a regression in mantic, earlier releases were fine.
[Test Plan]
The above reproducer confirms the check. The busctl command should succeed, and afterwards `systemctl status udisks2` should still be "active (running)" instead of "failed".
autopkgtests should take care of regression testing, and they were happy with the noble update. I'm also happy to run cockpit's integration tests against the updated version; it exercises udisks2 thoroughly (and we find lots of bugs with it). At the moment we don't test 23.10 mantic at all, because it is so broken (https:/
[Where problems could occur]
Changing the linker options is quite invasive. The autopkgtests cover the runtime functionality though, and as modules are currently 100% broken they can't possibly get any worse.
[Other info]
Fix committed to Debian: https:/
Noble debdiff: http://
ProblemType: Crash
Architecture: amd64
Date: Wed Oct 25 12:13:14 2023
DistroRelease: Ubuntu 23.10
ExecutablePath: /usr/libexec/
Package: udisks2 2.10.1-1ubuntu1
Changed in udisks2 (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in udisks2 (Ubuntu Mantic): | |
importance: | Undecided → High |
description: | updated |
Changed in udisks2 (Ubuntu Mantic): | |
status: | New → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
description: | updated |
description: | updated |
description: | updated |
Confirmed on current noble, same udisks2 version.