From nobody@FreeBSD.ORG Thu Sep  2 11:53:44 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B532415D36; Thu,  2 Sep 1999 11:53:44 -0700 (PDT)
Message-Id: <19990902185344.B532415D36@hub.freebsd.org>
Date: Thu,  2 Sep 1999 11:53:44 -0700 (PDT)
From: jose@we.lc.ehu.es
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: [PATCH] linux(8) should go to /usr/sbin
X-Send-Pr-Version: www-1.0

>Number:         13545
>Category:       bin
>Synopsis:       [PATCH] linux(8) should go to /usr/sbin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    marcel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  2 12:00:02 PDT 1999
>Closed-Date:    Fri Sep 3 00:27:36 PDT 1999
>Last-Modified:  Fri Sep  3 00:29:18 PDT 1999
>Originator:     Jose M. Alcaide
>Release:        3.2-RELEASE
>Organization:
Universidad del Pais Vasco - Dept. de Electricidad y Electronica
>Environment:
N/A
>Description:
The linux(8) script, which uses kldstat(8) and kldload(8), currently
resides in /usr/bin. However, it should go to /usr/sbin, because it
is a system utility.
>How-To-Repeat:
N/A
>Fix:
The following patch may be applied from /usr/src:

------------------------------BEGIN------------------------------
--- sys/modules/linux/Makefile.orig     Sat Feb  6 00:13:52 1999
+++ sys/modules/linux/Makefile  Thu Sep  2 20:23:28 1999
@@ -37,6 +37,6 @@
 
 afterinstall:
        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
-               ${.CURDIR}/linux.sh ${DESTDIR}/usr/bin/linux
+               ${.CURDIR}/linux.sh ${DESTDIR}/usr/sbin/linux
 
 .include <bsd.kmod.mk>

-------------------------------END-------------------------------


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->marcel 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Sep 2 22:54:31 PDT 1999 
Responsible-Changed-Why:  
Marcel, any reason why this change might break anything? :-) 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: jose@we.lc.ehu.es
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/13545: [PATCH] linux(8) should go to /usr/sbin 
Date: Fri, 03 Sep 1999 07:54:25 +0200

 On Thu, 02 Sep 1999 11:53:44 MST, jose@we.lc.ehu.es wrote:
 
 > The linux(8) script, which uses kldstat(8) and kldload(8), currently
 > resides in /usr/bin. However, it should go to /usr/sbin, because it
 > is a system utility.
 
 I agree. I'll pass this by Marcel, our Linux guy, in case there are
 weird issues I haven't thought of.
 
 Ciao,
 Sheldon.
 
State-Changed-From-To: open->closed 
State-Changed-By: marcel 
State-Changed-When: Fri Sep 3 00:27:36 PDT 1999 
State-Changed-Why:  
Patch applied and committed. Thanks! 
After searching the complete ports collection, /etc and /usr/src/release/sysinstall and making sure that /usr/sbin is in PATH I think I covered everything :-) 
>Unformatted:
