[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#2138: mach8 xserver is not suid root

> When I started X, I got a complaint (from the server) that it was not
> installed suid root.

Ok, something definitely went wrong.

> Was 'X' a wrapper program before?

No. In Debian 0.93R6 /usr/X11R6/bin/X was a symlink to /etc/X11/X, which 
was a symlink to the real server. The server was suid root.

In the new X packages, /usr/X11R6/bin/X is a suid root wrapper program 
that reads a config file /etc/X11/Xserver. /etc/X11/X is a symlink to 
/usr/X11R6/bin/X for compatibility, but I'd like to remove it eventually.

> In retrospect, my problem was obviously one of a botched upgrade.  My
> 'X' file was a symlink to XF86_Mach8.

Hopefully it shouldn't be possible to botch an upgrade - the fact that 
you managed to end up with the wrong things shows that my 
preinst/postinst scripts are inadequate at the moment.

Could you tell me which versions of the packages you were upgrading from 
and to, and in which order you installed them?

> Should the error message be changed?

I'll try and make it more clear, if I can find it in the server source...

Steve Early

Reply to: