[Bug 1726873] Re: mount.ecryptfs_private can't mount in 17.10

Lucas Levrel 1726873 at bugs.launchpad.net
Sat Jan 5 11:40:26 UTC 2019


*** This bug is a duplicate of bug 1718658 ***
    https://bugs.launchpad.net/bugs/1718658

For those who may not be subscribers of the other bug (this one is marked as duplicate), try this solution: keyctl link @u @s
I've put it in my .profile and it works around the problem "automatically".

** Tags added: bionic

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

Title:
  mount.ecryptfs_private can't mount in 17.10

Status in ecryptfs-utils package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  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)

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



More information about the foundations-bugs mailing list