1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/etc
Dimitry Andric 66aa9b8dc9 Whenever you boot with nfsv4_server_enable=NO (the default) in rc.conf,
the /etc/rc.d/nfsd script sets vfs.nfsd.server_max_nfsvers to 3.

Then, when you set nfsv4_server_enable=YES in rc.conf, and restart nfsd
via the rc.d script, without rebooting, the sysctl does *not* get reset
to max version 4, so NFSv4 still doesn't work.

Fix this by explicitly setting vfs.nfsd.server_max_nfsvers to 4 when
NFSv4 is requested.

I also added resetting of the nfs_privport sysctls, since this has the
same issue: nfs_reserved_port_only=YES in rc.conf sets the nfs_privport
sysctl to 1, but in the other case, the sysctl doesn't get reset to 0.

Reviewed by:	rmacklem
Silence from:	rc@
MFC after:	3 days
2011-11-05 16:47:47 +00:00
..
bluetooth
defaults Increase default scrub threshold from 30 days to 5 weeks. Using 2011-10-27 21:25:41 +00:00
devd Add new USB IDs to RUN driver. Update usb.conf. 2011-10-19 10:09:01 +00:00
etc.amd64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.arm Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.i386 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.ia64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.mips Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.pc98 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.powerpc Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.sparc64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
gss
mail o Add user 'hast'. 2011-01-31 07:47:28 +00:00
mtree Revive the LLVM and Clang license files, which were removed in my 2011-09-29 18:12:40 +00:00
namedb Commemorate the release of RFC 6303 by updating the comments regarding 2011-07-17 06:20:47 +00:00
pam.d Forgot to commit this change along with r219563: pam_group(8) now issues 2011-03-15 10:13:35 +00:00
periodic Increase default scrub threshold from 30 days to 5 weeks. Using 2011-10-27 21:25:41 +00:00
ppp
rc.d Whenever you boot with nfsv4_server_enable=NO (the default) in rc.conf, 2011-11-05 16:47:47 +00:00
root
sendmail Minor change to force commit this file so new freebsd*.cf files are 2011-06-14 04:34:20 +00:00
amd.map
apmd.conf
auth.conf
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf - Add support for a "!" character in regex matching in devd(8). It inverts 2011-10-26 02:11:28 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers o Add user 'hast'. 2011-01-31 07:47:28 +00:00
gettytab
group Add 'hast' user and 'hast' group that will be used by hastd (and maybe hastctl) 2011-01-28 22:28:12 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf
libalias.conf
login.access
login.conf
mac.conf
Makefile Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
man.alias
master.passwd Change hast user home directory to /var/empty. 2011-01-28 22:29:38 +00:00
minfree
motd Fix path to the handbook and provide a hint about how to install it if it 2011-08-26 14:05:48 +00:00
netconfig
netstart
network.subr Add support for removing addresses added by ipv6_prefix_hostid_addr_up() 2011-10-23 07:37:36 +00:00
networks
newsyslog.conf Updated `flags' field description. 2011-05-03 12:22:46 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf
opieaccess
pccard_ether
pf.os Sync pf.os with OpenBSD: 2011-09-08 23:46:07 +00:00
phones
portsnap.conf Now that the portsnap buildbox is generating the raw bits for INDEX-9, 2011-10-12 03:29:12 +00:00
printcap
profile
protocols
rc Rather than trusting that nothing is going to sneak in before the 2011-04-29 21:10:41 +00:00
rc.bsdextended
rc.firewall
rc.initdiskless
rc.resume
rc.sendmail
rc.shutdown
rc.subr rc.subr: Make sure all functions are under if [ -z "${_rc_subr_loaded}" ]. 2011-06-19 15:23:32 +00:00
rc.suspend
regdomain.xml More Japan regulatory domain fixes: 2011-07-14 05:49:35 +00:00
remote
rpc
services
shells
snmpd.config
sysctl.conf
syslog.conf
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00