From nobody@FreeBSD.org  Fri Dec 22 08:46:47 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2847316A407
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Dec 2006 08:46:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 178E613C442
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Dec 2006 08:46:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBM8kkUv037018
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Dec 2006 08:46:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBM8kkPR037017;
	Fri, 22 Dec 2006 08:46:46 GMT
	(envelope-from nobody)
Message-Id: <200612220846.kBM8kkPR037017@www.freebsd.org>
Date: Fri, 22 Dec 2006 08:46:46 GMT
From: Keve Nagy <keve_NO_SPAM_REMOVE_THIS_@mail.duf.hu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE
X-Send-Pr-Version: www-3.0

>Number:         107083
>Category:       conf
>Synopsis:       [patch] nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hrs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 22 08:50:04 GMT 2006
>Closed-Date:    Sun Dec 31 15:29:23 GMT 2006
>Last-Modified:  Sun Dec 31 15:30:24 GMT 2006
>Originator:     Keve Nagy
>Release:        FreeBSD 6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD ws1.homenat.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Thu Dec  7 10:05:55 CET 2006   keve@ws1.homenat.local:/usr/obj/usr/src/sys/ThinkCentreD.61  i386
>Description:
Keyword "nojail" is missing from etc/rc.d/auto-linklocal.
auto-linklocal should not be run by /etc/rc inside a jail, so to prevent
it from being started a KEYWORD line should be added after PROVIDE, REQUIRE
and BEFORE as follows:
# KEYWORD: nojail

>How-To-Repeat:
in src/etc/rc.d/auto-linklocal, extend the initial 3 lines
1. Build world for 6.2-PRERELEASE and see /etc/rc.d/auto-linklocal OR just
   refresh your source-tree for RELENG_6 and see src/etc/rc.d/auto-linklocal.
2. Build world for a jail, start the jail and start its /etc/rc. You can see
   auto-linklocal trying to be started, but sysctl fails inside the jail and
   prints an error message.

>Fix:
# PROVIDE: auto_linklocal
# REQUIRE: root
# BEFORE:  sysctl
to the 4 lines of
# PROVIDE: auto_linklocal
# REQUIRE: root
# BEFORE:  sysctl
# KEYWORD: nojail
by adding the "# KEYWORD: nojail" line.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Dec 23 16:20:20 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107083 
Responsible-Changed-From-To: freebsd-rc->hrs 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Fri Dec 29 00:19:19 UTC 2006 
Responsible-Changed-Why:  
Assign to hrs, who has most recently worked with this file. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=107083 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/107083: commit references a PR
Date: Fri, 29 Dec 2006 15:56:34 +0000 (UTC)

 hrs         2006-12-29 15:56:21 UTC
 
   FreeBSD src repository
 
   Modified files:
     etc/rc.d             auto_linklocal 
   Log:
   Add "nojail" keyword to prevent spurious error messages.
   
   Spotted by:     Keve Nagy
   PR:             conf/107083
   
   Revision  Changes    Path
   1.5       +1 -0      src/etc/rc.d/auto_linklocal
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: hrs 
State-Changed-When: Fri Dec 29 16:07:57 UTC 2006 
State-Changed-Why:  
Committed to HEAD and RELENG_6.  Requesting MFC to RELENG_6_2 now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107083 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/107083: commit references a PR
Date: Fri, 29 Dec 2006 16:01:31 +0000 (UTC)

 hrs         2006-12-29 16:01:12 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     etc/rc.d             auto_linklocal 
   Log:
   MFC: Add "nojail" keyword to prevent a spurious error message.
   
   Spotted by:     Keve Nagy
   PR:             conf/107083
   
   Revision  Changes    Path
   1.1.2.5   +1 -0      src/etc/rc.d/auto_linklocal
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: hrs 
State-Changed-When: Sun Dec 31 15:28:12 UTC 2006 
State-Changed-Why:  
Committed to RELENG_6_2, too.  This fix will be included in the upcoming 
6.2-RELEASE.  Thank you for submitting! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107083 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/107083: commit references a PR
Date: Sun, 31 Dec 2006 15:26:32 +0000 (UTC)

 hrs         2006-12-31 15:26:25 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6_2)
     etc/rc.d             auto_linklocal 
   Log:
   MFC: Add "nojail" keyword to prevent spurious error messages.
   
   Spotted by:     Keve Nagy
   PR:             conf/107083
   Approved by:    re (kensmith)
   
   Revision     Changes    Path
   1.1.2.3.2.2  +1 -0      src/etc/rc.d/auto_linklocal
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
