After upgrading from xfree-4.3.0-r3 to 4.3.0-r4, I can no longer start X as a standard user. My current workaround is to just use gdm to let users login for X. (18:01:14 Fri Feb 13 2004 jeremy@eradicator) ~ $ X Fatal server error: Cannot open log file "/var/log/XFree86.0.log" When reporting a problem related to a server crash, please send the full server output, not just the last messages. Please report problems to xfree86@xfree86.org. (18:01:17 Fri Feb 13 2004 jeremy@eradicator) ~ $ ls -l /var/log/XFree86.0.log ls: /var/log/XFree86.0.log: No such file or directory (18:01:25 Fri Feb 13 2004 jeremy@eradicator) ~ $ ls -ld /var/log drwxr-xr-x 14 root root 1064 Feb 13 18:01 /var/log $ emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4" DISTDIR="/usr/local/download/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/download/portage/packages-pentium3" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/download/portage" SYNC="rsync://localhost/gentoo-portage" USE="3ds S3TC X X509 Xaw3d aalib acl alsa altivec amd apache2 apm ardour-ksi arts artswrappersuid asterisk atlas autofs avantgo avi berkdb bidi bindist bonobo caps cdr cgi clamav clisp cmucl crypt cscope cups curl dedicated dga directfb dnd doc dv dvd dvdr emacs emacs-w3 encode esd ethereal evo expat faad fam fax fbcon fbdev ffmpeg flac flash foomaticdb freetype fs gb gcl gd gd-external gdbm ggi gif glut gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gpg gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icc imagemagick imap imlib imlib2 innodb ipalias ipv6 jack java javascript jbig jikes joystick jpeg js junit justify kde kerberos krb4 ladcca lcd lcms ldam leim libdsk libg libg++ libgda libwww lids lirc lmtp ltsp lua lucid mad maildir matroska mcal md5sum menu mikmod milter mmx mng motif mozaccess mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpi msn mule music mysql nas ncurses neXt nls nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl openssh oscar oss pam parse-clocks passfile pcap pcmcia pda pdflib perl php pic plotutils png pnp postgres ppds prelude psyco python qhull qt quicktime readline rplay ruby ruby18 samba sasl scanner sdk sdl skey slang slp snmp socks5 sox speex spell sqlite src sse ssl svga tcltk tcpd tetex tiff transcode transparent-proxy truetype trusted type1 unicode usb videos vim-with-x virus-scan wmf wxwin wxwindows x86 xchattext xine xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
Please attach /var/log/XFree86.0.log, and `ls -l /var/log/{X,XFree86}`
er, /usr/X11R6/bin/{X,XFree86}
Hmm... looks like the Xwrapper wasn't setuid after 4.3.0-r4... $ ls -l /usr/X11R6/bin/{X,XFree86,Xwrapper} lrwxrwxrwx 1 root portage 8 Feb 12 02:50 /usr/X11R6/bin/X -> Xwrapper -rwxr-xr-x 1 root root 1858404 Feb 12 02:50 /usr/X11R6/bin/XFree86 -rwx--x--x 1 root root 11197 Feb 12 02:50 /usr/X11R6/bin/Xwrapper And I can't attatch the log file because... well it doesn't exist ;) ~ $ ls -l /var/log/XFree86.0.log ls: /var/log/XFree86.0.log: No such file or directory
Can someone else with 4.3.0-r4 please confirm or deny they're also getting lack of suid on /usr/X11R6/bin/X?
The other 2 systems I updated have did the suid correct... I'm gonna close this as I can't reproduce it on another system...