Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 11:09:59 -0400
From:      Mike Meyer <mwm@mired.org>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        freebsd-hackers@freebsd.org, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>, Jonathan, McKeown <jonathan+freebsd-hackers@hst.org.za>
Subject:   Re: If not the force, what should I use?
Message-ID:  <20080814110959.64102a91@mbook.local>
In-Reply-To: <1218701945.70002.31.camel@localhost>
References:  <78cb3d3f0808120810o54f49373n69ac5076c9a9c9b7@mail.gmail.com> <200808130813.56656.jonathan%2Bfreebsd-hackers@hst.org.za> <48A29E15.5080303@unsane.co.uk> <200808131227.30125.jonathan%2Bfreebsd-hackers@hst.org.za> <20080813080032.2328a474@bhuda.mired.org> <1218646719.70002.27.camel@localhost> <20080813130612.67542bd5@mbook.local> <1218701945.70002.31.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Aug 2008 09:19:05 +0100 Tom Evans <tevans.uk@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@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@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



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