Hide Forgot
SELinux is preventing /usr/sbin/setsebool from 'read' accesses on the file /etc/selinux/targeted/modules/active/ldd.te. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /etc/selinux/targeted/modules/active/ldd.te default label should be semanage_store_t. Then you can run restorecon. Do # /sbin/restorecon -v /etc/selinux/targeted/modules/active/ldd.te ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that setsebool should be allowed read access on the ldd.te 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 setsebool /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:setsebool_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:admin_home_t:s0 Target Objects /etc/selinux/targeted/modules/active/ldd.te [ file ] Source setsebool Source Path /usr/sbin/setsebool Port <Unknown> Host (removed) Source RPM Packages policycoreutils-2.0.83-33.10.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-29.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Tue 22 Feb 2011 11:32:43 PM CET Last Seen Tue 22 Feb 2011 11:33:25 PM CET Local ID 1b648c55-ddeb-4c8e-bf2b-5caf5d0c9fd0 Raw Audit Messages type=AVC msg=audit(1298414005.735:121874): avc: denied { read } for pid=29407 comm="setsebool" name="ldd.te" dev=dm-0 ino=9869 scontext=system_u:system_r:setsebool_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file type=SYSCALL msg=audit(1298414005.735:121874): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffa19b29f0 a1=0 a2=7fffa19b090c a3=6d742f73656c7564 items=0 ppid=29406 pid=29407 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=setsebool exe=/usr/sbin/setsebool subj=system_u:system_r:setsebool_t:s0-s0:c0.c1023 key=(null) Hash: setsebool,setsebool_t,admin_home_t,file,read audit2allow #============= setsebool_t ============== allow setsebool_t admin_home_t:file read; audit2allow -R #============= setsebool_t ============== allow setsebool_t admin_home_t:file read;
Error is the same as this report: http://bugs.centos.org/view.php?id=4026 This was a fresh install. I found a couple of stray LOCK files (probably from the day I installed) in the /etc/selinux/targeted/modules directory. Dunno if that's relevant. Also got a delete-file error (probably the next bug)
FYI, the error popped up when I tried to execute the following: # setsebool -P wine_mmap_zero_ignore 1
It looks your system is mislabeled. You will need to run # fixfiles restore
*** Bug 679594 has been marked as a duplicate of this bug. ***
shoulda done that first, obviously. Seems to have worked. Thanks.