Public bug reported: Binary package hint: ecryptfs-utils
Another stupid use case: if you insert a key in the keyring using the signature from ~/.ecryptfs/Private.sig as description, and something wrong as the passprase, you don't get a meaningful message saying that the passphrase is not the right one. Instead, you get an error from mount. I know I shouldn't be doing that, but getting clear error messages always helps debugging. $ keyctl clear @u $ keyctl add user [signature] stuff @u 896838280 $ mount.ecryptfs_private mount: Invalid argument dmesg shows weird errors, maybe meaning something else is going wrong? [ 3676.632918] ecryptfs_verify_version: Major version number mismatch. Expected [0]; got [101] [ 3676.632926] Data structure version mismatch. Userspace tools must match eCryptfs kernel module with major version [0] and minor version [4] [ 3676.632930] Could not find valid key in user session keyring for sig specified in mount option: [signature] [ 3676.632934] One or more global auth toks could not properly register; rc = [-22] [ 3676.632937] Error parsing options; rc = [-22] ProblemType: Bug Architecture: i386 Date: Wed Dec 9 11:22:27 2009 DistroRelease: Ubuntu 9.10 Package: ecryptfs-utils 81-0ubuntu3 ProcEnviron: LANGUAGE=fr_FR.UTF-8 PATH=(custom, user) LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: ecryptfs-utils Uname: Linux 2.6.32-020632rc8-generic i686 ** Affects: ecryptfs-utils (Ubuntu) Importance: Low Status: New ** Tags: apport-bug i386 -- mount.ecryptfs_private fails with: "mount: Invalid argument" when wrong passphrase inserted into the keyring https://bugs.launchpad.net/bugs/494412 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs