From owner-freebsd-stable@FreeBSD.ORG Sat Nov 15 23:28:04 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED91A1AE for ; Sat, 15 Nov 2014 23:28:04 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B1B363F for ; Sat, 15 Nov 2014 23:28:04 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id b6so14451565lbj.16 for ; Sat, 15 Nov 2014 15:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=N3pinBga49shh9n9K5wNogq6Hxpw410ppj/bl20nrUk=; b=oYqczmpOYmIuVfBgrO2RMOYdM3LJI8f3blOWDhntm09g5UvmpUvSxHjV33/CR5TkTu QjqOls/FKDkyuaq8H+pAr2V/UGYLzPT2EiNq3JG1olllSD5Kxvv/3nf9P4RnIV2WmvyL E8IU6tDPyaSogIVp9lH6EOg6b5IGUS6V9hIujv7c/zbrFc82nZnQr4r9cPYWrSLXHoHH BwvVi9qFdKxeI7FZWIuebXDQ22KGVjikaKOk17ATj4xg3BLgx3LE3ng/b+Q0YjRDIBL9 dbpKvtpb+up9wXl/7wxDS36HAL0WDutjWZNjjgHLkT3zv4mJLoCj70fcrhSRrphjx7Yf gzew== X-Received: by 10.112.151.70 with SMTP id uo6mr16042799lbb.2.1416094082400; Sat, 15 Nov 2014 15:28:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.145.16 with HTTP; Sat, 15 Nov 2014 15:27:22 -0800 (PST) In-Reply-To: References: From: Christer Solskogen Date: Sun, 16 Nov 2014 00:27:22 +0100 Message-ID: Subject: Re: Typo in /etc/rc.d/jail ? To: Sergey Kandaurov Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2014 23:28:05 -0000 On Sat, Nov 15, 2014 at 11:52 PM, Sergey Kandaurov wrote: > On 15 November 2014 23:28, Christer Solskogen > 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