Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20152 - win4lin init script in wrong location
Summary: win4lin init script in wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: José Alberto Suárez López
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 03:27 UTC by Zach Bagnall
Modified: 2003-05-24 10:07 UTC (History)
0 users

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 Zach Bagnall 2003-04-29 03:27:25 UTC
The win4lin init script is stored in /etc/rc.d/init.d/ instead of /etc/init.d/.
This prevents it from being easily controlled with rc-update. On my system, at
least, Win4Lin is the only script to end up in /etc/rc.d/init.d/.

Also, the script is owned by gid 6319 and uid 124 and has mode 660.

Reproducible: Always
Steps to Reproduce:
1. emerge win4lin
2. rc-update add Win4Lin default
3. ls -l /etc/rc.d/init.d/Win4Lin

Actual Results:  
Init script Win4Lin installed to /etc/rc.d/init.d

Expected Results:  
Init script Win4Lin installed to /etc/init.d

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-win4lin i686 AMD Athlon(tm) XP 2100+
GENTOO_MIRRORS="ftp://gazza.citylink.co.nz/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow gif jpeg libwww mikmod nls png quicktime berkdb svga tcltk
java guile X gpm tcpd pam perl python imlib qt motif -mmx -arts -kde -esd alsa
apm avi bonobo cdr cjk crypt cups encode evo gb gd gdbm gnome gtk gtk2 gtkhtml
ipv6 ldap leim libg++ libgda maildir mbox mozilla mpeg mule mysql ncurses oggvorbis
opengl pdflib postgres readline sdl slang spell ssl truetype xml xml2 xmms xv
zlib smooth"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 José Alberto Suárez López 2003-05-23 18:43:03 UTC
minime root # ls -l /etc/init.d/Win4Lin
lrwxrwxrwx    1 root     root           24 Apr  9 18:17 /etc/init.d/Win4Lin -> /etc/rc.d/init.d/Win4Lin

You dont have it?
Comment 2 Zach Bagnall 2003-05-23 20:35:09 UTC
Hmm I swear that link wasn't there.
I had to create it my self (and change the perms on /etc/rc.d/init.d/Win4Lin).

I see that the ln command is included in the pkg_config() of win4lin-4.0.16.ebuild. That's good enough for me. I probably skipped that step somehow. I did at least the last few steps by hand.

Thanks.
Comment 3 José Alberto Suárez López 2003-05-24 10:07:54 UTC
nothing, if u still havin gproblems you know...