I already did touch /.autorelabel and it relabeled all my system and this still happening. Is it a bug ? SELinux is preventing /bin/login from 'read' accesses on the lnk_file .ecryptfs. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that login should be allowed read access on the .ecryptfs lnk_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep login /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:local_login_t:s0-s0:c0.c1023 Target Context system_u:object_r:ecryptfs_t:s0 Target Objects .ecryptfs [ lnk_file ] Source login Source Path /bin/login Port <Unknown> Host (removed) Source RPM Packages util-linux-2.19-4.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-18.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.4-20.fc15.x86_64 #1 SMP Thu Apr 28 23:32:48 UTC 2011 x86_64 x86_64 Alert Count 7 First Seen Mon 02 May 2011 06:05:22 PM BRT Last Seen Mon 02 May 2011 06:17:02 PM BRT Local ID 3d2c5160-f746-483b-b4e4-695ce05fa456 Raw Audit Messages type=AVC msg=audit(1304371022.695:62): avc: denied { read } for pid=1523 comm="login" name=".ecryptfs" dev=ecryptfs ino=16777225 scontext=system_u:system_r:local_login_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ecryptfs_t:s0 tclass=lnk_file type=SYSCALL msg=audit(1304371022.695:62): arch=x86_64 syscall=stat success=no exit=EACCES a0=b5ad80 a1=7fffac82e1a0 a2=7fffac82e1a0 a3=732e657461766972 items=0 ppid=1 pid=1523 auid=1000 uid=0 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=login exe=/bin/login subj=system_u:system_r:local_login_t:s0-s0:c0.c1023 key=(null) Hash: login,local_login_t,ecryptfs_t,lnk_file,read audit2allow #============= local_login_t ============== allow local_login_t ecryptfs_t:lnk_file read; audit2allow -R #============= local_login_t ============== allow local_login_t ecryptfs_t:lnk_file read;
Could you boot with parameter enforcing=0 and then give me output of # ausearch -m avc -ts recent # id -Z
Created attachment 496510 [details] auesearch
Created attachment 496511 [details] id -Z
Created attachment 496513 [details] ausearch with login error
Thank you. Does eCryptfs work for you in permissive mode?
What do you mean by permissive mode?
(In reply to comment #1) > Could you boot with parameter > > enforcing=0 It means you did boot in permissive mode.
*** This bug has been marked as a duplicate of bug 712048 ***