Bug 104657 - /etc/init.d/xdm stop/restart does not work anymore with baselayout-1.12
Bug#: 104657 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: volkerarmin@googlemail.com
Component: baselayout
URL: 
Summary: /etc/init.d/xdm stop/restart does not work anymore with baselayout-1.12
Keywords:  
Status Whiteboard: 
Opened: 2005-09-02 17:02 0000
Description:   Opened: 2005-09-02 17:02 0000
Hi,  
  
appromimatly twice a week I am stopping kdm with /etc/init.d/xdm stop 
 
But when tried today, it does not work anymore. 
 
It shows 'Stopping kdm' and its 'ok' but it happens nothing. 
 

Reproducible: Always
Steps to Reproduce:
1.have kdm start in a normal boot 
2. try to stop kdm with /etc/init.d/xdm stop 
3. 
 
Actual Results:  
kdm+X are running happily  

Expected Results:  
kdm+X should not be running 

emerge info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo 
i686) 
================================================================= 
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.12.0_pre7 
ccache version 2.4 [enabled] 
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-frename-registers -fweb -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-frename-registers -fweb -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig candy ccache distlocks notitles sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
LC_ALL="de_DE@euro" 
LINGUAS="de" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 16bit 3dnow 3dnowext 3ds 7zip S3TC X X509 a52 aac aalib acpi alsa audiofile avi 
bash-completion berkdb bitmap-fonts bl bluetooth bzip2 bzlib cairo caps cdparanoia cdr clamav 
cpudetection crypt css ctype curl dga dio divx4linux dnd dpms dri dvd dvdr dvdread editor edl 
eds emacs-w3 emboss encode exif expat experimental fame fat fb fbcon ffmpeg fftw flac 
fortran freetype ftp gcc-libffi gd gdbm gif gimp glitz glx gnokii graphviz gs gstreamer gtk gtk2 
hal icq imagemagick imlib irmc jack jack-tmpfs java javascript jce joystick jp2 jpeg jpeg2k 
kadmos kde kdeenablefinal kdepim ladcca lesstif libg++ libwww lm_sensors lzw lzw-tiff mad 
maildir maps matroska mikmod mime mjpeg mmap mmx mmxext mng monkey motif mp3 
mpeg mpi mplayer mule music mysql ncurses nls no-htdocs no-old-linux noamazon nocd 
nodrm noflagstrip nosendmail nowin nptl nvidia objc offensive ogg oggvorbis openal opengl 
oscar pam pam_console pam_timestamp pdflib perl physfs pic png posix povray python 
qemu-fast qt quicktime rar readline real reiserfs rogue samba scanner sdl sendfile sensord 
server sharedmem shorten slang sms sndfile snmp sockets sounds speex spell sqlite sse 
sse-filters ssl stencil-buffer subtitles svg sysfs szip tcltk tcpd tga theora threads tiff timidity 
tools transcode truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 
vanilla vcd videos vidix visualization vorbis win32codecs wmf wsconvert xanim xemacs xine 
xinerama xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi 
linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS

------- Comment #1 From SpanKY 2005-09-02 18:52:00 0000 -------
does it work with baselayout-1.11.13 ?

------- Comment #2 From Volker Hemmann 2005-09-03 11:54:09 0000 -------
Hi  
  
baselayout 1.11.13-r1 works fine, just tried it (and 1.11.13 worked fine, back when it  
was installed).  
  
I have to restart alsasound after every boot, and this workes in 1.11.13 and 
1.12.0_pre7. 
 
Only kdm/X is not interessted what I am doing, except start ... 

------- Comment #3 From SpanKY 2005-09-03 12:12:06 0000 -------
you could give 1.12.0_pre8-r1 a try

------- Comment #4 From Volker Hemmann 2005-09-03 12:27:12 0000 -------
Hi,  
  
with 1.12.0_pre8-r1 /etc/init.d/xdm stop does not work. 
 
I did an etc-update and rebooted, to make sure ;) 

------- Comment #5 From Roy Marples (RETIRED) 2005-09-04 23:17:49 0000 -------
Bug in xdm script, should be -exec and not -exe

------- Comment #6 From Roy Marples (RETIRED) 2005-09-04 23:19:04 0000 -------
Created an attachment (id=67662) [details]
make xdm use correct start-stop-daemon call

Not sure if this applies 100% clean as I have a slightly modified xdm, but it
should fix the reported bug

------- Comment #7 From Volker Hemmann 2005-09-05 11:19:00 0000 -------
Hi, 
 
I tried it and yes, it does. 
/etc/init.d/xdm stop now stops X/kdm. 

------- Comment #8 From Donnie Berkholz 2005-09-05 17:41:33 0000 -------
*** Bug 99436 has been marked as a duplicate of this bug. ***

------- Comment #9 From Christoph Kluge 2005-09-06 03:16:01 0000 -------
*** Bug 104989 has been marked as a duplicate of this bug. ***

------- Comment #10 From Joshua Baergen (RETIRED) 2005-09-06 13:22:57 0000 -------
Fixed in modular.

------- Comment #11 From Seemant Kulleen (RETIRED) 2005-09-12 07:16:08 0000 -------
fixed in monolithic 6.8.2-r3

------- Comment #12 From Seemant Kulleen (RETIRED) 2005-09-12 07:16:29 0000 -------
closing since it seems to be fixed everywhere.