Comment 9 for bug 1699427

Revision history for this message
Pieter Coetzee (pcoetzee) wrote :

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:
: 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.

Kind regards,
Pieter