Fails silently to mount on WebDAV filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
New
|
Undecided
|
Unassigned |
Bug Description
An ecrpytfs mount fails without any message when I attempt to stack it on a WebDAV filesystem. This problem was also noted at the expired question at https:/
First my fstab entry:
http://
The attempted mount sequence. All appears good until the ls fails with 'Invalid argument' regarding the encrypted directory.
tcl@gilbereth:~$ mount 4shared/
/sbin/mount.davfs: warning: the server does not support locks
tcl@gilbereth:~$ sudo mount -t ecryptfs ~/4shared/ ~/vvv/
[sudo] password for tcl:
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
2) blowfish: blocksize = 16; min keysize = 16; max keysize = 56 (not loaded)
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
4) twofish: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
5) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
6) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]:
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]:
Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]:
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
WARNING: Based on the contents of [/root/
3) 24
Selection [16]:
Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]:
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
WARNING: Based on the contents of [/root/
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.
Would you like to proceed with the mount (yes/no)? : yes
Would you like to append sig [83000bfe5456fb3d] to
[/root/
in order to avoid this warning in the future (yes/no)? : no
Not adding sig to user sig cache file; continuing with mount.
Mounted eCryptfs
tcl@gilbereth:~$ cd vvv
tcl@gilbereth:
ls: cannot open directory .: Invalid argument
tcl@gilbereth:
tcl@gilbereth:
fred lost+found
tcl@gilbereth:
I guess it might be helpful to include syslog...
root@gilbereth: /var/log# ls ~tcl/4shared/ /var/log# ls ~tcl/vvv /var/log# tail -2 /var/log/syslog
fred lost+found uuuu
root@gilbereth:
ls: cannot open directory /home/tcl/vvv: Invalid argument
root@gilbereth:
Mar 25 20:53:30 gilbereth kernel: [670447.886305] Error opening lower persistent file for lower_dentry [0xf6c20aa0] and lower_mnt [0xf5e2a900]; rc = [-22]
Mar 25 20:53:30 gilbereth kernel: [670447.886315] ecryptfs_open: Error attempting to initialize the persistent file for the dentry with name [/]; rc = [-22]