Additional info: libreport version: 2.0.18 kernel: 3.6.0-0.rc1.git6.1.fc18.x86_64 description: :SELinux is preventing /usr/bin/cat from using the 'transition' accesses on a process. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that cat should be allowed transition access on processes labeled mongod_t 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 cat /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context staff_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 :Target Context system_u:system_r:mongod_t:s0-s0:c0.c1023 :Target Objects /usr/bin/cat [ process ] :Source cat :Source Path /usr/bin/cat :Port <Unknown> :Host (removed) :Source RPM Packages coreutils-8.17-6.fc18.x86_64 :Target RPM Packages BDB2053 Freeing read locks for locker 0x18bb: : 15555/140412276918208 BDB2053 Freeing read locks : for locker 0x18bc: 15555/140412276918208 BDB2053 : Freeing read locks for locker 0x18bd: : 15555/140412276918208 BDB2053 Freeing read locks : for locker 0x18be: 15555/140412276918208 : coreutils-8.17-6.fc18.x86_64 :Policy RPM selinux-policy-3.11.1-50.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.6.0-0.rc1.git6.1.fc18.x86_64 #1 : SMP Tue Aug 14 12:13:12 UTC 2012 x86_64 x86_64 :Alert Count 4 :First Seen 2012-11-15 15:33:31 CET :Last Seen 2012-11-15 16:16:49 CET :Local ID e5aed4e4-62e1-48fe-ae75-5a2507fc983b : :Raw Audit Messages :type=AVC msg=audit(1352992609.870:5050): avc: denied { transition } for pid=15535 comm="runcon" path="/usr/bin/cat" dev="dm-6" ino=1467740 scontext=staff_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:mongod_t:s0-s0:c0.c1023 tclass=process : : :type=AVC msg=audit(1352992609.870:5050): avc: denied { entrypoint } for pid=15535 comm="runcon" path="/usr/bin/cat" dev="dm-6" ino=1467740 scontext=system_u:system_r:mongod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file : : :type=SYSCALL msg=audit(1352992609.870:5050): arch=x86_64 syscall=execve success=yes exit=0 a0=7fff82465db9 a1=7fff82466008 a2=7fff82466020 a3=20 items=2 ppid=10714 pid=15535 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts6 ses=3 comm=cat exe=/usr/bin/cat subj=system_u:system_r:mongod_t:s0-s0:c0.c1023 key=(null) : :type=CWD msg=audit(1352992609.870:5050): cwd=/home/mgrepl/Devel/Build/setroubleshoot : :type=PATH msg=audit(1352992609.870:5050): item=0 name=/bin/cat inode=1467740 dev=fd:06 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:bin_t:s0 : :type=PATH msg=audit(1352992609.870:5050): item=1 name=(null) inode=1442703 dev=fd:06 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 : :Hash: cat,unconfined_t,mongod_t,process,transition : :audit2allow : :#============= mongod_t ============== :allow mongod_t bin_t:file entrypoint; : :#============= unconfined_t ============== :allow unconfined_t mongod_t:process transition; : :audit2allow -R : :#============= mongod_t ============== :allow mongod_t bin_t:file entrypoint; : :#============= unconfined_t ============== :allow unconfined_t mongod_t:process transition; :
Created attachment 645724 [details] File: type
Created attachment 645725 [details] File: hashmarkername