From owner-freebsd-rc@FreeBSD.ORG Sun Nov 18 14:50:01 2012 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A38F823 for ; Sun, 18 Nov 2012 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6418FC12 for ; Sun, 18 Nov 2012 14:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAIEo0Rd037419 for ; Sun, 18 Nov 2012 14:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAIEo0L7037418; Sun, 18 Nov 2012 14:50:00 GMT (envelope-from gnats) Date: Sun, 18 Nov 2012 14:50:00 GMT Message-Id: <201211181450.qAIEo0L7037418@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Chris Rees Subject: Re: bin/165477: [rc] dhclient is run twice X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Chris Rees 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:50:01 -0000 The following reply was made to PR bin/165477; it has been noted by GNATS. From: Chris Rees To: Hiroki Sato Cc: wblock@freebsd.org, "freebsd-rc@freebsd.org" , "bug-followup@freebsd.org" Subject: Re: bin/165477: [rc] dhclient is run twice Date: Sun, 18 Nov 2012 14:40:00 +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