From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 18 08:50:18 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17E5816A41F for ; Sun, 18 Sep 2005 08:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD54443D46 for ; Sun, 18 Sep 2005 08:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8I8oHEK021108 for ; Sun, 18 Sep 2005 08:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8I8oH0u021107; Sun, 18 Sep 2005 08:50:17 GMT (envelope-from gnats) Date: Sun, 18 Sep 2005 08:50:17 GMT Message-Id: <200509180850.j8I8oH0u021107@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thierry Herbelot Cc: Subject: Re: conf/86260: the weak_mountd_authentication flag from /etc/rc.conf is not taken into account X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Herbelot List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 08:50:18 -0000 The following reply was made to PR conf/86260; it has been noted by GNATS. From: Thierry Herbelot To: bug-followup@freebsd.org Cc: Subject: Re: conf/86260: the weak_mountd_authentication flag from /etc/rc.conf is not taken into account Date: Sun, 18 Sep 2005 10:49:28 +0200 the following diff (inspired by /etc/rc.d/named) solves the problem : 32c32 < mountd_flags="${mountd_flags} -n" --- > rc_flags="${rc_flags} -n" 36c36 < checkyesno weak_mountd_authentication && mountd_flags="-n" --- > checkyesno weak_mountd_authentication && rc_flags="${rc_flags} -n" the point is to use the correct "rc_flags" variable instead of "mountd_flags" which is later overwritten. TfH