Date: Tue, 22 Aug 2000 08:54:13 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/20774: 'NFS access cache time=2' is not a daemon Message-ID: <200008220654.e7M6sDN62369@curry.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 20774
>Category: conf
>Synopsis: 'NFS access cache time=2' is not a daemon
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 22 00:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Andre Albsmeier
>Release: FreeBSD 4.1-STABLE i386
>Organization:
>Environment:
All FreeBSD systems
>Description:
When booting a NFS client, the following line is spit out:
Starting final network daemons: mountd nfsd nfsiod NFS access cache time=2 amd rwhod.
It is generated from these lines in /etc/rc.network:
case ${nfs_client_enable} in
[Yy][Ee][Ss])
echo -n ' nfsiod'; nfsiod ${nfs_client_flags}
if [ -n "${nfs_access_cache}" ]; then
echo -n " NFS access cache time=${nfs_access_cache}"
sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} \
>/dev/null
fi
;;
esac
Since 'NFS access cache time=2' is not a daemon we might shut it up
or move it somewhere else, e.g.:
Additional network settings: NFS access cache time=2
>How-To-Repeat:
Boot a NFS client.
>Fix:
Patch for moving it to an additional section:
--- /etc/rc.network.ORI Tue Aug 22 08:49:03 2000
+++ /etc/rc.network Tue Aug 22 08:51:48 2000
@@ -580,11 +580,6 @@
case ${nfs_client_enable} in
[Yy][Ee][Ss])
echo -n ' nfsiod'; nfsiod ${nfs_client_flags}
- if [ -n "${nfs_access_cache}" ]; then
- echo -n " NFS access cache time=${nfs_access_cache}"
- sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} \
- >/dev/null
- fi
;;
esac
@@ -669,6 +664,15 @@
esac
echo '.'
+
+ echo -n 'Additional network settings:'
+ if [ -n "${nfs_access_cache}" ]; then
+ echo -n " NFS access cache time=${nfs_access_cache}"
+ sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} \
+ >/dev/null
+ fi
+ echo '.'
+
network_pass3_done=YES
}
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008220654.e7M6sDN62369>
