I'm seeing the same kind of error in my dmesg here, with ecryptfs-utils
81-0ubuntu3 in Karmic. If you need debugging, please just ask.

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- Weird mount behvaiour giving Input/output error
+ Weird mount behaviour giving Input/output error

-- 
Weird mount behaviour giving Input/output error
https://bugs.launchpad.net/bugs/454800
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: New
Status in “ecryptfs-utils” package in Ubuntu: Confirmed

Bug description:
This only occured when I upgraded to release 81.

Basically this is my /etc/fstab

/srv/backup/originals /srv/rsync/data/originals ecryptfs 
r,key=passphrase:passfile=/root/ecryptfs_password,ecryptfs_sig=7ad5e0064d20e6c9,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough=no,ecryptfs_enable_filename_crypto=no,ecryptfs_unlink_sigs,ecryptfs_encrypted_view
 0 0
/srv/backup/originals /srv/backup/originals ecryptfs 
rw,key=passphrase:passfile=/root/ecryptfs_password,ecryptfs_sig=7ad5e0064d20e6c9,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough=no,ecryptfs_enable_filename_crypto=no,ecryptfs_unlink_sigs
 0 0

When I try to access either the encrypted or unecrypted view vI get
m...@ubuntu-nas:/srv$ echo "hello world\n" > rsync/data/originals/hello.txt
-bash: rsync/data/originals/hello.txt: Input/output error
m...@ubuntu-nas:/srv$ echo "hello world\n" > backup/originals/hello.txt
-bash: backup/originals/hello.txt: Input/output error

m...@ubuntu-nas:/srv$ less rsync/data/originals/documents/codes/code.txt 
rsync/data/originals/documents/codes/code.txt: Input/output error
m...@ubuntu-nas:/srv$ less backup/originals/documents/codes/code.txt 
backup/originals/documents/codes/code.txt: Input/output error

Now this is the weird bit
If I 
m...@ubuntu-nas:/srv$ sudo umount /srv/backup/originals
m...@ubuntu-nas:/srv$ sudo umount /srv/backup/originals

It works as expected the encrypted view is encrypted, the normal view is 
decrypted, and file creation works properly.

m...@ubuntu-nas:/srv$ sudo mount -a
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_encrypted_view
  ecryptfs_key_bytes=16
  ecryptfs_cipher=aes
  ecryptfs_sig=7ad5e0064d20e6c9
Mounted eCryptfs
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_key_bytes=16
  ecryptfs_cipher=aes
  ecryptfs_sig=7ad5e0064d20e6c9
Mounted eCryptfs

Breaks it again.



_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : ecryptfs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to