Summary: | x11-apps/xdm start failure after migrating to openrc-0.6.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Kohnert <bughunter> |
Component: | [OLD] baselayout | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED CANTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
startDM.sh
startDM.sh (new) |
Description
Jan Kohnert
2010-02-16 16:48:13 UTC
The /etc/X11/startDM.sh installed by x11-apps/xinit was last changed almost 3 years ago and is fully (backward) compatible with baselayout-1, it seems - ${svclib} is only used when get_options isn't exported. On a baselayout-2 system: elmer ~ # ( . /etc/init.d/functions.sh ; type get_options; ) get_options is /lib/rc/bin/get_options And the same with baselayout-1: marga ~ # ( . /etc/init.d/functions.sh ; type get_options; ) bash: type: get_options: not found Only in the latter case does startDM.sh try to source "${svclib}"/sh/rc-services.sh. Please post your `emerge --info x11-apps/xinit' and reopen this bug report. OK, here's the one from the old installation (from my backup): kohni ~ # emerge --info x11-apps/xinit !!! It seems that /proc is not mounted. You have been warned. Portage 2.1.7.16 (unavailable, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-with-gentoo-1.12.13 Timestamp of tree: Unknown dev-lang/python: 2.6.4 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_LICENSE="* -@EULA @FSF-APPROVED @EULA" CFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowext X509 a52 aac additions aim arts audiofile bash-completion cddb cdparanoia cjk cpudetection cupsddk curl dga divx dvb dvipdfm embedded emerald exif expat extra ffmpeg flac fts3 gcj gd git glitz glut gmedia gmp graphics gtkhtml history icq idn imagemagick imlib jabber jack jack-esd jadetex java kpathsea ladspa lcms libsamplerate libwww lm_sensors lv2 lzo mhash mjpeg mmx mmxext mng motif mplayer musicbrainz mysql nsplugin offensive openexr oscar plplot pmount policykit realmedia regex samba scanner science slang smartcard snmp sql sqlite sse sse2 subtitles subversion svga swat tcl tcltk theora threads tk v4l v4l2 vcd vim vim-syntax vim-with-x webkit winbind wmf wmp xcb xcomposite xine xvid zeroconf" Unset: ACCEPT_KEYWORDS, EMERGE_DEFAULT_OPTS ================================================================= Package Settings ================================================================= x11-apps/xinit-1.2.0-r3 was built with the following: USE="elibc_glibc kernel_linux minimal pam userland_GNU x86 -debug" LDFLAGS="-Wl,-O1" kohni ~ # Interestingly, the file is quite old: kohni ~ # la /etc/X11/startDM.sh -rwxr-xr-x 1 root root 932 19. Feb 2006 /etc/X11/startDM.sh kohni ~ # (I will post the content later.) This is from the new installation: kohni ~ # emerge --info x11-apps/xinit Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-TM-_XP_3000+-with-gentoo-2.0.1 Timestamp of tree: Wed, 17 Feb 2010 15:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED @EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="de zh_CN zh_TW ko" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowext X X509 a52 aac acpi additions aim alsa arts audiofile bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cjk cli consolekit cpudetection cracklib crypt cups cupsddk curl cxx daap dbus dga divx dri dts dvb dvd dvdr dvipdfm embedded emboss emerald encode exif expat extra ffmpeg firefox flac fortran fts3 gcj gd gdbm gif git glitz glut gmedia gmp gpm graphics gstreamer gtk gtkhtml hal history iconv icq idn imagemagick imlib ipv6 jabber jack jack-esd jadetex java jpeg kde kpathsea ladspa lastfm lcms ldap libnotify libsamplerate libwww lm_sensors lv2 lzo mad mhash mjpeg mmx mmxext mng modules motif mp3 mp4 mpeg mplayer mtp mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pcre pdf perl plplot pmount png policykit ppds python qt3support qt4 quicktime readline realmedia reflection regex samba scanner science sdl session slang smartcard snmp spell spl sql sqlite sse sse2 ssl startup-notification subtitles subversion svg svga swat sysfs tcl tcltk tcpd theora threads thunar tiff tk truetype unicode usb v4l v4l2 vcd vim vim-syntax vim-with-x vorbis webkit win32codecs winbind wmf wmp x264 x86 xcb xcomposite xine xml xmlrpc xorg xulrunner xv xvid zeroconf 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" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de zh_CN zh_TW ko" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa v4l r128 via" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= x11-apps/xinit-1.2.0-r3 was built with the following: USE="minimal pam -debug" kohni ~ # Created attachment 220157 [details]
startDM.sh
This is the file from my installation before the reinstall of xinit. This version is from 2006...
Created attachment 220161 [details]
startDM.sh (new)
This is the version of the reinstalled xinit.
if you're 3 years behind you're pretty much on your own :) (In reply to comment #5) > if you're 3 years behind you're pretty much on your own :) > Well, let me make one thing clear: I'm not behind anything. :) I run sync and update roughly once a week. lafilefixer and revdep-rebuild are run in that intervalls, too. But somehow, this one file didn't get updated, don't ask me why. The installation I'm talking about is from 2003/2004, can't remember in detail and updated since then. What I was asking for, is to simply add a ewarn/elog to the baselayout-2/openrc/whatever ebuild saying something like "If you have trouble starting your graphical login manager, please remerge xinit befoure filing a bugreport"; probably to openrc, since there are already a lot of messages of that kind. It took me about a quarter of an hour to find out what's really wrong, and a less experienced user could possibly give up, since there is no error message, it just doesn't work. I would call such a message user-friendly, but that's just my personal point of view. Anyway, if there is anybody out there running in the same situation, this report might be helpful to find the solution. :) Best regards Jan |