Weird mount behaviour giving Input/output error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
Medium
|
Unassigned | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This only occured when I upgraded to release 81.
Basically this is my /etc/fstab
/srv/backup/
/srv/backup/
When I try to access either the encrypted or unecrypted view vI get
me@ubuntu-nas:/srv$ echo "hello world\n" > rsync/data/
-bash: rsync/data/
me@ubuntu-nas:/srv$ echo "hello world\n" > backup/
-bash: backup/
me@ubuntu-nas:/srv$ less rsync/data/
rsync/data/
me@ubuntu-nas:/srv$ less backup/
backup/
Now this is the weird bit
If I
me@ubuntu-nas:/srv$ sudo umount /srv/backup/
me@ubuntu-nas:/srv$ sudo umount /srv/backup/
It works as expected the encrypted view is encrypted, the normal view is decrypted, and file creation works properly.
me@ubuntu-nas:/srv$ sudo mount -a
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
Mounted eCryptfs
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
Mounted eCryptfs
Breaks it again.
summary: |
- Wierd mount behvaiour giving Input/output error + Weird mount behvaiour giving Input/output error |
Changed in ecryptfs: | |
status: | New → Fix Released |
Changed in ecryptfs-utils (Ubuntu): | |
status: | Confirmed → Fix Released |
Here is some lines from syslog ecryptfs/ libecryptfs_ key_mod_ gpg.so] ; rc = [-22] parse_options: eCryptfs: unrecognized option [r] ecryptfs/ libecryptfs_ key_mod_ gpg.so] ; rc = [-22]
Oct 18 17:40:28 ubuntu-nas kernel: [ 5554.465186] Valid eCryptfs headers not found in file header region or xattr region
Oct 18 17:40:28 ubuntu-nas kernel: [ 5554.465199] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
Oct 18 17:41:39 ubuntu-nas umount.ecryptfs: Failed to find key with sig [7ad5e0064d20e6c9]: Required key not available
Oct 18 17:42:04 ubuntu-nas cnid_dbd[2969]: main: Idle timeout, exiting
Oct 18 17:42:12 ubuntu-nas cnid_metad: cnid_dbd pid 2969 exited with exit code 0
Oct 18 17:44:29 ubuntu-nas mount.ecryptfs: Error initializing key module [/usr/lib/
Oct 18 17:44:31 ubuntu-nas kernel: [ 5797.692006] ecryptfs_
Oct 18 17:44:31 ubuntu-nas mount.ecryptfs: Error initializing key module [/usr/lib/
L