Comment 5 for bug 1699427

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

Tried various mounting options as well as various mount points. I followed the steps for manual mounting but none of these actions appears to have any affect and the end result of a system crash without any error or warning is always and consistently the same.

-bash-4.2$ sudo mount -t ecryptfs /var/lib/mysql/.Private /var/lib/mysql/data

Select key type to use for newly created files:
 1) passphrase
 2) openssl
Selection: 1
Passphrase:
Select cipher:
 1) aes: blocksize = 16; min keysize = 16; max keysize = 32
 2) blowfish: blocksize = 8; min keysize = 16; max keysize = 56
 3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24
 4) twofish: blocksize = 16; min keysize = 16; max keysize = 32
 5) cast6: blocksize = 16; min keysize = 16; max keysize = 32
 6) cast5: blocksize = 8; min keysize = 5; max keysize = 16
Selection [aes]: 1
Select key bytes:
 1) 16
 2) 32
 3) 24
Selection [16]: 1
Enable plaintext passthrough (y/n) [n]: y
Enable filename encryption (y/n) [n]: n
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_passthrough
  ecryptfs_key_bytes=16
  ecryptfs_cipher=aes
  ecryptfs_sig=4bf790158acc1a6d
Mounted eCryptfs

-bash-4.2$ mount
...
tmpfs on /run/user/1004 type tmpfs (rw,nosuid,nodev,relatime,size=368528k,mode=700,uid=1004,gid=1004)
/var/lib/mysql/.Private on /var/lib/mysql/data type ecryptfs (rw,relatime,ecryptfs_sig=4bf790158acc1a6d,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough,ecryptfs_unlink_sigs)
tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=368528k,mode=700,uid=1001,gid=1001)

-bash-4.2$ pwd

/var/lib/mysql

-bash-4.2$ ls -latr
total 16
drwx------ 2 mysql mysql 102 Jun 20 16:27 .ecryptfs
-rw-r----- 1 mysql mysql 86 Jun 21 12:05 relay-log.info
-rw------- 1 mysql mysql 4671 Jun 21 17:13 .bash_history
drwxr-xr-x. 46 root root 4096 Jun 22 10:46 ..
drwx------ 2 mysql mysql 6 Jun 22 11:08 .Private
drwx------ 2 mysql mysql 4096 Jun 22 11:08 data
drwxr-xr-x 5 mysql mysql 89 Jun 23 10:10 .

-bash-4.2$ cd data

-bash-4.2$ ls

### System Crash####

Thank you very much for your time.

Kind regards,
Pieter