Re: Bug#8416: lprng: should recommend removing init.d script of lpr

1997-05-28 Thread Sven Rudolph
Christian Meder [EMAIL PROTECTED] writes:

 Package: lprng
 Version: 2.4.2-1
 
 lprng conflicts with lpr. After removing lpr there is still the init.d
 script of lpr (conffile) around. So after booting both scripts are
 starting the lpd. lprng should take care of this situation by either
 informing the user to do something or by taking some action in the
 postinst.

lprng conflicts with lpr, so lpr gets removed when lprng is installed.

But removing lpr means:
- /etc/init.d/lpd remains
- `update-rc.d lpd remove /dev/null' is not run

IMHO this should be changed in such cases:
- run `update-rc.d -f lpd remove /dev/null' on remove and purge

(-f means that update-rc.d even when /etc/init.d/ exists)

I think this would solve the problem.

Comments?

Sven
-- 
Sven Rudolph [EMAIL PROTECTED] ; WWW : http://www.sax.de/~sr1/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: Bug#8416: lprng: should recommend removing init.d script of lpr

1997-05-28 Thread Raul Miller
On May 29, Sven Rudolph wrote
 IMHO this should be changed in such cases:
 - run `update-rc.d -f lpd remove /dev/null' on remove and purge

Better to chmod -x the lpd file, because that looses less information.

[lpd postinst would have to chmod +x the file, so it's still not
perfect.]

--
Raul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .