Hide Forgot
Description of problem: Got this after updating to latest packages and rebooting: [root@tlondon ~]# dmesg | grep avc [ 19.515519] dbus[892]: avc: netlink poll: error 4 [ 21.577963] type=1400 audit(1295966750.030:4): avc: denied { execmod } for pid=994 comm="nscd" path="/usr/sbin/nscd" dev=dm-0 ino=4141 scontext=system_u:system_r:nscd_t:s0 tcontext=system_u:object_r:nscd_exec_t:s0 tclass=file [ 25.679491] type=1400 audit(1295966754.132:5): avc: denied { execmod } for pid=1020 comm="nscd" path="/usr/sbin/nscd" dev=dm-0 ino=4141 scontext=system_u:system_r:nscd_t:s0 tcontext=system_u:object_r:nscd_exec_t:s0 tclass=file [root@tlondon ~]# #============= nscd_t ============== allow nscd_t nscd_exec_t:file execmod; glibc-2.13.90-1.i686 selinux-policy-3.9.13-4.fc15.noarch glibc-common-2.13.90-1.x86_64 glibc-devel-2.13.90-1.x86_64 glibc-devel-2.13.90-1.i686 nscd-2.13.90-1.x86_64 glibc-2.13.90-1.x86_64 glibc-headers-2.13.90-1.x86_64 selinux-policy-targeted-3.9.13-4.fc15.noarch Version-Release number of selected component (if applicable): nscd-2.13.90-1.x86_64 glibc-2.13.90-1.x86_64 How reproducible: Believe every boot Steps to Reproduce: 1. update 2. reboot 3. Actual results: Expected results: Additional info:
This access should not be required.
$ cat foo.c static const char *const foo __attribute__((used, section("foo"))) = "foo"; $ gcc -fpie foo.c && cat foo.s .file "foo.c" .section .rodata .LC0: .string "foo" .section foo,"a",@progbits .align 8 .type foo, @object .size foo, 8 foo: .quad .LC0 .ident "GCC: (GNU) 4.6.0 20110122 (Red Hat 4.6.0-0.3)" .section .note.GNU-stack,"",@progbits
*** Bug 673239 has been marked as a duplicate of this bug. ***
I am not sure what you are showing here?
If you mean #c2, then it is a distilled testcase for a gcc bug for which I've just posted a patch for review, see http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02059.html
Should be fixed in gcc-4.6.0-0.5.fc15, now just glibc needs to be rebuilt.
Seems fixed with glibc-2.13.90-2.x86_64. Closing.