SELinux is preventing /bin/login from 'create' accesses on the file .pam-systemd-lock. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that login should be allowed create access on the .pam-systemd-lock 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:user_tmp_t:s0 Target Objects .pam-systemd-lock [ file ] Source login Source Path /bin/login Port <Unknown> Host (removed) Source RPM Packages util-linux-2.19.1-1.fc16 Target RPM Packages Policy RPM selinux-policy-3.10.0-13.fc17 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.1.0-0.rc0.git17.1.fc17.i686 #1 SMP Tue Aug 2 17:07:57 UTC 2011 i686 i686 Alert Count 3 First Seen Thu 04 Aug 2011 02:57:58 AM NPT Last Seen Thu 04 Aug 2011 11:53:21 PM NPT Local ID 3ee0563a-e346-4c53-848d-d36858f77bd2 Raw Audit Messages type=AVC msg=audit(1312481301.1:37): avc: denied { create } for pid=1392 comm="login" name=".pam-systemd-lock" scontext=system_u:system_r:local_login_t:s0-s0:c0.c1023 tcontext=system_u:object_r:user_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1312481301.1:37): arch=i386 syscall=open success=no exit=EACCES a0=4c2f04 a1=a8142 a2=180 a3=89800d0 items=0 ppid=1 pid=1392 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 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,user_tmp_t,file,create audit2allow #============= local_login_t ============== allow local_login_t user_tmp_t:file create; audit2allow -R #============= local_login_t ============== allow local_login_t user_tmp_t:file create;
Fixed in selinux-policy-3.10.0-17.fc17