https://bugs.kde.org/show_bug.cgi?id=456571

            Bug ID: 456571
           Summary: Plasma stopped mounting my attached device On Login
           Product: frameworks-solid
           Version: 5.94.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: lu...@kde.org
          Reporter: skierp...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
When I installed Fedora 36 KDE spin, instead of adding my Windows NTFS drive to
/etc/fstab, in System Settings > Removable Devices > Attached Devices I checked
"On Login" for that drive (as I recall, to enable the per-drive checkboxes I
first had to uncheck "All Known Devices - On Login" and "All Known Devices - On
Attach"). After this, upon logging into Plasma, I got a prompt (as I recall
"Authentical Required - PolicyKit Authentication is required to mount...") and
Plasma/KDE/Solid mounts the drive. This worked, until a Fedora package update
sometime around a week or so ago. Now Plasma never mounts my Windows drive on
reboot or logging out and back in. The checkmark's tooltip is quite specific
"This device will be automatically mounted at login", but it ain't happening.

STEPS TO REPRODUCE
1.  Have an attached drive not in /etc/fstab.
2.  In System Settings > Removable Devices > Attached Devices, check "On Login"
for that drive 
3. Reboot.

OBSERVED RESULT
On latest Fedora/KDE the drive isn't mounted. There's no prompt for password.

EXPECTED RESULT
At some point in booting into Plasma, the drive is mounted.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)

KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3 on Wayland
Kernel Version: 5.18.10-200.fc36.x86_64 (64-bit)

ADDITIONAL INFORMATION
One workaround to manually mount the partition is to enter in a terminal like
Konsole the command line `udisksctl mount -b /dev/sda3` where /dev/sda3 is the
device of the attached drive.

I didn't find anything relevant in journalctl. Is there any relevant logging to
turn on? I think Plasma - Solid - kded - udisks talk to each other through
DBUS.

KDE's defaults for automount behavior changed recently. The merge
ttps://invent.kde.org/plasma/plasma-desktop/-/merge_requests/974 in response to
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/549#note_436564
seem relevant. FWIW, my ~/.config/kded_device_automounterrc contains:

[Devices][/org/freedesktop/UDisks2/block_devices/sda3]
EverMounted=true
ForceLoginAutomount=true
Icon=drive-harddisk
LastNameSeen=Windows
LastSeenMounted=true

...

[General]
AutomountEnabled=true
AutomountOnLogin=false
AutomountOnPlugin=false

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to