Red Hat Bugzilla – Bug 90199
kernel missing /proc/sys/kernel/X-workaround
Last modified: 2007-04-18 12:53:28 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030303
Description of problem:
Latest rawhide kernel seems to be missing /proc/sys/kernel/X-workaround
described in http://people.redhat.com/mingo/exec-shield/ANNOUNCE-exec-shield
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ls -l /proc/sys/kernel/X-workaround
Actual Results: None found.
Expected Results: Should be.
the X in rawhide should not need this hack.....
Correct, The mprotect bits are in as of:
* Fri May 2 2003 Mike A. Harris <firstname.lastname@example.org> 4.3.0-8
- Enable XFree86-4.3.0-elfloader-linux-non-exec-stack.patch again, and remove
ifnarch x86_64 on XFree86-4.3.0-xlib-dual-malloc-memleak-lcPrTxt.c.patch and
- Disable XFree86-4.3.0-missing-SharedXfooReqs.patch temporarily as it breaks
xauth + ssh on s390, and thus requires deeper investigation
- Build 4.3.0-8 for rawhide, and 4.3.0-8.RHEL.0 for RHEL devel
*** Bug 90200 has been marked as a duplicate of this bug. ***
echo 0 > /proc/sys/kernel/exec-shield
in /etc/rc.local which doesn't help at all. The resulting messages are:
May 6 12:51:15 d111 init: Id "x" respawning too fast: disabled for 5 minutes
May 6 12:51:15 d111 init: Id "1" respawning too fast: disabled for 5 minutes
May 6 12:51:15 d111 init: Id "2" respawning too fast: disabled for 5 minutes
May 6 12:51:15 d111 init: Id "3" respawning too fast: disabled for 5 minutes
May 6 12:51:15 d111 init: no more processes left in this runlevel
... indicating something got hosed bigtime. If I keep exec-shield at 2 (which
was the default?) everything runs up to the point where X starts, as originally
Same thing with 2.4.20-1.1985
so did you install the new, fixed X ?
I've had XFree86 4.3.0-8 installed since May 4th, looks like it is the latest
and greatest. I know that according to the changelog it should contain the fix. ;-)
There was an additional problem in the patch in 4.3.0-8, which is fixed in
4.3.0-10. Please upgrade to 4.3.0-10.
Yup, 4.3.0-10 makes X11 work under kernel 2.4.20-1.1985.
However, there seems to be some problems with metacity/gnome. If I start my
normal session I immediately get the following error in .xsession-errors:
GThread-ERROR **: file gthread-posix.c: line 135 (): error 'No such process'
during 'pthread_getschedparam (pthread_self(), &policy, &sched)'
I'm unsure where/what causes this.
Starting failsafe from gdm and then running twm from an xterm works okay.
That error doesn't have anything to do with XFree86 or the kernel. You'll
have to file a new bug report for that if you think it is a bug.
Closing report as fixed in latest rawhide packages. (4.3.0-10)