Typo in /etc/rc.d/jail ?

Christer Solskogen christer.solskogen at gmail.com
Sat Nov 15 23:28:05 UTC 2014


On Sat, Nov 15, 2014 at 11:52 PM, Sergey Kandaurov <pluknet at gmail.com> wrote:
> On 15 November 2014 23:28, Christer Solskogen
> <christer.solskogen at gmail.com> wrote:
>> $ /etc/rc.d/jail
>> Usage: /etc/rc.d/jail
>> [fast|force|one|quiet](start|stop|restart|rcvar|enabled|config|console|status|status|poll)
>>
>> status is mentioned twice.
>>
>
> I believe this is the cause:
>
> Index: etc/rc.d/jail
> ===================================================================
> --- etc/rc.d/jail       (revision 273814)
> +++ etc/rc.d/jail       (working copy)
> @@ -19,7 +19,7 @@
>  config_cmd="jail_config"
>  console_cmd="jail_console"
>  status_cmd="jail_status"
> -extra_commands="config console status"
> +extra_commands="config console"
>  : ${jail_conf:=/etc/jail.conf}
>  : ${jail_program:=/usr/sbin/jail}
>  : ${jail_consolecmd:=/usr/bin/login -f root}
>
> i.e., status is automatically supported.
>


Agreed. I figured that out myself :-)
Probably something to patch in stable/10 if it's not already done.

-- 
chs


More information about the freebsd-stable mailing list