Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194967 - Shutdown on diskless client (NFS) fails
Summary: Shutdown on diskless client (NFS) fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 08:43 UTC by Matthias Fechner
Modified: 2007-10-15 11:22 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 Matthias Fechner 2007-10-07 08:43:52 UTC
Diskless client cannot shutdown, it hangs while running the shutdown script "/etc/init.d/netmount stop".

Reproducible: Always

Steps to Reproduce:
Build up a diskless client which boots over pxe and mount everything over NFS (including the root filesystem) then shutdown the system.
Actual Results:  
The system will hang in the stop procedure of /etc/init.d/netmount.

Expected Results:  
The problem is that netmount umount all filesystems including the root filesystem so the shutdown procedure is not able to finish the shutdown procedure.
So netmount should check if the filesystem is the root filesystem and if that is the case do not umount it.
Comment 1 SpanKY gentoo-dev 2007-10-07 17:00:22 UTC
you didnt post `emerge --info` like the bug report page told you to ... also, post your /etc/conf.d/rc and /etc/conf.d/net
Comment 2 Matthias Fechner 2007-10-07 21:26:23 UTC
emerge --info gives:
Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, unavailable, 2.6.22-gentoo-r5-diskless i686)
=================================================================
System uname: 2.6.22-gentoo-r5-diskless i686 Pentium II (Deschutes)
Timestamp of tree: Thu, 04 Oct 2007 19:00:04 +0000
ccache version 2.4 [enabled]
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
MAKEOPTS=""
PKGDIR="/usr/portage/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="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox fortran gdbm gif gnome gpm gstreamer hal iconv imagemagick ipv6 isdnlog jpeg ldap libg++ lirc mad midi mikmod mjpeg mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

/etc/rc.conf:
UNICODE="yes"
EDITOR="/usr/bin/vim"

/etc/conf.d/net:
config_eth0=( "noop" )

Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-10-15 11:22:06 UTC
This should be fixed in baselayout-2.0.0_rc5