Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Doug Barton
On Fri, 31 Aug 2007, Sean Bruno wrote: Doug Barton wrote: Assuming that lack of an affirmative _enable variable is a constant, the only way that a service can be started is with either onestart or forcestart. The symmetry here would be to stop it the same way. This may be symmetrical, but I

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Doug Barton
On Fri, 31 Aug 2007, Erik Trulsson wrote: The times I have noticed that stop does not work without an _enable variable has been when I wished to stop running some service. First I edited rc.conf to remove the _enable line (to make sure the service did not start the next time I restarted the com

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Benjamin Lutz
On Friday 31 August 2007 18:51:23 Sean Bruno wrote: > Tobias Roth wrote: > > Sean Bruno wrote: > >> I noticed that if rc.conf has ntpd_enable="NO", an invocation of > >> /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a > >> couple of other processes(like net-snmp) and noted the same

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Erik Trulsson
On Fri, Aug 31, 2007 at 10:09:52AM -0700, Doug Barton wrote: > On Fri, 31 Aug 2007, Sean Bruno wrote: > >> I noticed that if rc.conf has ntpd_enable="NO", an invocation of >> /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple of >> other processes(like net-snmp) and noted the

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Sean Bruno
Doug Barton wrote: On Fri, 31 Aug 2007, Sean Bruno wrote: I noticed that if rc.conf has ntpd_enable="NO", an invocation of /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple of other processes(like net-snmp) and noted the same behavior. FYI, there is a list for discussing

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Tobias Roth
Sean Bruno wrote: > I noticed that if rc.conf has ntpd_enable="NO", an invocation of > /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple > of other processes(like net-snmp) and noted the same behavior. > > I would have expected that rc would be able to invoke the stop routines

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Tobias Roth
Sean Bruno wrote: > Tobias Roth wrote: >> Sean Bruno wrote: >> >>> I noticed that if rc.conf has ntpd_enable="NO", an invocation of >>> /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple >>> of other processes(like net-snmp) and noted the same behavior. >>> >>> I would have ex

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Doug Barton
On Fri, 31 Aug 2007, Sean Bruno wrote: I noticed that if rc.conf has ntpd_enable="NO", an invocation of /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple of other processes(like net-snmp) and noted the same behavior. FYI, there is a list for discussing rc.d issues, [EMAIL

Re: rc functions don't allow processes to shutdown

2007-08-31 Thread Sean Bruno
Tobias Roth wrote: Sean Bruno wrote: I noticed that if rc.conf has ntpd_enable="NO", an invocation of /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple of other processes(like net-snmp) and noted the same behavior. I would have expected that rc would be able to invoke th

rc functions don't allow processes to shutdown

2007-08-31 Thread Sean Bruno
I noticed that if rc.conf has ntpd_enable="NO", an invocation of /etc/rc.d/ntpd stop won't actually shut down ntpd. I checked a couple of other processes(like net-snmp) and noted the same behavior. I would have expected that rc would be able to invoke the stop routines if a utility is disable