If not the force, what should I use?
Mike Meyer
mwm at mired.org
Thu Aug 14 15:10:03 UTC 2008
On Thu, 14 Aug 2008 09:19:05 +0100 Tom Evans <tevans.uk at googlemail.com> wrote:
>
> On Wed, 2008-08-13 at 13:06 -0400, Mike Meyer wrote:
> > On Wed, 13 Aug 2008 17:58:39 +0100 Tom Evans <tevans.uk at googlemail.com> wrote:
> >
> > > On Wed, 2008-08-13 at 08:00 -0400, Mike Meyer wrote:
> > > >
> > > > stop If the service is to be started as specified by
> > > > rc.conf(5), stop the service. This should check that the
> > > > service is running and complain if it is not. If
> > > > forcestop is given, ignore the rc.conf(5) check and
> > > > attempt to stop.
> > > >
> > > Why should it complain?
> >
> > Because somebody quoted it out of context to justify a completely
> > bogus assumption about what was and wasn't a bug.
> >
> > The bug in question is that the man page should note that
> > force(start|stop|restart) should ignore any precmd problems as well as
> > the setting in rc.conf, as that is what the tools provided by rc.subr
> > do.
> >
> > <mike
>
> So the reason is 'Because'?
>
> Currently if you attempt to stop a service that is not started, there is
> no error and no warning. I would like to know why you propose to change
> that. Please don't jump down my throat.
I don't - and didn't - propose changing it. I proposed correcting the
wording on the man page so it reflects the reality of the 'force'
prefix.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the freebsd-hackers
mailing list