Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381483 - net-fs/autofs-5.0.6-r1 hangs on shutdown when DHCP client is stopped before autofs
Summary: net-fs/autofs-5.0.6-r1 hangs on shutdown when DHCP client is stopped before a...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 20:00 UTC by Timo A. Hummel
Modified: 2011-09-29 09:38 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 Timo A. Hummel 2011-09-01 20:00:56 UTC
I've got both DHCP and autofs. When I shutdown my machine, it hangs at "Unmounting network filesystems" because DHCP is shut down prior to autofs.

This should be fixed.

Reproducible: Always
Comment 1 Timo A. Hummel 2011-09-01 20:01:12 UTC
Portage 2.3-r4 (default/linux/amd64/2008.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 3.0.3-gentoo x86_64)
=================================================================
System uname: Linux-3.0.3-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.1.8
Portage Tree: /usr/portage
Portage HEAD: 61dafb2c463350c37cc63c1d237c7051ddb7eebb /usr/portage/.git/refs/heads/funtoo.org
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r2
sys-apps/openrc:          0.8.3-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo floppym betagarden
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j18"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/floppym /var/lib/layman/betagarden"
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_USER="root"
USE="X a52 aac acl acpi alac alsa amd64 autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cardbus cdda cdr cli consolekit cracklib crypt cscope cups cxx dbus dga dhclient dhcpcd dri dts dvb dvd dvdr dvdread emboss encode esd exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran gdbm gdu gif gnome gnome-keyring gpm gtk guile iconv id3tag imlib ipv6 java jpeg jpeg2k kerberos ladspa lame laptop lcms ldap libffi libnotify libsamplerate lv2 lzo mad mdnsresponder-compat midi mmx mng modules mp3 mp4 mpeg mudflap multilib mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin nss ntp ogg opengl openmp oss pam pango pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 quicktime readline resolvconf samba sdl session smp speex spell sse sse2 ssl ssse3 startup-notification static-libs svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb vim-syntax vorbis wavpack wmf x264 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php-5.3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 2 Timo A. Hummel 2011-09-01 20:01:58 UTC
The same issue occurs on my laptop, where I use wicd instead of DHCP(cd).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-05 11:34:27 UTC
Please tell us which version of net-fs/autofs you have.
Comment 4 Timo A. Hummel 2011-09-08 10:29:20 UTC
it's net-fs/autofs-5.0.6-r1
Comment 5 Dustin Polke 2011-09-12 16:03:57 UTC
(In reply to comment #4)
> it's net-fs/autofs-5.0.6-r1
Does this happen with other versions of autofs as well or is this behavior unique to 5.0.6-r1?
Comment 6 Dustin Polke 2011-09-19 08:14:04 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > it's net-fs/autofs-5.0.6-r1
> Does this happen with other versions of autofs as well or is this behavior
> unique to 5.0.6-r1?

Could you please give more detailed information about the configuration of your network adapters and dhcpcd?
Comment 7 Dustin Polke 2011-09-29 09:38:16 UTC
Please re-open if you can provide the requested information. Thanks.