Hi,
Still running some LM7.2 systems and have had some occasions where X would not
start.
LM7.2 comes with XFree86 v3.3.6 and v4.0.1; but shortly after installing 7.2,
XFree86 v4.0.3 came out and I installed that manually...
4.0.3 changed the ownership of xfs to xfs.xfs... however, xfs tries to write
xfs.pid into /var/run which is impossible with:
drwxr-xr-x 5 root root 4096 Sep 10 10:48 /var/run/
^ ^
So, I changed /var/run to:
drwxrwxrwx 5 root root 4096 Sep 10 10:48 /var/run/
since I could not get an answer at the time.
On occasion, the permissions of /var/run would get magically changed back to 755
causing X to fail to start because there was no xfs server, in turn because xfs
could not write its PID file to /var/run... Finally tracked this down to
linuxconf which returns the /var/run permissions to 755:
> # netconf --status
> List of things required to activate current configuration
> Changing permissions of file /var/run from 40777 to 40755
So.... gotta ask again... does anyone know the correct way to fix this...?
Either /var/run needs to allow non-root processes, linuxconf should butt out, or
xfs needs to write xfs.pid elsewhere...? Other...?
Thanks,
Pierre
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com