Craig Sanders wrote:
> On Sun, Mar 16, 2008 at 01:16:22AM +0100, Michael Biebl wrote:

> 
>> grep "invoke-rc.d .* stop" *.prerm
> 
> 1. the fact that some other packages have the same or similar broken
> behaviour as yours does not excuse or justify your package being broken.

You are talking about "some", while it clearly is the majority of the
packages that uses this behaviour. If you think this is is wrong, this
should be generally discussed (e.g. on debian-devel).
You intentionally try to hide facts.

> 
> 2. yes, i had the same initial thought, of doing a simple grep to find
> packages which stop the daemon in the prerm script.
> 
> but, as is obvious from a little bit more thought about it, a simple
> grep won't tell you whether the stop command is wrapped inside an
> if/then or case statement, will it? so it tells you nothing useful.
> 

Sure, I quickly glanced over the packages, and only openssh seems to run
stop only during remove/deconfigure.
This makes 77:1

Please show me your numbers.
You say, that you have been DD oh so long (which is irrelevant to this
discussion btw), and you claim your point of view is the intended
behaviour. Numbers are not on your side and there is no passage in the
policy or devref which backs your claims.

Show some authorative discussion etc. and I might change my mind.

> you have to actually examine each script to find out whether it is
> only stopping the daemon on a remove/purge (in which case, running the
> init.d script or invoke-rc.d to stop the daemin is correct behavior), or
> whether it's doing it all the time. in which case, it's broken behaviour
> - see point 1 above.

see above

>>> postfix, like MOST other daemon packages i use, also doesn't. postfix's
>> Wrong, most packages use the way I described.
> 
> some packages are broken in the way that has been described.
> 
> that doesn't make it right.
> 
> that just means that there are other broken packages.

Well, the numbers show, that it is common practice, even for services
like samba, postgresql-8.3, mysql-server-5.0 (which you claimed does it
differently), which to my account also hold important data.



Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to