Date: Mon, 10 Aug 2009 10:24:44 GMT From: Jochen Keil <j.keil@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/137629: background_dhclient rc.conf option causing double nfs mounts Message-ID: <200908101024.n7AAOisD037293@www.freebsd.org> Resent-Message-ID: <200908101030.n7AAU2rE094024@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137629 >Category: misc >Synopsis: background_dhclient rc.conf option causing double nfs mounts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 10 10:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jochen Keil >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD monolith.lokal.lan 7.2-STABLE FreeBSD 7.2-STABLE #0: Wed Aug 5 10:11:22 CEST 2009 root@monolith.lokal.lan:/usr/obj/usr/src/sys/MONOLITH i386 >Description: One or more NFS mountpoints listed in fstab similar to this one: 192.168.1.1:/pub /pub nfs ro,-b,-i 0 0 set background_dhclient="YES" in /etc/rc.conf. This will result in /pub (and other mountpoints) getting mounted twice on boot. Output from mount looks something like that: $ mount [..] 192.168.1.1:/pub on /pub (nfs, read-only) [..] 192.168.1.1:/pub on /pub (nfs, read-only) Setting background_dhclient="NO" fixes the problem. >How-To-Repeat: Set background_dhclient="YES" in /etc/rc.conf and put a NFS mount with option "-b" into /etc/fstab. >Fix: Set background_dhclient="NO" in /etc/rc.conf >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908101024.n7AAOisD037293>