Bug 490872 - Device Auto-Mount does not work with some disk/partition/labels setups
Summary: Device Auto-Mount does not work with some disk/partition/labels setups
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-27 02:11 UTC by jroddev
Modified: 2024-09-02 13:03 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jroddev 2024-07-27 02:11:53 UTC
Referring to 'Plasma System Settings / Disks & Cameras / Device Auto-Mount' feature.

- Device Auto-Mount does not seem to work on AuroraOS (Immutable Fedora). 
- Device Auto-Mount does work on regular Fedora 40.
- Modifying /etc/fstab does auto-mount the disks on AuroraOS as expected.
- Clicking on an unmounted Drive in Dolphin successfully mounts the drive to /run/media/<disk>

I couldn't see anything obvious in journalctl but it's possible that I'm not searching for the right keywords.

This guide https://universal-blue.discourse.group/docs?topic=970 recommends mounting external disks into `/var/mnt` so the issue could be that `/run/media` doesn't exist until after auto-mount is attempted? Or is readonly? Or something like that. Just guessing here.

If I mount nvme0n1p3 which contains my home dir the only directories it contains are 
- home
- root
- var
So maybe those are the only valid auto-mount paths? 


OBSERVED RESULT
disk are not mounted after login. 

EXPECTED RESULT
disks are mounted during login

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: AuroraOS (Immutable Fedora)
KDE Plasma Version: 6.1.3
KDE Frameworks Version:  6.4.0
Qt Version:  6.7.2
Comment 1 Timothée Ravier 2024-09-02 09:51:14 UTC
I can semi reproduce this issue on Fedora Kinoite 40. It looks like it depends on how the device is formatted / set up / the labels on the partitions are set?

I initially tried with a disk and that did not work. I then plugged a USB key with a live ISO on it and that did work.