About a month ago I updated my 16.04 LTS server to 18.04.1 LTS. The upgrade went fine. However, since the upgrade, whenever a user logs in, there is a message displayed in dmesg
or on the local console (but not to the user's SSH session) that reads:
[890802.820519] Could not find key with description: [HEXSTRING]
[890802.820537] process_request_key_err: No key
[890802.820538] Could not find valid key in user session keyring for sig specified in mount option: [HEXSTRING]
[890802.820557] One or more global auth toks could not properly register; rc = [-2]
[890802.820558] Error parsing options; rc = [-2]
After much Googling, I found this related question and managed to figure out that it's a backup of the user's home drive taken when the upgrade occurred.
I should note that users still have access to their home drives and they do not have a problem logging in, this is just an annoyance message that I am trying to clean up.
I attempted to add the passphrase to the keyring using the accepted answer in the linked question:
$ /usr/bin/ecryptfs-manager
eCryptfs key management menu
-------------------------------
1. Add passphrase key to keyring
2. Add public key to keyring
3. Generate new public/private keypair
4. Exit
Make selection: 1
Mount-wide passphrase:
Confirm passphrase:
Using the default salt value
That key was already in the keyring.
So, the key is already in the keyring but I still get the error message when a user logs in.
How can I prevent this notification/error from occurring?
/home/.ecryptfs/user/.ecryptfs/Private.sig
? – Xen2050 Sep 27 '18 at 05:10