From owner-freebsd-stable@FreeBSD.ORG Sat Nov 15 22:53:00 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5532DA0 for ; Sat, 15 Nov 2014 22:53:00 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (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 3996B1B0 for ; Sat, 15 Nov 2014 22:53:00 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hi2so5776996wib.13 for ; Sat, 15 Nov 2014 14:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=f0wDiajsCYvlVZ2pUpUzi9y8MdzvMYy8JrhXp9bn7c0=; b=eEc24N0sS8vqjesjvO/KMVlcPRwPnUVbP+ilecvGOe7vC/mcafBjb9eGqTNZo5ATMv wsHbaT87KFn9s8cWmCp+GHGiXeCqD9zcbqCxKR9pNjNlud+RB5RVrn4DldfRP+pzH/L4 oCVYXIbGfZHvFVsOvLaRM2kAY8iMpkZWmNf+RgJcEfurWxS4aL4Qwd7NBh8PEpwKZohs YQSdX3wu6qSTmGX2DdT01LauSeYOP7xBAqSFkETd12hUCz7mA7PazU/seUjHonzZOkz2 O25PzgTqICmufHgPjGdhNbS9ty+rXCT4DwiOwT+mkpbAQwd6TGvxl9iBdusEKtSHkPZ6 OO9g== MIME-Version: 1.0 X-Received: by 10.181.12.6 with SMTP id em6mr19307941wid.24.1416091978612; Sat, 15 Nov 2014 14:52:58 -0800 (PST) Received: by 10.216.53.68 with HTTP; Sat, 15 Nov 2014 14:52:58 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Nov 2014 02:52:58 +0400 Message-ID: Subject: Re: Typo in /etc/rc.d/jail ? From: Sergey Kandaurov To: Christer Solskogen Content-Type: text/plain; charset=ISO-8859-1 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 22:53:00 -0000 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. -- wbr, pluknet