From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 22 08:50:05 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3B1316A403 for ; Fri, 22 Dec 2006 08:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC9B13C458 for ; Fri, 22 Dec 2006 08:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBM8o5uV098860 for ; Fri, 22 Dec 2006 08:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBM8o5Et098859; Fri, 22 Dec 2006 08:50:05 GMT (envelope-from gnats) Resent-Date: Fri, 22 Dec 2006 08:50:05 GMT Resent-Message-Id: <200612220850.kBM8o5Et098859@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Keve Nagy Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2847316A407 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: conf/107083: Nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 08:50:05 -0000 >Number: 107083 >Category: conf >Synopsis: Nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 22 08:50:04 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted: