SELinux is preventing /usr/kerberos/sbin/login.krb5 from 'setattr' accesses on the chr_file 1. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that login.krb5 should be allowed setattr access on the 1 chr_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.krb5 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:remote_login_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:user_devpts_t:s0 Target Objects 1 [ chr_file ] Source login.krb5 Source Path /usr/kerberos/sbin/login.krb5 Port <Unknown> Host (removed) Source RPM Packages krb5-appl-servers-1.0.1-3.fc14.1 Target RPM Packages Policy RPM selinux-policy-3.9.7-31.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.37.3+ #1 SMP Tue Mar 8 20:44:41 GMT 2011 i686 i686 Alert Count 8 First Seen Tue 08 Mar 2011 07:29:56 PM GMT Last Seen Wed 09 Mar 2011 07:16:51 PM GMT Local ID 7b8a3d61-76a6-4dcf-99d6-0e8d12338346 Raw Audit Messages type=AVC msg=audit(1299698211.942:24613): avc: denied { setattr } for pid=32165 comm="login.krb5" name="1" dev=devpts ino=4 scontext=system_u:system_r:remote_login_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_devpts_t:s0 tclass=chr_file type=SYSCALL msg=audit(1299698211.942:24613): arch=i386 syscall=chmod success=no exit=EACCES a0=b9369018 a1=190 a2=b774e53c a3=b774fa54 items=0 ppid=32163 pid=32165 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=19 comm=login.krb5 exe=/usr/kerberos/sbin/login.krb5 subj=system_u:system_r:remote_login_t:s0-s0:c0.c1023 key=(null) Hash: login.krb5,remote_login_t,user_devpts_t,chr_file,setattr audit2allow #============= remote_login_t ============== allow remote_login_t user_devpts_t:chr_file setattr; audit2allow -R #============= remote_login_t ============== allow remote_login_t user_devpts_t:chr_file setattr;
Miroslav I guess we need term_setattr_all_ptys(remote_login_t)
Fixed in selinux-policy-3.9.7-34.fc14
selinux-policy-3.9.7-34.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-34.fc14
selinux-policy-3.9.7-37.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-37.fc14
selinux-policy-3.9.7-37.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.