Which does not generate the following pam messages:
: pam_ecryptfs: Unable to rewrap passphrase file
: Failed to detect wrapped passphrase version: Permission denied
: Error attempting to unwrap passphrase from file [/var/lib/mysql/.ecryptfs/wrapped-passphrase]; rc = [-13]
: Error adding passphrase key token to user session keyring; rc = [-5]
But alas the server crashes in exactly the same way.
I've tried setting permissions. Recreating the procedure. Modifying the pam files etc as discussed by other technologists on forums but unfortunately are yet to stumble across a workaround that works.
I think the Pam issues relating to automount may be a red herring.
I tried creating the crypted drive with the following:
#> ecryptfs- setup-private --nopwcheck --noautomount
Which does not generate the following pam messages: mysql/. ecryptfs/ wrapped- passphrase] ; rc = [-13]
: pam_ecryptfs: Unable to rewrap passphrase file
: Failed to detect wrapped passphrase version: Permission denied
: Error attempting to unwrap passphrase from file [/var/lib/
: Error adding passphrase key token to user session keyring; rc = [-5]
But alas the server crashes in exactly the same way.
I've tried setting permissions. Recreating the procedure. Modifying the pam files etc as discussed by other technologists on forums but unfortunately are yet to stumble across a workaround that works.
Kind regards,
Pieter