From owner-freebsd-rc@FreeBSD.ORG Sun Nov 18 14:40:32 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4E9051F; Sun, 18 Nov 2012 14:40:32 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E80D48FC0C; Sun, 18 Nov 2012 14:40:31 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so858930bkc.13 for ; Sun, 18 Nov 2012 06:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=qm7S22s4AfnVRtWNCRPJ5irHc82U5kr4pY07GgHIA/w=; b=vfApqiAOyw6jNx2dJLYNhDxGpcJyR7Fyf0FXBXpMyyULtAgAd0+9fCfQDF3/LmhEtE TVUATovwtUvbbmdd+zYeosHs1LaLiVwVKHlMXS6GVLI2nYAS1vnhKS8bJgnqf8fbRTns n110IKlEJZS6pkqAApj3IJzfBj490d5QT5e/gY0sSgd7d86h7jKkYZrNXquwZVdJeEoA bgeSZZOlIL1v0vE4zSO7LELwylOJPp9z+vF0GAw/+CFA2iQ1dI8ZlOSDuDKOgdTYDaWy SSCQ2bcvGTCIhms3meNke3ytZlMhGf8f8dGQgzlKiHoab8x4/UnwKcCjZTTGOpJ4KSo2 O8rg== Received: by 10.204.130.140 with SMTP id t12mr2436645bks.39.1353249630694; Sun, 18 Nov 2012 06:40:30 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sun, 18 Nov 2012 06:40:00 -0800 (PST) In-Reply-To: <20121118.075956.2090347175828215059.hrs@allbsd.org> References: <201211021111.qA2BBHEi008211@freefall.freebsd.org> <20121118.075956.2090347175828215059.hrs@allbsd.org> From: Chris Rees Date: Sun, 18 Nov 2012 14:40:00 +0000 X-Google-Sender-Auth: I-PR9vJEntaSoOCfG2wlq4uh1h8 Message-ID: Subject: Re: bin/165477: [rc] dhclient is run twice To: Hiroki Sato Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-rc@freebsd.org" , wblock@freebsd.org, "bug-followup@freebsd.org" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 14:40:33 -0000 On 17 November 2012 22:59, Hiroki Sato wrote: > > I think it is safe to remove the warning message when rc_quiet=YES. > What do you think about the attached patch? I had originally considered that, but it then makes dhclient behave differently from other scripts; nothing else respects rc_quiet in this fashion; from rc.subr: start) if [ -z "$rc_fast" -a -n "$rc_pid" ]; then echo 1>&2 "${name} already running? (pid=$rc_pid)." return 1 fi and [crees@pegasus]~/workspace/ports/musicpd% sudo service musicpd quietstart musicpd already running? (pid=83847). Chris