xf86EnableIOPorts: Failed to set IOPL for I/O

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

xf86EnableIOPorts: Failed to set IOPL for I/O

Postby krustylicious » Fri Jan 19, 2007 10:37 am

Hi im getting this on a fedora core 4 fresh install (it is a image install on a hosting provider)

When i have done yum install vnc-server
and yum install x11-xorg

When i do startx
the output is this

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/s15242077.onlinehome-server.info:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-22.18.bz155725.ELsmp i686 [ELF]
Current Operating System: Linux s15242077.onlinehome-server.info 2.6.16.33-061227b #1 SMP Wed Dec 27 11:49:29 CET 2006 i686
Build Date: 02 May 2006
Build Host: hs20-bc1-5.build.redhat.com

Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.16.33-061227b (root@doslog) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Wed Dec 27 11:49:29 CET 2006
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 19 15:32:07 2007

Fatal server error:
xf86EnableIOPorts: Failed to set IOPL for I/O


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

/var/logs/messages gives me this


Jan 19 15:32:07 s15242077 kernel: grsec: denied use of ioperm() by /usr/X11R6/bin/Xorg[Xorg:3077] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:3204] uid/euid:0/0 gid/egid:0/0

Any ideas peps
krustylicious
 
Posts: 2
Joined: Fri Jan 19, 2007 10:32 am

Pilot error

Postby Alexei.Sheplyakov » Fri Jan 19, 2007 11:29 am

krustylicious wrote:
/var/logs/messages gives me this


Jan 19 15:32:07 s15242077 kernel: grsec: denied use of ioperm() by /usr/X11R6/bin/Xorg[Xorg:3077] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:3204] uid/euid:0/0 gid/egid:0/0



Make sure you have
Code: Select all
# CONFIG_GRKERNSEC_IO is not set

in your kernel config. Read the help text for that option for more info.
Alexei.Sheplyakov
 
Posts: 53
Joined: Sun Feb 19, 2006 11:48 am

Re: Pilot error

Postby krustylicious » Fri Jan 19, 2007 12:51 pm

Alexei.Sheplyakov wrote:
krustylicious wrote:
/var/logs/messages gives me this


Jan 19 15:32:07 s15242077 kernel: grsec: denied use of ioperm() by /usr/X11R6/bin/Xorg[Xorg:3077] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:3204] uid/euid:0/0 gid/egid:0/0



Make sure you have
Code: Select all
# CONFIG_GRKERNSEC_IO is not set

in your kernel config. Read the help text for that option for more info.


so a re-compile of the kernal is needed?
krustylicious
 
Posts: 2
Joined: Fri Jan 19, 2007 10:32 am

Re: xf86EnableIOPorts: Failed to set IOPL for I/O

Postby To » Thu Mar 12, 2009 6:59 am

I was looking for this. Thanx;)
To
 
Posts: 22
Joined: Thu Dec 05, 2002 8:26 am


Return to grsecurity support