Public bug reported:

Hi,

I am using several ecryptfs mounts with ecryptfs-add-passphrase and
mount.ecryptfs_private, configured in ~/.ecryptfs/xxx.conf and
~/.ecryptfs/xxx.sig, which was working well for years up to 17.04.

With 17.10 I can't mount these file systems anymore.

ecryptfs-add-passphrase says

Inserted auth tok with sig [....] into the user session keyring
 
with the correct sig (!). 


Trying to mount with mount.ecryptfs_private then says 
mount: No such file or directory

although all directories present and correct.

the Kernel then says (dmesg):


[10149.247972] Could not find key with description: [...]
[10149.247994] process_request_key_err: No key
[10149.248000] Could not find valid key in user session keyring for sig 
specified in mount option: [...]
[10149.248012] One or more global auth toks could not properly register; rc = 
[-2]
[10149.248019] Error parsing options; rc = [-2]


with exactly the same sig! 


So although ecryptfs-add-passphrase claimed to have added the key to the 
keyring, the kernel complains that it could not find such a key.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ecryptfs-utils 111-0ubuntu5
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: LXDE
Date: Tue Oct 24 15:31:45 2017
InstallationDate: Installed on 2017-10-24 (0 days ago)
InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
SourcePackage: ecryptfs-utils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ecryptfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726873

Title:
  mount.ecryptfs_private can't mount in 17.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1726873/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to