Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211229 - x11-apps/xinit - startx running wrong xinitrc
Summary: x11-apps/xinit - startx running wrong xinitrc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-24 03:06 UTC by Chris Bandy
Modified: 2009-12-08 07:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xinit-sysconfdir.patch (xinit-sysconfdir.patch,456 bytes, patch)
2008-02-24 03:07 UTC, Chris Bandy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bandy 2008-02-24 03:06:12 UTC
After an upgrade recently, startx seemed to be ignoring the XSESSION set in rc.conf.

/usr/bin/startx contained:
sysclientrc=/usr/lib/X11/xinit/xinitrc

instead of the expected:
sysclientrc=/etc/X11/xinit/xinitrc

I traced back to Makefile.in in the unpacked source.


Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Celeron(R) CPU 440 @ 2.00GHz
Timestamp of tree: Sat, 23 Feb 2008 17:45:04 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://brahe/gentoo http://gentoo.mirrors.tds.net/gentoo"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac gdbm gif gnutls gpm gtk hal iconv ieee1394 isdnlog jpeg jpeg2k kde kerberos lame ldap mad midi mikmod mmap mmx mng mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 sse3 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l2 vcd vim-syntax vorbis win32codecs x264 x86 xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Bandy 2008-02-24 03:07:12 UTC
Created attachment 144474 [details, diff]
xinit-sysconfdir.patch

This change to the ebuild fixed for me.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-23 11:12:01 UTC
Not reproducible at all...

$ grep sysclientrc= `which startx`; qlist -CIv xinit
sysclientrc=/etc/X11/xinit/xinitrc
x11-apps/xinit-1.0.8
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-06-23 20:04:49 UTC
Indeed, this bug is a little weird as the Makefile.am patch is indeed correct.

If you can still reproduce, please don't hesitate to reopen this bug.

Thanks
Comment 4 Caleb Gray 2009-12-07 20:27:24 UTC
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_Extreme_CPU_Q6850_@_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 05 Dec 2009 22:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amr apache2 bash-completion berkdb bindist bluetooth branding bzip2 cairo cddb cdinstall cdparanoia cdr cgi cli consolekit cracklib crypt cups curl curlwrappers cxx dbus divx dri dts dv dvd dvdr dvdread eds emboss encode evo exif fam fbcondecor ffmpeg firefox flac fortran gcj gd gdbm gif gmp gpm gstreamer gtk gtk2 hal iconv icq ieee1394 imagemagick imlib inotify ipv6 ithreads jabber java javascript jikes joystick jpeg jpeg2k kerberos kqemu lame lcms ldap libnotify lm_sensors lzo mad matroska mcal mikmod mime mmap mmx mmxext mng modules mono mp3 mp4 mpeg mplayer msn mudflap musepack mysql mysqli ncurses nls nocd nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pda pdf perl php png posix ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline realmedia reflection scanner sdl server session sharedext smp spell spl sse sse2 sse3 ssse3 startup-notification subversion suid svg sysfs syslog tcpd theora threads thunar tiff timidity truetype unicode usb vcd videos vorbis win32codecs wmf wxwindows x264 x86 xattr xcomposite xine xinerama xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Caleb Gray 2009-12-07 20:29:26 UTC
Hey guys, first post-- sorry.. should have put emerge info in this post. Anyway, I just built Gentoo from scratch using one of the Stage3 files from a few days ago and have run into this problem. I'm just going to setup the xinitrc so that it uses Xfce4, but right now my XSESSION variable is being ignored completely.

I will not fix the problem so that we can resolve this bug correctly this time.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-12-08 07:25:11 UTC
(In reply to comment #5)
> Hey guys, first post-- sorry.. should have put emerge info in this post.
> Anyway, I just built Gentoo from scratch using one of the Stage3 files from a
> few days ago and have run into this problem. I'm just going to setup the
> xinitrc so that it uses Xfce4, but right now my XSESSION variable is being
> ignored completely.
> 
> I will not fix the problem so that we can resolve this bug correctly this time.

Please file another bug and please fully explain your issue.

Thanks