Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing access to files with the label, file_t. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux permission checks on files labeled file_t are being denied. file_t is the context the SELinux kernel gives to files that do not have a label. This indicates a serious labeling problem. No files on an SELinux box should ever be labeled file_t. If you have just added a new disk drive to the system you can relabel it using the restorecon command. Otherwise you should relabel the entire file system. Allowing Access: You can execute the following command as root to relabel your computer system: "touch /.autorelabel; reboot" Additional Information: Source Context unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:file_t:s0 Target Objects enforce [ file ] Source passwd Source Path /usr/bin/passwd Port <Unknown> Host (removed) Source RPM Packages passwd-0.77-1.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-49.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name file Host Name (removed) Platform Linux (removed) 2.6.31.6-145.fc12.x86_64 #1 SMP Sat Nov 21 15:57:45 EST 2009 x86_64 x86_64 Alert Count 2 First Seen Sat 05 Dec 2009 08:53:38 PM PST Last Seen Sat 05 Dec 2009 08:53:38 PM PST Local ID 39eb39b7-18d7-4aa5-8365-f9701689d6c0 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1260075218.888:17876): avc: denied { read } for pid=10486 comm="passwd" name="enforce" dev=loop0 ino=13 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file node=(removed) type=AVC msg=audit(1260075218.888:17876): avc: denied { open } for pid=10486 comm="passwd" name="enforce" dev=loop0 ino=13 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1260075218.888:17876): arch=c000003e syscall=2 success=yes exit=6 a0=7fffc7229ed0 a1=0 a2=7fffc7229ee0 a3=fffffff8 items=0 ppid=1983 pid=10486 auid=501 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="passwd" exe="/usr/bin/passwd" subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-49.fc12,file,passwd,passwd_t,file_t,file,read audit2allow suggests: #============= passwd_t ============== allow passwd_t file_t:file { read open };
*** This bug has been marked as a duplicate of bug 537613 ***