https://bugs.kde.org/show_bug.cgi?id=524601
Bug ID: 524601
Summary: KDE has race condition when using udisks2 with
kded_device_automounterrc
Classification: I don't know
Product: kde
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I am using Kubuntu 26.04 and since I installed it, I have had to mount a
partition manually from time to time. I have 3 partitions that need to be
mounts out of 5 in total. out of the 3 that always need to be mounted,
sometimes 1 was not auto mounted after a reboot, another time 2 of them, in
some cases all 3, but it simply randomly selected them to not mount.
It took me a while and several copies of the kded_device_automounterrc to
notice that for the 3 that I wanted to always mount, it would work the first
time, then suddenly after 2 or 3 reboots it would single out 1, 2 or all 3 nvme
devices (They are all SN850x of different sizes) and not auto mount. I would
require to open Dolphin and click on the device to manually mount it.
Today I wanted to see if there was some race condition going on so I backed up
the working config file kded_device_automounterrc and rebooted. After rebooting
8 times, each time created a different config file and each time, in a random
way, it would set one or two of them to not mount. I would not know which one
would fail to show as mounted until the next reboot because it was simply
random.
So I went to fstab and manually added them all in there. It now works.
Currently for example they were being mounted at /run/media/luis/steam for
example, for the steam nvme. Sometimes it would work and mount, sometimes it
would not.
For the fstab I am setting them up for /media/steam but just wanted the kde
developers to know there is some race condition going on with the whole udisks2
deciding after the session starts which ones should be mounted or not.
Apart from that do note that I did use the Device Auto Mount gui settings, but
because it was randomly happen, it would also randomly uncheck the disks in the
gui, where I knew I had previously checked them. So even if I checked the
devices, it would uncheck them after rebooting randomly.
--
You are receiving this mail because:
You are watching all bug changes.