Comment 17 for bug 1052038

Nobuto Murata (nobuto) wrote :

Indeed your patch suppresses Error message below though.
"Error attempting to parse .ecryptfsrc file; rc = [-13]"

/var/log/auth.log
====================
Oct 6 01:25:01 ecryptfs-test CRON[9124]: pam_unix(cron:session): session opened for user user2 by (uid=0)
Oct 6 01:25:01 ecryptfs-test CRON[9125]: pam_unix(cron:session): session opened for user user1 by (uid=0)
Oct 6 01:25:31 ecryptfs-test CRON[9125]: pam_unix(cron:session): session closed for user user1
Oct 6 01:25:31 ecryptfs-test sshd[9322]: pam_ecryptfs: Passphrase file wrapped
Oct 6 01:25:33 ecryptfs-test sshd[9320]: Accepted password for user1 from 127.0.0.1 port 55485 ssh2
Oct 6 01:25:33 ecryptfs-test sshd[9320]: pam_unix(sshd:session): session opened for user user1 by (uid=0)
Oct 6 01:25:33 ecryptfs-test sshd[9480]: Received disconnect from 127.0.0.1: 11: disconnected by user
Oct 6 01:25:33 ecryptfs-test sshd[9320]: pam_unix(sshd:session): session closed for user user1
Oct 6 01:25:33 ecryptfs-test CRON[9124]: pam_unix(cron:session): session closed for user user2
Oct 6 01:25:42 ecryptfs-test sudo: user2 : TTY=pts/3 ; PWD=/home/user2 ; USER=root ; COMMAND=/bin/ls /home/user1
Oct 6 01:25:42 ecryptfs-test sudo: pam_unix(sudo:session): session opened for user root by user2(uid=1001)
Oct 6 01:25:42 ecryptfs-test sudo: pam_unix(sudo:session): session closed for user root
Oct 6 01:26:01 ecryptfs-test CRON[9664]: pam_unix(cron:session): session opened for user user2 by (uid=0)
Oct 6 01:26:01 ecryptfs-test CRON[9665]: pam_unix(cron:session): session opened for user user1 by (uid=0)
Oct 6 01:26:30 ecryptfs-test sshd[9863]: pam_ecryptfs: Passphrase file wrapped
Oct 6 01:26:31 ecryptfs-test CRON[9665]: pam_unix(cron:session): session closed for user user1
Oct 6 01:26:31 ecryptfs-test sshd[9861]: Accepted password for user1 from 127.0.0.1 port 55486 ssh2
Oct 6 01:26:31 ecryptfs-test sshd[9861]: pam_unix(sshd:session): session opened for user user1 by (uid=0)
Oct 6 01:26:32 ecryptfs-test sshd[10012]: Received disconnect from 127.0.0.1: 11: disconnected by user
Oct 6 01:26:32 ecryptfs-test sshd[9861]: pam_unix(sshd:session): session closed for user user1
Oct 6 01:26:32 ecryptfs-test CRON[9664]: pam_unix(cron:session): session closed for user user2
Oct 6 01:27:01 ecryptfs-test CRON[10200]: pam_unix(cron:session): session opened for user user2 by (uid=0)
====================