| Summary: | Hidden tmp device defined in /etc/fstab re-appears in places panel after reboot | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Mathias <mathias> |
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | dolphin-bugs-null, kdedev |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 24.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Mathias
2024-10-18 08:01:27 UTC
Can you please share the line defining this folder in your /etc/fstab? (In reply to TraceyC from comment #1) > Can you please share the line defining this folder in your /etc/fstab? Happily: /dev/mapper/crypt-tmp /tmp ext4 noatime 0 0 Thanks for the information I tried to replicate this on Solus (Plasma 6.2.3 / Dolphin 24.08.2), and git-master Plasma / Dolphin I was not able to replicate, testing with a non-encrypted nfs mount defined in /etc/fstab After hiding the mount and rebooting, I do not see it under "Remote" I have to right click Remote and check "Show All Entries" to see the mount again I'll leave this open so that someone more versed with how dm-crypt volumes are handled can chime in Thanks for looking into this. Just an addition: There are also other encrypted partitions on this system which Dolphin successfully remembers to hide from the pane. The probably only difference between those and the crypt-tmp device where dolphin forgets the 'hidden' state is that the crypt-tmp partition is freshly initiated on every reboot: encrypted with a random key, and then a fresh filesystem installed in it. I do not know how Dolphin identifies devices, but it seems that not by partition name (/dev/mapper/crypt-tmp) or mount point (/tmp), because these stay the same.
The section from /etc/conf.d/dmcrypt:
target=crypt-tmp
source=PARTUUID="XXXXXXXX-01"
key='/dev/urandom'
pre_mount='/sbin/mkfs.ext4 ${dev}'
post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}'
|