Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612010

Summary: Upgrade from sys-apps/systemd-232 to sys-apps/systemd-233 breaks ecryptfs mounting
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED NEEDINFO    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi Georgiev 2017-03-07 22:44:43 UTC
Upgrading from sys-apps/systemd 232 to sys-apps/systemd 233 breaks ecryptfs mounting.

Trying to run `ecryptfs-mount-private` throws "mount: No such file or directory" and prints the following in dmesg:

[  +2.561147] Could not find key with description: [...]
[  +0.001077] process_request_key_err: No key
[  +0.001210] Could not find valid key in user session keyring for sig specified in mount option: [...]
[  +0.002009] One or more global auth toks could not properly register; rc = [-2]
[  +0.001968] Error parsing options; rc = [-2]

Same thing with ecryptfs-recover-private

Steps to reproduce:

1) Upgrade to systemd 233
2) systemctl daemon-reexec
3) Logout and login (no need to reboot)
4) ecryptfs-mount-private
Result: failure to mount

Steps to revert and verify it is working:

1) Downgrade to systemd 232
2) systemctl daemon-reexec
3) Logout and login (no need to reboot)
4) ecryptfs-mount-private

Result: mounts correctly
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-03-09 10:13:50 UTC
Please also add emerge --info.
Comment 2 Mike Gilbert gentoo-dev 2017-03-09 14:49:49 UTC
Please seek support upstream.