bin/177469: jail doesn't accept "-n"

Wiedmann carsten_sttgt at gmx.de
Fri Mar 29 12:10:01 UTC 2013


>Number:         177469
>Category:       bin
>Synopsis:       jail doesn't accept "-n"
>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 Mar 29 12:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Wiedmann
>Release:        FrreeBSD 9.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Hello,

I'm trying to use the rc variable:
| jail_name_flags="-l -u root"

But after upgrading my system from 9.0 to 9.1 I can't start any jail which is using this flag.

| jail_name_flags="-l -U root"
is working.

The same happens with just using the jail command:
| freebsd# jail -l -u root
| jail: illegal option -- u
| usage: jail [-dhilqv] [-J jid_file] [-u username] [-U username]
|           -[cmr] param=value ... [command=command ...]
|        jail [-dqv] [-f file] -[cmr] [jail]
|        jail [-qv] [-f file] -[rR] ['*' | jail ...]
|        jail [-dhilqv] [-J jid_file] [-u username] [-U username]
|             [-n jailname] [-s securelevel]
|             path hostname [ip[,...]] command ...

even "-u" should be a valid parameter.

Regards,
Carsten

>How-To-Repeat:

>Fix:


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


More information about the freebsd-bugs mailing list