Trivial PR, fix shutdown of rc services started with onestart (fwd)

Brooks Davis brooks at freebsd.org
Wed Apr 14 20:34:00 UTC 2010


On Wed, Apr 14, 2010 at 01:18:00PM -0700, Doug Barton wrote:
> This issue has come up several times in the past, and previously I've been 
> opposed to making changes since I don't regard typing "onestop" an 
> overwhelming burden. :)  However there is a reasonable argument to be made 
> for having things work when the system is shut down.
> 
> I'm not sure the patch in the PR is right (mostly for lack of examination 
> or testing), but I'm wondering what people think about the general idea of 
> having the shutdown action ignore whether _enable is on?

I think it's basically acceptable.  I get bit by this too often and I
can't think of a scenario where it would do the wrong thing without some
pretty serious gyrations on the administrator's part.

-- Brooks

> 
> Doug
> 
> -- 
> 
> 	Improve the effectiveness of your Internet presence with
> 	a domain name makeover!    http://SupersetSolutions.com/
> 
> 	Computers are useless. They can only give you answers.
> 			-- Pablo Picasso
> 
> 
> ---------- Forwarded message ----------
> From: Dominic Fandrey <kamikaze at bsdforen.de>
> To: freebsd-current at freebsd.org
> Date: Sat, 10 Apr 2010 02:33:35
> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-GB;
>     rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4
> Subject: Trivial PR, fix shutdown of rc services started with onestart
> 
> This morning I took a look at my outstanding PRs. There
> is a PR I consider old and trivial:
> 
> This one proposes a change that always treats rc script execution
> of active services as if <service>_enable="YES" was set.
> This ensures, among other things, a clean shutdown procedure for
> services started with onestart:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/130414
> 
> Regards
> 
> -- 
> A: Because it fouls the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-rc at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-rc
> To unsubscribe, send any mail to "freebsd-rc-unsubscribe at freebsd.org"
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20100414/e2404f04/attachment.pgp


More information about the freebsd-rc mailing list