Bug#618292: SELinux: Failed to open x_contexts mapping in policy
Hi Eamon,
we received the report below on the debian bug tracker, would you have
any idea about this?
On Sun, Mar 13, 2011 at 23:13:21 -0400, Joseph Nahmias wrote:
> Hi,
>
> When I upgraded xorg in sid, my X stopped working, and /var/log/Xorg.0.log had
> the line:
>
> Fatal server error: SELinux: Failed to open x_contexts mapping in policy
>
> I had to downgrade in order to get everything working again. Here's the info
> [from /var/log/dpkg.log] on what I changed to make it work again:
>
> 2011-03-13 22:24:29 upgrade xserver-xorg-video-intel 2:2.14.0-4 2:2.13.0-5
> 2011-03-13 22:27:23 upgrade xserver-xorg-input-kbd 1:1.6.0-1 1:1.4.0-2
> 2011-03-13 22:27:23 upgrade xserver-xorg-input-mouse 1:1.7.0-1 1:1.5.0-2
> 2011-03-13 22:27:23 upgrade xserver-xorg-input-evdev 1:2.6.0-2 1:2.3.2-6
> 2011-03-13 22:27:24 upgrade xserver-xorg-input-synaptics 1.4.0-1 1.2.2-2
> 2011-03-13 22:29:26 upgrade xserver-xorg-video-intel-dbg 2:2.14.0-4 2:2.13.0-5
> 2011-03-13 22:31:06 upgrade xserver-xorg-core 2:1.9.4.901-1 2:1.7.7-12
> 2011-03-13 22:31:07 upgrade xserver-xorg-core-dbg 2:1.9.4.901-1 2:1.7.7-12
> 2011-03-13 22:32:00 upgrade xserver-common 2:1.9.4.901-1 2:1.7.7-12
> 2011-03-13 22:38:24 upgrade xserver-xorg 1:7.6+4 1:7.5+8
> 2011-03-13 22:39:51 upgrade xorg 1:7.6+4 1:7.5+8
>
> Here's my complete /var/log/Xorg.0.log.old:
> -------------------------------------------
>
> [ 122.698]
> X.Org X Server 1.9.4.901 (1.9.5 RC 1)
> Release Date: 2011-03-04
> [ 122.709] X Protocol Version 11, Revision 0
> [ 122.709] Build Operating System: Linux 2.6.26-2-amd64 i686 Debian
> [ 122.709] Current Operating System: Linux wakko 2.6.37-2-686 #1 SMP Sun Feb 27 10:51:32 UTC 2011 i686
> [ 122.709] Kernel command line: root=/dev/mapper/diskvg-root ro vga=871 selinux=1 irqpoll splash
> [ 122.709] Build Date: 07 March 2011 05:01:39PM
> [ 122.709] xorg-server 2:1.9.4.901-1 (Cyril Brulebois <kibi@debian.org>)
> [ 122.709] Current version of pixman: 0.21.4
> [ 122.709] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [ 122.709] Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [ 122.709] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 13 22:17:46 2011
> [ 122.916] (==) Using config file: "/etc/X11/xorg.conf"
> [ 122.916] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> [ 122.964] (==) ServerLayout "Default Layout"
> [ 122.964] (**) |-->Screen "Default Screen" (0)
> [ 122.964] (**) | |-->Monitor "Generic Monitor"
> [ 122.964] (==) No device specified for screen "Default Screen".
> Using the first device section listed.
> [ 122.964] (**) | |-->Device "Videocard0"
> [ 122.964] (**) |-->Input Device "Generic Keyboard"
> [ 122.964] (**) |-->Input Device "Configured Mouse"
> [ 122.964] (**) |-->Input Device "Synaptics Touchpad"
> [ 122.964] (**) Option "NoTrapSignals"
> [ 122.964] (==) Automatically adding devices
> [ 122.964] (==) Automatically enabling devices
> [ 123.056] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
> [ 123.056] Entry deleted from font path.
> [ 123.251] (==) FontPath set to:
> /usr/share/fonts/X11/misc,
> /usr/share/fonts/X11/100dpi/:unscaled,
> /usr/share/fonts/X11/75dpi/:unscaled,
> /usr/share/fonts/X11/Type1,
> /usr/share/fonts/X11/100dpi,
> /usr/share/fonts/X11/75dpi,
> /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
> built-ins
> [ 123.251] (==) ModulePath set to "/usr/lib/xorg/modules"
> [ 123.251] (**) Extension "Composite" is enabled
> [ 123.251] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
> [ 123.251] (WW) Disabling Generic Keyboard
> [ 123.251] (WW) Disabling Configured Mouse
> [ 123.251] (II) Loader magic: 0x81f9fc0
> [ 123.251] (II) Module ABI versions:
> [ 123.251] X.Org ANSI C Emulation: 0.4
> [ 123.251] X.Org Video Driver: 8.0
> [ 123.251] X.Org XInput driver : 11.0
> [ 123.251] X.Org Server Extension : 4.0
> [ 123.253] (--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
> [ 123.253] (--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xf8200000/1048576
> [ 123.253] (II) Open ACPI successful (/var/run/acpid.socket)
> [ 123.253] (II) LoadModule: "extmod"
> [ 123.295] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
> [ 123.316] (II) Module extmod: vendor="X.Org Foundation"
> [ 123.316] compiled for 1.9.4.901, module version = 1.0.0
> [ 123.316] Module class: X.Org Server Extension
> [ 123.316] ABI class: X.Org Server Extension, version 4.0
> [ 123.316] (II) Loading extension SELinux
> [ 123.316] (II) Loading extension MIT-SCREEN-SAVER
> [ 123.316] (II) Loading extension XFree86-VidModeExtension
> [ 123.316] (II) Loading extension XFree86-DGA
> [ 123.316] (II) Loading extension DPMS
> [ 123.316] (II) Loading extension XVideo
> [ 123.316] (II) Loading extension XVideo-MotionCompensation
> [ 123.316] (II) Loading extension X-Resource
> [ 123.316] (II) LoadModule: "dbe"
> [ 123.317] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
> [ 123.318] (II) Module dbe: vendor="X.Org Foundation"
> [ 123.318] compiled for 1.9.4.901, module version = 1.0.0
> [ 123.318] Module class: X.Org Server Extension
> [ 123.318] ABI class: X.Org Server Extension, version 4.0
> [ 123.318] (II) Loading extension DOUBLE-BUFFER
> [ 123.318] (II) LoadModule: "glx"
> [ 123.318] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> [ 123.505] (II) Module glx: vendor="X.Org Foundation"
> [ 123.505] compiled for 1.9.4.901, module version = 1.0.0
> [ 123.505] ABI class: X.Org Server Extension, version 4.0
> [ 123.551] (==) AIGLX enabled
> [ 123.551] (II) Loading extension GLX
> [ 123.551] (II) LoadModule: "record"
> [ 123.551] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
> [ 123.599] (II) Module record: vendor="X.Org Foundation"
> [ 123.599] compiled for 1.9.4.901, module version = 1.13.0
> [ 123.599] Module class: X.Org Server Extension
> [ 123.599] ABI class: X.Org Server Extension, version 4.0
> [ 123.599] (II) Loading extension RECORD
> [ 123.599] (II) LoadModule: "dri"
> [ 123.599] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
> [ 123.736] (II) Module dri: vendor="X.Org Foundation"
> [ 123.736] compiled for 1.9.4.901, module version = 1.0.0
> [ 123.736] ABI class: X.Org Server Extension, version 4.0
> [ 123.736] (II) Loading extension XFree86-DRI
> [ 123.736] (II) LoadModule: "dri2"
> [ 123.736] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
> [ 123.764] (II) Module dri2: vendor="X.Org Foundation"
> [ 123.764] compiled for 1.9.4.901, module version = 1.2.0
> [ 123.764] ABI class: X.Org Server Extension, version 4.0
> [ 123.764] (II) Loading extension DRI2
> [ 123.764] (II) LoadModule: "intel"
> [ 123.995] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
> [ 124.081] (II) Module intel: vendor="X.Org Foundation"
> [ 124.081] compiled for 1.9.4, module version = 2.14.0
> [ 124.081] Module class: X.Org Video Driver
> [ 124.081] ABI class: X.Org Video Driver, version 8.0
> [ 124.081] (II) LoadModule: "synaptics"
> [ 124.338] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
> [ 124.354] (II) Module synaptics: vendor="X.Org Foundation"
> [ 124.354] compiled for 1.9.4, module version = 1.4.0
> [ 124.354] Module class: X.Org XInput Driver
> [ 124.354] ABI class: X.Org XInput driver, version 11.0
> [ 124.354] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
> i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
> E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
> 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
> 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
> Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
> Sandybridge, Sandybridge
> [ 124.355] (++) using VT number 7
>
> [ 124.361] drmOpenDevice: node name is /dev/dri/card0
> [ 124.361] drmOpenDevice: open result is 9, (OK)
> [ 124.366] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
> [ 124.366] drmOpenDevice: node name is /dev/dri/card0
> [ 124.366] drmOpenDevice: open result is 9, (OK)
> [ 124.366] drmOpenByBusid: drmOpenMinor returns 9
> [ 124.366] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> [ 124.366] (**) intel(0): Depth 24, (--) framebuffer bpp 32
> [ 124.366] (==) intel(0): RGB weight 888
> [ 124.366] (==) intel(0): Default visual is TrueColor
> [ 124.366] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
> [ 124.366] (--) intel(0): Chipset: "965GM"
> [ 124.366] (**) intel(0): Tiling enabled
> [ 124.366] (**) intel(0): SwapBuffers wait enabled
> [ 124.366] (==) intel(0): video overlay key set to 0x101fe
> [ 124.366] (II) intel(0): Output LVDS1 using monitor section Generic Monitor
> [ 124.367] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
> [ 124.388] (II) intel(0): Output VGA1 has no monitor section
> [ 124.404] (II) intel(0): Output DVI1 has no monitor section
> [ 124.404] (II) intel(0): EDID for output LVDS1
> [ 124.404] (II) intel(0): Manufacturer: LEN Model: 4031 Serial#: 0
> [ 124.405] (II) intel(0): Year: 2006 Week: 0
> [ 124.405] (II) intel(0): EDID Version: 1.3
> [ 124.514] (II) intel(0): Digital Display Input
> [ 124.514] (II) intel(0): Max Image Size [cm]: horiz.: 30 vert.: 19
> [ 124.514] (II) intel(0): Gamma: 2.20
> [ 124.514] (II) intel(0): DPMS capabilities: StandBy Suspend Off
> [ 124.514] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
> [ 124.514] (II) intel(0): First detailed timing is preferred mode
> [ 124.514] (II) intel(0): redX: 0.584 redY: 0.347 greenX: 0.323 greenY: 0.542
> [ 124.514] (II) intel(0): blueX: 0.157 blueY: 0.145 whiteX: 0.312 whiteY: 0.328
> [ 124.514] (II) intel(0): Manufacturer's mask: 0
> [ 124.514] (II) intel(0): Supported detailed timing:
> [ 124.514] (II) intel(0): clock: 69.3 MHz Image Size: 303 x 190 mm
> [ 124.514] (II) intel(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1405 h_border: 0
> [ 124.514] (II) intel(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 822 v_border: 0
> [ 124.514] (II) intel(0): Supported detailed timing:
> [ 124.514] (II) intel(0): clock: 57.8 MHz Image Size: 303 x 190 mm
> [ 124.514] (II) intel(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1405 h_border: 0
> [ 124.515] (II) intel(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 822 v_border: 0
> [ 124.515] (II) intel(0): Unknown vendor-specific block f
> [ 124.515] (II) intel(0): LP141WX1-TLC2
> [ 124.515] (II) intel(0): EDID (in hex):
> [ 124.515] (II) intel(0): 00ffffffffffff0030ae314000000000
> [ 124.515] (II) intel(0): 00100103801e1378eabf409558528a28
> [ 124.515] (II) intel(0): 25505400000001010101010101010101
> [ 124.515] (II) intel(0): 010101010101121b007d502016303020
> [ 124.515] (II) intel(0): 36002fbe100000188f16007d50201630
> [ 124.515] (II) intel(0): 302036002fbe100000180000000f0081
> [ 124.515] (II) intel(0): 0a32810a28120100320c4611000000fe
> [ 124.515] (II) intel(0): 004c503134315758312d544c433200e0
> [ 124.515] (II) intel(0): EDID vendor "LEN", prod id 16433
> [ 124.515] (II) intel(0): Printing DDC gathered Modelines:
> [ 124.515] (II) intel(0): Modeline "1280x800"x0.0 69.30 1280 1328 1360 1405 800 803 809 822 -hsync -vsync (49.3 kHz)
> [ 124.515] (II) intel(0): Modeline "1280x800"x0.0 57.75 1280 1328 1360 1405 800 803 809 822 -hsync -vsync (41.1 kHz)
> [ 124.515] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "720x450" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "800x512" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "960x540" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "960x600" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
> [ 124.515] (II) intel(0): Printing probed modes for output LVDS1
> [ 124.515] (II) intel(0): Modeline "1280x800"x60.0 69.30 1280 1328 1360 1405 800 803 809 822 -hsync -vsync (49.3 kHz)
> [ 124.515] (II) intel(0): Modeline "1280x800"x50.0 57.75 1280 1328 1360 1405 800 803 809 822 -hsync -vsync (41.1 kHz)
> [ 124.515] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
> [ 124.515] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
> [ 124.515] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
> [ 124.515] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
> [ 124.532] (II) intel(0): EDID for output VGA1
> [ 124.548] (II) intel(0): EDID for output DVI1
> [ 124.548] (II) intel(0): Output LVDS1 connected
> [ 124.548] (II) intel(0): Output VGA1 disconnected
> [ 124.548] (II) intel(0): Output DVI1 disconnected
> [ 124.548] (II) intel(0): Using user preference for initial modes
> [ 124.548] (II) intel(0): Output LVDS1 using initial mode 1280x800
> [ 124.548] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
> [ 124.548] (II) intel(0): Kernel page flipping support detected, enabling
> [ 124.548] (**) intel(0): Display dimensions: (300, 190) mm
> [ 124.548] (**) intel(0): DPI set to (173, 273)
> [ 124.548] (II) Loading sub module "fb"
> [ 124.548] (II) LoadModule: "fb"
> [ 124.548] (II) Loading /usr/lib/xorg/modules/libfb.so
> [ 124.638] (II) Module fb: vendor="X.Org Foundation"
> [ 124.638] compiled for 1.9.4.901, module version = 1.0.0
> [ 124.638] ABI class: X.Org ANSI C Emulation, version 0.4
> [ 124.638] (==) Depth 24 pixmap format is 32 bpp
> [ 124.638] (==) intel(0): VideoRam: 262144 KB
> [ 124.638] (II) intel(0): [DRI2] Setup complete
> [ 124.638] (II) intel(0): [DRI2] DRI driver: i965
> [ 124.638] (II) intel(0): Allocated new frame buffer 2048x2048 stride 8192, tiled
> [ 124.678] (II) UXA(0): Driver registered support for the following operations:
> [ 124.678] (II) solid
> [ 124.678] (II) copy
> [ 124.678] (II) composite (RENDER acceleration)
> [ 124.678] (II) put_image
> [ 124.678] (II) get_image
> [ 124.678] (==) intel(0): Backing store disabled
> [ 124.678] (==) intel(0): Silken mouse enabled
> [ 124.719] (II) intel(0): Initializing HW Cursor
> [ 124.742] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
> [ 124.745] (**) intel(0): DPMS enabled
> [ 124.745] (==) intel(0): Intel XvMC decoder enabled
> [ 124.745] (II) intel(0): Set up textured video
> [ 124.745] (II) intel(0): Set up overlay video
> [ 124.745] (II) intel(0): [XvMC] i965_xvmc driver initialized.
> [ 124.745] (II) intel(0): direct rendering: DRI2 Enabled
> [ 124.745] (WW) intel(0): Option "MonitorLayout" is not used
> [ 124.745] (WW) intel(0): Option "DevicePresence" is not used
> [ 124.745] (WW) intel(0): Option "CheckLid" is not used
> [ 124.745] (==) intel(0): hotplug detection: "enabled"
> [ 124.745] (--) RandR disabled
> [ 124.745] (II) Initializing built-in extension Generic Event Extension
> [ 124.745] (II) Initializing built-in extension SHAPE
> [ 124.745] (II) Initializing built-in extension MIT-SHM
> [ 124.745] (II) Initializing built-in extension XInputExtension
> [ 124.745] (II) Initializing built-in extension XTEST
> [ 124.745] (II) Initializing built-in extension BIG-REQUESTS
> [ 124.745] (II) Initializing built-in extension SYNC
> [ 124.745] (II) Initializing built-in extension XKEYBOARD
> [ 124.745] (II) Initializing built-in extension XC-MISC
> [ 124.746] (II) Initializing built-in extension SECURITY
> [ 124.746] (II) Initializing built-in extension XINERAMA
> [ 124.746] (II) Initializing built-in extension XFIXES
> [ 124.746] (II) Initializing built-in extension RENDER
> [ 124.746] (II) Initializing built-in extension RANDR
> [ 124.746] (II) Initializing built-in extension COMPOSITE
> [ 124.746] (II) Initializing built-in extension DAMAGE
> [ 124.746]
> Fatal server error:
> [ 124.746] SELinux: Failed to open x_contexts mapping in policy
> [ 124.746]
> [ 124.746]
> Please consult the The X.Org Foundation support
> at http://wiki.x.org
> for help.
> [ 124.746] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
> [ 124.746]
>
>
Thanks,
Julien
Reply to: