Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 22:50:05 GMT
From:      Dan Naumov <dan.naumov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/145445: error in /etc/rc.d/jail (bad logic)
Message-ID:  <201004062250.o36Mo5pV042839@www.freebsd.org>
Resent-Message-ID: <201004062300.o36N0C3w030809@freefall.freebsd.org>

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

>Number:         145445
>Category:       misc
>Synopsis:       error in /etc/rc.d/jail (bad logic)
>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:   Tue Apr 06 23:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dan Naumov
>Release:        8.0
>Organization:
>Environment:
FreeBSD atombsd.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The jail rc.d script outputs some messages to the system console when bringing up jails if certain sysctl conditions are met. There seems to be an error in the logic of the script, which results in "backwards" output.

security.jail.socket_unixiproute_only: 0 results in unixiproute_only=YES being printed to system console
security.jail.socket_unixiproute_only: 1 results in no output
>How-To-Repeat:
Install FreeBSD 8.0
Build and install a jail
Set security.jail.socket_unixiproute_only to 0
Bring up the jail using the jail rc.d script
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004062250.o36Mo5pV042839>