Red Hat Bugzilla – Bug 492347
"mount -o remount" does not work with crypto devices mounted by mount.crypt
Last modified: 2014-03-16 23:18:03 EDT
Description of problem:
pam_mount now writes the following in /etc/mtab:
/dev/sdb1 /home/notting crypt defaults 0 0
This makes 'mount -o <some option>,remount /home/notting' fail - it tries to operate on /dev/sdb1 (which fails). If you pass the actual device-mapper device, that also fails due to that device not being in fstab or mtab.
It can be made to work by passing "mount -i ...", so that it doesn't actually try to call mount.crypt for the remount.
Version-Release number of selected component (if applicable):
I guess the "solution" to the problem is to check for "-o remount" in mount.crypt and only perform the remount of the device-mapper device in this case.
Meh, moving items between trackers changes the URL :-/
This should be fixed in iirc pam_mount-1.22-1.fc11
Btw. what did you need to remount your home directory for?
Was playing with noatime/relatime.