Comment 20 for bug 515138

Revision history for this message
Moritz (moritz89) wrote :

The crash is caused by this script:

/usr/share/ecryptfs-utils/ecryptfs-record-passphrase

which is linked to by:

/var/lib/update-notifier/user.d/ecryptfs-record-passphrase

What the script does is to check if the user has already written down the random pass-phrase that was generated for the encrypted HDD. A simple work-around is to just make the script believe that the user has already done this. The work-around is creating this file:

sudo touch $HOME/.ecryptfs/.wrapped-passphrase.recorded

It seems the file "/var/lib/update-notifier/user.d/ecryptfs-record-passphrase" is rewritten each time an ACPI (power-related) event is sent.

BTW. to record your HDD encryption password run:

ecryptfs-unwrap-passphrase