Gentoo Archives: gentoo-hardened

From: mino@×××.at
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp
Date: Wed, 03 Jun 2009 20:16:02
Message-Id: 20090603201559.GB21553@thanatos.hades.local
In Reply to: [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp by atoth@atoth.sote.hu
1 > Xorg.log
2 > (**) Option "xkb_rules" "evdev"
3 > (**) Option "xkb_model" "evdev"
4 > (**) Option "xkb_layout" "hu,us"
5 > (**) Option "xkb_variant" "standard"
6 > (**) Option "xkb_options" "grp:shift_toggle,compose:ralt"
7 > (EE) XKB: Could not invoke xkbcomp
8 > (EE) XKB: Couldn't compile keymap
9 > (WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
10 >
11 > grsec.log
12 > grsec: (root:U:/usr/bin/Xorg) failed fork with errno -12 by
13 > /usr/bin/Xorg[X:pid] uid/euid:0/0 gid/egid:0/0, parent
14 > /usr/sbin/gdm-binary[gdm:pid] uid/euid:0/0 gid/egid:0/0
15 >
16 > Result: wrong keyboard layout, compose key don't work, I cannot even
17 > switch to a terminal.
18 >
19 > Any clues how to solve it?
20 >
21 > Regards:
22 > Dw.
23 > --
24 > dr Tóth Attila, Radiológus, 06-20-825-8057, 06-30-5962-962
25 > Attila Toth MD, Radiologist, +36-20-825-8057, +36-30-5962-962
26 >
27 >
28
29 I think I experienced a similar problem some time ago.
30 Changing the pax flags on /usr/bin/Xorg worked for me.
31
32 Pax somehow prevented Xorg from compiling a new keymap.
33
34 Type "paxctl -pemrxs /usr/bin/Xorg", which should disable all
35 restrictions and try it again.
36
37 If I recall correctly, I could reset the flags to their default values
38 (paxctl -zxe /usr/bin/Xorg) after Xorg started with the correct keymap.
39
40 I hope this helps.
41
42 Regards,
43
44 Mino