Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22400 - runscript mechanism uses /mnt
Summary: runscript mechanism uses /mnt
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-07 09:57 UTC by salmiakki
Modified: 2004-01-18 04:01 UTC (History)
1 user (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 salmiakki 2003-06-07 09:57:26 UTC
I've upgraded portage and done an etc-update today, it may or may not have to do 
with the bug.
Anyway, when doing something like "/etc/init.d/samba start" the runscript 
mechanism uses /mnt/.init.d for unknown reasons, so if I have mounted something 
at /mnt, it fails.

Reproducible: Always
Steps to Reproduce:
1.mount something at /mnt
2.start/stop an init script, eg. /etc/init.d/inetd stop
3.profit!

Actual Results:  
r5d4 root # mount /mnt
mount: /dev/hdd6 already mounted or /mnt busy
mount: according to mtab, /dev/hdd6 is already mounted on /mnt
r5d4 root # /etc/init.d/inetd start
cat: /mnt/.init.d/softlevel: No such file or directory
/sbin/runscript.sh: /mnt/.init.d/foo.sh: No such file or directory
 * ERROR:  "/etc/init.d/inetd" has syntax errors in it; not executing...


Expected Results:  
/mnt shouldn't be used by init scripts






Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP 1700+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.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=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif java jpeg kde gnome libg++ 
libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell svga truetype xml2 
xmms xv zlib alsa gdbm berkdb slang readline tcltk guile X sdl gpm tcpd pam ssl 
perl python esd imlib oggvorbis gtk qt motif opengl mozilla gphoto2 scanner"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-09 07:08:10 UTC
what version of baselayout?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-17 14:05:05 UTC
Still an issue?
Comment 3 Andrew Cooks (RETIRED) gentoo-dev 2004-01-18 04:01:56 UTC
No feedback from reporter.

Closing as NEEDINFO.