This bug was fixed in the package udisks2 - 2.10.1-1ubuntu1.1
---
udisks2 (2.10.1-1ubuntu1.1) mantic-proposed; urgency=medium
* Don't build with -Wl,-Bsymbolic-functions. It breaks module loading, as
it confuses GObject's type loading cache: "cannot register existing type
The autopkgtests for udisks2 did run for mantic they are just not
appearing in the excuses report for unknown reasons.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/2040488
Title:
Hello Martin, or anyone else affected,
Accepted udisks2 into mantic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/udisks2/2.10.1-1ubuntu1.1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
Exact same fix uploaded to -proposed SRU review queue.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/2040488
Title:
loading lvm2 module crashes: udisks_module_lvm2_new: assertion
** Description changed:
[Impact]
Trying to load the lvm2 module crashes udisks immediately:
busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/Manager
org.freedesktop.UDisks2.Manager EnableModule sb lvm2 true
udisksd[5709]: cannot register existing type
This bug was fixed in the package udisks2 - 2.10.1-1ubuntu2
---
udisks2 (2.10.1-1ubuntu2) noble; urgency=medium
* Don't build with -Wl,-Bsymbolic-functions. It breaks module loading, as
it confuses GObject's type loading cache: "cannot register existing type
** Description changed:
- I tried to do this with `apport-cli
- /var/crash/_usr_libexec_udisks2_udisksd.0.crash`, but 's'ending doesn't
- do anything obvious. I run this from a cloud image over ssh, I really
- don't have any GUI. So filing this manually.
+ [Impact]
Trying to load the lvm2
** Changed in: udisks2 (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
** Changed in: udisks2 (Ubuntu)
Status: New => Fix Committed
** Changed in: udisks2 (Ubuntu)
Importance: Undecided => High
** Changed in: udisks2 (Ubuntu Mantic)
Importance: Undecided => High
--
It's not related to the configure arguments, but to the linker flags.
The Ubuntu package build sets
LDFLAGS="-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects
-Wl,-z,relro -Wl,-z,now"
while Debian uses
LDFLAGS="-Wl,-z,relro -Wl,-z,now"
lto seems to work, but dropping the
Interesting! when I check out the source package, and build with the
above patch and like this:
./configure CFLAGS="-g -O0" --disable-gtk-docs --enable-lvm2
make -j4
sudo src/udisksd -rd --force-load-modules
then it loads the module just fine:
(udisksd:17050): udisks-WARNING **:
Comparing with Debian testing: Running
# /usr/libexec/udisks2/udisksd --debug --force-load-modules
udisks-Message: 10:34:44.696: udisks daemon version 2.10.1 starting
udisks-Message: 10:34:44.724: Acquired the name org.freedesktop.UDisks2 on the
system message bus
udisks-Message: 10:34:44.729:
It's a bit easier to investigate with
/usr/libexec/udisks2/udisksd --debug --force-load-modules
There I've1 also seen it fail on the btrfs module, so it's not specific
to the LVM one.
It also happens with rebuilding the udisks source package (so not just
changed ABI)
I tried building
Confirmed on current noble, same udisks2 version.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/2040488
Title:
loading lvm2 module crashes: udisks_module_lvm2_new: assertion
13 matches
Mail list logo