misc/145445: error in /etc/rc.d/jail (bad logic)

Dan Naumov dan.naumov at gmail.com
Tue Apr 6 23:00:12 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list