Open cyberpunkrocker-zero opened 1 month ago
Hi, I don't think this is our fault -- we support mounting only for block devices, not for network devices (and even for block devices we don't mount anything automatically, just when explicitly asked by the DE).
The mounting here is done by systemd and not udisksd so it looks like it's from a mount unit generated from fstab.
Ok, thanks for the info and for your patience. I'll go bothering the systemd people, then :)
EVERY time this is run, the whole desktop freezes for a few seconds!!!
Sounds like a bad programming practice, waiting for I/O synchronously. Unrelated to UDisks, your desktop needs to be fixed.
Anyway, the 10 minutes interval equals to UDisks housekeeping interval. The state cleanup thread is checking mounts and related block devices. There might be a chance that some of the calls will trigger autofs mount.
If you kill/mask udisksd
, does the issue go away?
Arch Linux recently moved to udisks2. Now, I have a separate server hosting a Samba service, which server is currently down for hardware reasons. Udisks is periodically, in every 10 minutes or so, trying to mount the unavailable smb share, as seen from the journal:
I suppose this is as it should work, but... the real issue with this is that EVERY time this is run, the whole desktop freezes for a few seconds!!! I was running
journalctl -f
on a terminal to verify the simultaneousity of the mount/freeze events. This kind of thing shouldn't be happening!The process
1942 (awesome)
mentioned in the above excerpt is my window manager's (Awesome WM) process. I don't understand why it would be the triggering process, and why udisks is allowed to freeze it?I had to temporarily comment out the smb share entry in /etc/fstab to make desktop to run smoothly again.
Arch Linux linux-lts-6.6.56 udisks2-2.10.1 Awesome WM running on X server