Hide Forgot
SELinux is preventing /usr/sbin/groupadd from 'write' accesses on the file /dev/null. ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that groupadd should be allowed write access on the null 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 groupadd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore groupadd trying to write access the null file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /usr/sbin/groupadd /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:groupadd_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:device_t:s0 Target Objects /dev/null [ file ] Source groupadd Source Path /usr/sbin/groupadd Port <Unknown> Host (removed) Source RPM Packages shadow-utils-4.1.4.2-11.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-21.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.5-22.fc15.i686 #1 SMP Mon May 2 20:17:28 UTC 2011 i686 i686 Alert Count 2 First Seen Thu 05 May 2011 03:15:06 PM WEST Last Seen Thu 05 May 2011 03:15:06 PM WEST Local ID 7bd7fd54-70a0-4abd-bf4f-55e2196b7a00 Raw Audit Messages type=AVC msg=audit(1304604906.907:121): avc: denied { write } for pid=16395 comm="groupadd" path="/dev/null" dev=sda1 ino=203 scontext=unconfined_u:system_r:groupadd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:device_t:s0 tclass=file type=SYSCALL msg=audit(1304604906.907:121): arch=i386 syscall=execve success=yes exit=0 a0=84b9e38 a1=84b8f88 a2=84b8780 a3=84b8f88 items=0 ppid=16391 pid=16395 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=groupadd exe=/usr/sbin/groupadd subj=unconfined_u:system_r:groupadd_t:s0-s0:c0.c1023 key=(null) Hash: groupadd,groupadd_t,device_t,file,write audit2allow #============= groupadd_t ============== allow groupadd_t device_t:file write; audit2allow -R #============= groupadd_t ============== allow groupadd_t device_t:file write;
*** This bug has been marked as a duplicate of bug 712741 ***