Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 12:07:17 GMT
From:      Wiedmann <carsten_sttgt@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/177469: jail doesn't accept "-n"
Message-ID:  <201303291207.r2TC7Hsq093541@red.freebsd.org>
Resent-Message-ID: <201303291210.r2TCA1FU038526@freefall.freebsd.org>

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

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



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