conf/86260: the weak_mountd_authentication flag from /etc/rc.conf is not taken into account

Thierry Herbelot thierry at herbelot.com
Sun Sep 18 01:50:18 PDT 2005


The following reply was made to PR conf/86260; it has been noted by GNATS.

From: Thierry Herbelot <thierry at herbelot.com>
To: bug-followup at 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


More information about the freebsd-bugs mailing list