Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174271 - x11-apps/xinit-1.0.3-r2 creates invalid /etc/init.d/xdm which won't launch entrance
Summary: x11-apps/xinit-1.0.3-r2 creates invalid /etc/init.d/xdm which won't launch en...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 12:43 UTC by Alan McKinnon
Modified: 2007-04-13 08:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan McKinnon 2007-04-12 12:43:41 UTC
xinit-1.0.3-r2 installs /etc/init.d.xdm with the following typo on line 69:

68:                entrance*)
69:                        EXE=/usr/sbin/etranced
70:                        PIDFILE=/var/lib/entranced.pid
71:                        ;;

which obviously won't launch entranced

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/xdm {,re}start
2.
3.

Actual Results:  
the script starts the default dm - xdm - instead of entrance

Expected Results:  
entrance should run

Portage 2.1.2.3 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r1, 2.6.20-vs2.3.0.11-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.3.0.11-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 10 Apr 2007 10:30:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/var/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="/mnt/distfiles/ ftp://ftp.is.co.za/mirror/gentoo.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="af en en_GB en_US en_ZA"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/enlightenment /var/portage/local/alan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns aiglx alsa apache2 apm audiofile avahi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl curlwrappers dbus dbx dga directfb dri dts dv dvb dvd dvdr dvdread encode fam fbcon ffmpeg firefox flac foomaticdb freetds ftp gd gdbm gif gimp glitz gnutls gpm gtk gtk2 gtkhtml hal howl iconv imagemagick imap imlib irda irmc jabber javascript jbig jce jpeg jpeg2k kdeenablefinal lcms lesstif libc_glibc libcaca libg++ libwww lm_sensors mad maildir matroska mbox mcal midi mikmod milter mime mmx mng motif mp3 mpeg mysql mysqli ncurses netboot nptl nsplugin odbc offensive ogg openal opengl pam pango pcmcia pcre pdf perl php plotutils pmu png posix postgres ppds pppd profile python qt3 quicktime readline reflection samba scanner sdl session slp sms spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysvipc tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb utempter vcd vorbis wifi win32codecs wmf wxwindows x264 x86 xattr xcomposite xine xinetd xml xorg xosd xpm xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="af en en_GB en_US en_ZA" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-12 20:46:55 UTC

*** This bug has been marked as a duplicate of bug 174071 ***
Comment 2 Alan McKinnon 2007-04-13 07:25:43 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 174071 ***
> 

I fail to see how these two bugs can be duplicates. This one is a simple typo in the initscript, and 174071 is a completely different thing.

Please reopen this bug
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-13 07:36:04 UTC
Eh... Uberlord's a bad boy :P

http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/files/xdm.initd?r1=1.2&r2=1.3
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-04-13 08:23:34 UTC
I'm a very naughty boy :/

Fixed in -r3