Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2012 00:17:26 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        crees@FreeBSD.org
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: bin/165477: [rc] dhclient is run twice
Message-ID:  <20121119.001726.1901703543569641080.hrs@allbsd.org>
In-Reply-To: <201211181450.qAIEo0L7037418@freefall.freebsd.org>
References:  <201211181450.qAIEo0L7037418@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Nov_19_00_17_26_2012_329)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Chris Rees <crees@freebsd.org> wrote
  in <201211181450.qAIEo0L7037418@freefall.freebsd.org>:

cr> The following reply was made to PR bin/165477; it has been noted by GNATS.
cr>
cr> From: Chris Rees <crees@FreeBSD.org>
cr> To: Hiroki Sato <hrs@freebsd.org>
cr> Cc: wblock@freebsd.org, "freebsd-rc@freebsd.org" <freebsd-rc@freebsd.org>,
cr> 	"bug-followup@freebsd.org" <bug-followup@freebsd.org>
cr> Subject: Re: bin/165477: [rc] dhclient is run twice
cr> Date: Sun, 18 Nov 2012 14:40:00 +0000
cr>
cr>  On 17 November 2012 22:59, Hiroki Sato <hrs@freebsd.org> wrote:
cr>  >
cr>  >  I think it is safe to remove the warning message when rc_quiet=YES.
cr>  >  What do you think about the attached patch?
cr>
cr>  I had originally considered that, but it then makes dhclient behave
cr>  differently from other scripts; nothing else respects rc_quiet in this
cr>  fashion;
cr>
cr>  from rc.subr:
cr>                  start)
cr>                          if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
cr>                                  echo 1>&2 "${name} already running?
cr>  (pid=$rc_pid)."
cr>                                  return 1
cr>                          fi
cr>  and
cr>
cr>  [crees@pegasus]~/workspace/ports/musicpd% sudo service musicpd quietstart
cr>  musicpd already running? (pid=83847).

 I cannot understand why the dhclient script behaves differently from
 the others after patching rc.subr.  Did you read the attached patch
 in my previous email?

-- Hiroki

----Security_Multipart(Mon_Nov_19_00_17_26_2012_329)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAlCo/AYACgkQTyzT2CeTzy3TlgCg1zXTxAa4h1tVDH+Pe40U6AkM
jdgAoLoeFv4i0d5Lg5FxgPDt3PLTSgRT
=0LFr
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Nov_19_00_17_26_2012_329)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121119.001726.1901703543569641080.hrs>