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: conf/107083: Nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE Message-ID: <200612220846.kBM8kkPR037017@www.freebsd.org> Resent-Message-ID: <200612220850.kBM8o5Et098859@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612220846.kBM8kkPR037017>