You are not logged in.

#1 2023-09-25 09:16:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,820

[Solved] udisks 2.10.1-1 breaks krusader

On september 20 my regular pacman -Syu upgraded udisks2 from 2.9.4-4 to 2.10.1-1 .

After that krusader no longer starts but hangs indefinitely.

$ krusader
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "No jobs" msgid_plural: "" msgctxt: ""
10:24:56.455-debug default unknown@0 # System icon theme: "oxygen"
10:25:46.492-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NoReply" 
 "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
10:25:46.811-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:25:46.812-warning default unknown@0 # virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
10:25:46.900-warning kf.i18n unknown@0 # Trying to convert empty KLocalizedString to QString.
10:26:12.056-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:26:37.077-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:27:02.103-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:27:27.119-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:27:52.145-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:28:17.170-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:28:42.196-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:29:07.221-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
10:29:32.249-warning kf.solid.backends.udisks2 unknown@0 # Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Failed to activate service 'org.freedesktop.UDisks2': timed out (service_start_timeout=25000ms)"
^C
$ 

Downgrading udisks2 to 2.9.4-4 with pacman -U solved the issue. udisks2 is now in my Ignore-list in pacman.conf, but this is only a temporary solution .

output of krusader starting with udisks2 2.9.4-4

$ krusader
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "No jobs" msgid_plural: "" msgctxt: ""
10:33:18.154-debug default unknown@0 # System icon theme: "oxygen"
10:33:18.759-warning default unknown@0 # virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
10:33:18.822-warning kf.i18n unknown@0 # Trying to convert empty KLocalizedString to QString.
10:33:18.945-warning default unknown@0 # QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.37'
$

udisks2 is an indirect dependency for krusader through kparts > kio > solid > udisks2 .

The Upower error from starting krusader with udisks2-2.9.4-4 is because of

NoExtract   = usr/share/dbus-1/system-services/org.freedesktop.UPower.service

in my pacman.conf .

<Sidenote>
I don't need or want upower on my system but the solid package has a hard dependency on it and I do need that package for several of my applications.
As far as I know dbus doesn't have a mechanism to allow users/admin  to block systemd services started on demand.
I had the option to build & maintain solid without upower support myself or use NoExtract to block upower from getting started without my permission .

Last edited by Lone_Wolf (2023-09-25 10:37:04)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#2 2023-09-25 09:48:57

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 646

Re: [Solved] udisks 2.10.1-1 breaks krusader

Do a `systemctl status udisks2.service` and you may find that udiskd has failed at startup. If so then see the bug I reported and the thread here.

PS: if you downgrade udisks2 to 2.9.4-4 then you also have to downgrade libblockdev to 2.28-4.

Last edited by bulletmark (2023-09-25 09:50:53)

Offline

#3 2023-09-25 10:35:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,820

Re: [Solved] udisks 2.10.1-1 breaks krusader

It seems udisks2 latest version gained a hard dependency on some librairies in libblockdev .

When starting udisks2 service it reported

sep 25 11:59:13 silverbolt udisksd[13632]: /usr/lib/udisks2/udisksd: error while loading shared libraries: libblockdev.so.3: cannot open shared object file: No such file or directory

I do use my own local build of libblockdev (It supporst many librairies I don't need and some its depeends influence initramfs) and hadn't rebuild it yet.
After doing a rebuild and restarting udisks2 , I got another message

sep 25 12:06:40 silverbolt udisksd[29764]: udisks daemon version 2.10.1 starting
sep 25 12:06:40 silverbolt udisksd[29764]: failed to load module crypto: libbd_crypto.so.3: cannot open shared object file: No such file or directory
sep 25 12:06:40 silverbolt udisksd[29764]: Failed to load the 'crypto' libblockdev plugin
sep 25 12:06:40 silverbolt kernel: traps: udisksd[29764] trap int3 ip:7ffbd19e9553 sp:7ffc87dd10e0 error:0 in libglib-2.0.so.0.7800.0[7ffbd19a0000+9e000]

crypto is one of the things I disable in my local libblockdev. until now udisks2 didn't fail on it.

swtiching to repo libblockdev & udisks2 2.10.1 solved the issue and added several new dependencies to my system.


solid is the only package on my system that requires upower & udisks2 and libblockdev is only required by udisks2 .
Guess I do have to look into buiding solid myself without upower & udisks2 and see if the applications I do want still work.

Thanks for the help, bulletmark. Marking as solved.

Last edited by Lone_Wolf (2023-09-25 10:36:43)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2023-09-25 10:50:17

loqs
Member
Registered: 2014-03-06
Posts: 17,122

Re: [Solved] udisks 2.10.1-1 breaks krusader

The minimum plugins set required by udisks includes the crypto_plugin [1].

[1] https://github.com/storaged-project/udi … mon.c#L334

Offline

#5 2023-09-26 09:14:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,820

Re: [Solved] udisks 2.10.1-1 breaks krusader

Thanks, loqs .

Knowing that allowed me to adjust my local build to only build the bare minimum needed by udisks2 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB