Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 17:25:49 GMT
From:      nick@foobar.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/6556: /usr/sbin/sysctl should be in /sbin
Message-ID:  <199805081725.RAA00428@peernews.news.iol.net>

next in thread | raw e-mail | index | archive | help

>Number:         6556
>Category:       bin
>Synopsis:       /usr/sbin/sysctl should be in /sbin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May  8 10:30:01 PDT 1998
>Last-Modified:
>Originator:     Nick Hilliard
>Organization:
Ireland On-Line
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	FreeBSD 2.2.{5,6} boxes, all of which mount /usr via NFS

>Description:

	During bootup, /usr/sbin/sysctl is called before any NFS
	partitions are mounted.  This means that if you mount /usr
	over NFS, you cannot set any kernel options during bootup
	- or at least not without putting them into another rc.d
	script which would be executed after the NFS partitions
	are mounted.

>How-To-Repeat:

	Create a /usr partition on NFS server, change /etc/fstab
	and watch the sysctl: file-not-found error during bootup.

>Fix:
	
	Ideally, sysctl should be located in /sbin.  The problem would then
	disappear.

>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?199805081725.RAA00428>