udisks2 daemon fails to start

Bug #2031096 reported by Paul Dooley
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
udisks
New
Unknown
udisks2 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

udisks2 2.10.0 fails to start in Ubuntu Mantic (23.10)

Error status is:

Aug 11 10:36:37 nodename systemd[1]: Starting udisks2.service - Disk Manager...
Aug 11 10:36:37 nodename udisksd[232247]: udisks daemon version 2.10.0 starting
Aug 11 10:36:38 nodename udisksd[232247]: Error getting 'loop28' information: Failed to open device loop28: No such file o>
Aug 11 10:36:38 nodename udisksd[232247]: Error getting 'loop28' information: Failed to open device loop28: No such file o>
Aug 11 10:36:38 nodename udisksd[232247]: *** stack smashing detected ***: terminated
Aug 11 10:36:38 nodename systemd[1]: udisks2.service: Main process exited, code=dumped, status=6/ABRT
Aug 11 10:36:38 nodename systemd[1]: udisks2.service: Failed with result 'core-dump'.
Aug 11 10:36:38 nodename systemd[1]: Failed to start udisks2.service - Disk Manager.

This bug seems to refer: https://github.com/storaged-project/udisks/issues/1139

Changed in udisks:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udisks2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Smith (cvpsmith) wrote :

Same. This is on a machine with several nvme and sata SSDs. Oddly enough, I upgraded my laptop (which has a single nvme SSD) and have had no problems.

journalctl -xeu udisks2.service output:

Sep 01 03:03:59 case udisksd[6200]: udisks daemon version 2.10.0 starting
Sep 01 03:03:59 case udisksd[6200]: *** stack smashing detected ***: terminated
Sep 01 03:03:59 case systemd[1]: udisks2.service: Main process exited, code=killed, status=6/ABRT
Sep 01 03:03:59 case systemd[1]: udisks2.service: Failed with result 'signal'.
Sep 01 03:03:59 case systemd[1]: Failed to start udisks2.service - Disk Manager.
cvpsmith@case:~$ journalctl -xeu udisks2.service
Sep 01 03:03:59 case udisksd[6200]: *** stack smashing detected ***: terminated
Sep 01 03:03:59 case systemd[1]: udisks2.service: Main process exited, code=killed, status=6/ABRT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit udisks2.service has exited.
░░
░░ The process' exit code is 'killed' and its exit status is 6.
Sep 01 03:03:59 case systemd[1]: udisks2.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit udisks2.service has entered the 'failed' state with result 'signal'.
Sep 01 03:03:59 case systemd[1]: Failed to start udisks2.service - Disk Manager.
░░ Subject: A start job for unit udisks2.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit udisks2.service has finished with a failure.
░░
░░ The job identifier is 3124 and the job result is failed.

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

I'm getting the same stack smashing fault with udiskd on my Dell XPS 15 7590 with an SSD drive. This fault prevents any external storage from mounting which affects my backup HDD and all USB pen drives.

Revision history for this message
Florin (sunre) wrote :

udisks2 crashes and fails to start udisks2.service after upgrading from 23.04 to 23.10. I did this upgrade twice on the same machine (with a clean install of 23.04) and it fails all the same.

Initially udisks2.service was crashing with a differ error:

Nov 03 udisksd[6369]: failed to load module swap: /lib/x86_64-linux-gnu/libbd_swap.so.3: invalid ELF header
Nov 03 udisksd[6369]: Failed to load the 'swap' libblockdev plugin

so I reinstalled udisks2 and now I get the error reported here.

Nov 04 udisksd[3130]: udisks daemon version 2.10.1 starting
Nov 04 udisksd[3130]: *** stack smashing detected ***: terminated
Nov 04 systemd[1]: udisks2.service: Main process exited, code=dumped, status=6/ABRT
Nov 04 systemd[1]: udisks2.service: Failed with result 'core-dump'.
Nov 04 systemd[1]: Failed to start udisks2.service - Disk Manager.

Weird thing is that sometimes it does start properly and will mount external disks but I can't figure out why.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Run these commands:
    journalctl -b0 > journal.txt
    journalctl -b-1 > prevjournal.txt
and attach the resulting text files here.

2. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

3. If step 2 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in udisks2 (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Paul Dooley (pilotpaul) wrote :

Bug no longer present in release version of 23.10.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Great, let's close it then, thanks

Changed in udisks2 (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
MF (mmuruev) wrote :

Its not fixed. Maybe I still have with with live image for Ubuntu 23.10 and Kubuntu 23.10 in live and installed!!! It block system completely

Revision history for this message
MF (mmuruev) wrote :
Revision history for this message
MF (mmuruev) wrote :

$ service udisks2 status
× udisks2.service - Disk Manager
     Loaded: loaded (/lib/systemd/system/udisks2.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2023-11-06 12:58:26 EET; 12s ago
       Docs: man:udisks(8)
    Process: 8143 ExecStart=/usr/libexec/udisks2/udisksd (code=exited, status=127)
   Main PID: 8143 (code=exited, status=127)
        CPU: 6ms

nov 06 12:58:26 mf-XPS-15-7590 systemd[1]: Starting udisks2.service - Disk Manager...
nov 06 12:58:26 mf-XPS-15-7590 udisksd[8143]: /usr/libexec/udisks2/udisksd: symbol lookup error: /usr/libexec/udisks2/udisksd: undefined symbol: udisks_object_peek_partition_table
nov 06 12:58:26 mf-XPS-15-7590 systemd[1]: udisks2.service: Main process exited, code=exited, status=127/n/a
nov 06 12:58:26 mf-XPS-15-7590 systemd[1]: udisks2.service: Failed with result 'exit-code'.
nov 06 12:58:26 mf-XPS-15-7590 systemd[1]: Failed to start udisks2.service - Disk Manager.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@MF, the issue you are having is different

 /usr/libexec/udisks2/udisksd: symbol lookup error: /usr/libexec/udisks2/udisksd: undefined symbol: udisks_object_peek_partition_table

suggests you have a local/outdated libudisks2 installed probably

see what
$ ldd -r /usr/libexec/udisks2/udisksd
tells you, probably an /usr/local version

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

This is still a problem for me.

Udisksd crashes in the installer when booting from the latest ISO on USB, popping up an error message. Performing a fresh install still works.

On starting the newly installed system I get the stack smashing fault for udisksd. I get an internal error notification saying that "udisksd assert failure: malloc invalid size (unsorted)"

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

Output of journalctl -b0 > journal.txt

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

Can't run ubuntu-bug /var/crash/_usr_libexec_udisks2_udisksd.0.crash. Failed with:
Failed to get unit file state for whoopsie.path: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)

I've been experiencing wider issues with systemd a lot. I'll try rebooting and run that again.

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

whoopsie id 60b13c6e12dee1beadc3425b95424ebfdeb3cbfbe1fb9d506bc8384236c8261f8d10c14e1f60911f06cb2afb39156dbcaffc7613ec5ed98d558e73cf214aefe4

Revision history for this message
David White (cppege-david-9ei9ny) wrote :

Might be related to https://github.com/storaged-project/udisks/issues/1198
Issues with nvme affecting udisks 2.10.1

Revision history for this message
Sebastien Bacher (seb128) wrote (last edit ):

If people still have an issue with the current version they should report a new issue using ubuntu-bug rather than adding content to a slightly different issue closed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.