xorg-server-1.12.0 - When SELinux is enabled the xserver fails
Submitted by Richard Haines
Assigned to Xorg Project Team
Description
Using Fedora 17 with xorg-server-1.12.0 on Dell (x86_64)
The xorg-server-1.11.4 works fine with Fedora 16
When using targeted policy:
- setsebool xserver_object_manager on
- init 3
- logon as root
- init 5
- X does not load.
This always happens at the same point with the Xorg log giving some infos but I managed to get the following core dump that has more detail:
(gdb) info stack
#0 0x0000003f94635965 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x0000003f94637118 in __GI_abort () at abort.c:91
#2 0x000000000046c41e in OsAbort () at utils.c:1249
#3 0x000000000048278c in ddxGiveUp (error=EXIT_ERR_ABORT) at xf86Init.c:989
#4 0x00000000004689f2 in AbortServer () at log.c:480
#5 0x0000000000468bf5 in FatalError (
f=f@entry=0x571f58 "Caught signal %d (%s). Server aborting\n") at log.c:611
#6 0x0000000000469e8e in OsSigHandler (sip=<optimized out>, signo=11,
unused=<optimized out>) at osinit.c:146
#7 OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>)
at osinit.c:108
#8 <signal handler called>
#9 0x00007f9d6708e77a in SELinuxDoCheck (auditdata=<optimized out>,
mode=131072, class=11, subj=0x2af3670, obj=<optimized out>)
at xselinux_hooks.c:98
#10 SELinuxDoCheck (subj=0x2af3670, class=11, mode=131072,
auditdata=<optimized out>,
obj=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at xselinux_hooks.c:88
#11 0x00007f9d6708f630 in SELinuxDevice (pcbl=<optimized out>,
unused=<optimized out>, calldata=0x2af3670) at xselinux_hooks.c:364
#12 0x0000000000438ad4 in _CallCallbacks (pcbl=0x2a64730, call_data=0x7d6718,
---Type <return> to continue, or q <return> to quit---
call_data@entry=0x7fff92c52930) at dixutils.c:752
#13 0x00000000004e3018 in CallCallbacks (call_data=0x7fff92c52930,
pcbl=<optimized out>) at ../include/callback.h:86
#14 XaceHook (hook=hook@entry=3) at xace.c:196
#15 0x0000000000507690 in GrabKey (client=client@entry=0x2af35b0,
dev=0x7d6ce0, modifier_device=modifier_device@entry=0x7d6ce0,
key=-1832572624, param=param@entry=0x7fff92c52a90,
grabtype=grabtype@entry=XI2, mask=mask@entry=0x7fff92c52a50)
at exevents.c:2389
#16 0x000000000051138c in ProcXIPassiveGrabDevice (client=0x2af35b0)
at xipassivegrab.c:205
#17 0x000000000043439a in Dispatch () at dispatch.c:439
#18 0x00000000004233e5 in main (argc=13, argv=0x7fff92c52ca8,
envp=<optimized out>) at main.c:287
(gdb)