The following reply was made to PR bin/165477; it has been noted by GNATS. From: Hiroki Sato <[email protected]> To: [email protected] Cc: [email protected], [email protected], [email protected] Subject: Re: bin/165477: [rc] dhclient is run twice Date: Sun, 18 Nov 2012 07:59:56 +0900 (JST)
----Security_Multipart0(Sun_Nov_18_07_59_56_2012_823)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Nov_18_07_59_56_2012_546)--" Content-Transfer-Encoding: 7bit ----Next_Part(Sun_Nov_18_07_59_56_2012_546)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit [email protected] wrote in <[email protected]>: cr> Synopsis: [rc] dhclient is run twice cr> cr> State-Changed-From-To: open->feedback cr> State-Changed-By: crees cr> State-Changed-When: Fri Nov 2 11:11:17 UTC 2012 cr> State-Changed-Why: cr> Please try out the patch at cr> http://www.bayofrum.net/~crees/patches/165477.diff to devd.conf. It cr> does the "right thing", so let me know if it stops your problem. I think it is safe to remove the warning message when rc_quiet=YES. What do you think about the attached patch? -- Hiroki ----Next_Part(Sun_Nov_18_07_59_56_2012_546)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.subr_quiet_20121118-1.diff" Index: etc/rc.subr =================================================================== --- etc/rc.subr (revision 243184) +++ etc/rc.subr (working copy) @@ -704,7 +704,9 @@ start) if [ -z "$rc_fast" -a -n "$rc_pid" ]; then - echo 1>&2 "${name} already running? (pid=$rc_pid)." + if [ ! -z "$rc_quiet" ]; then + echo 1>&2 "${name} already running? (pid=$rc_pid)." + fi return 1 fi ----Next_Part(Sun_Nov_18_07_59_56_2012_546)---- ----Security_Multipart0(Sun_Nov_18_07_59_56_2012_823)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAlCoFuwACgkQTyzT2CeTzy1usgCgmqzn4/7Yhr0+fwxOPHqOXW07 FzUAoLQ/xwkyWXICEt8ptmJZrTq6icRA =etD7 -----END PGP SIGNATURE----- ----Security_Multipart0(Sun_Nov_18_07_59_56_2012_823)---- _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-rc To unsubscribe, send any mail to "[email protected]"
