Bug#409907: Installing lpr over lprng doesn't work

2007-02-09 Thread Craig Small
On Thu, Feb 08, 2007 at 09:36:43AM -0600, Adam Majer wrote: Martin Schulze wrote: I can't see a way of lprng postinst saying 'oh lpr is being installed' and not deleting the directory. I feared that... Maybe lprng postinst can check when it's going from rc to purge and lpr is

Bug#409907: Installing lpr over lprng doesn't work

2007-02-09 Thread Martin Schulze
Craig Small wrote: On Thu, Feb 08, 2007 at 09:36:43AM -0600, Adam Majer wrote: Martin Schulze wrote: I can't see a way of lprng postinst saying 'oh lpr is being installed' and not deleting the directory. I feared that... Maybe lprng postinst can check when it's going from rc

Bug#409907: Installing lpr over lprng doesn't work

2007-02-08 Thread Adam Majer
Martin Schulze wrote: I can't see a way of lprng postinst saying 'oh lpr is being installed' and not deleting the directory. I feared that... Maybe lprng postinst can check when it's going from rc to purge and lpr is installed not to wipe the spool directory? And vice-versa? :) Although

Bug#409907: Installing lpr over lprng doesn't work

2007-02-07 Thread Craig Small
On Wed, Feb 07, 2007 at 07:36:47AM +0100, Martin Schulze wrote: Purge means purge, but it shouldnt purge files/directories now owned by another package. lpr/lprng are a special case I guess. Hmm, yes I see the problem now. So either lprng has to orphan the spool directory, in other words it

Bug#409907: Installing lpr over lprng doesn't work

2007-02-07 Thread Adam Majer
Craig Small wrote: On Wed, Feb 07, 2007 at 07:36:47AM +0100, Martin Schulze wrote: Purge means purge, but it shouldnt purge files/directories now owned by another package. lpr/lprng are a special case I guess. Hmm, yes I see the problem now. So either lprng has to orphan the spool

Bug#409907: Installing lpr over lprng doesn't work

2007-02-07 Thread Martin Schulze
Craig Small wrote: On Wed, Feb 07, 2007 at 07:36:47AM +0100, Martin Schulze wrote: Purge means purge, but it shouldnt purge files/directories now owned by another package. lpr/lprng are a special case I guess. Hmm, yes I see the problem now. So either lprng has to orphan the spool

Bug#409907: Installing lpr over lprng doesn't work

2007-02-06 Thread Martin Schulze
Package: lpr, lprng Version: 2006.11.04, 3.8.28dfsg.1-1 Severity: important Installing lpr (by removing lprng) will leave you with no working lpr package since /var/spool/lpd is owned daemon.lp with mode 700. It should've been lp.lp with mode 2775. Purging lprng afterwards will remove

Bug#409907: Installing lpr over lprng doesn't work

2007-02-06 Thread Craig Small
On Tue, Feb 06, 2007 at 10:19:51AM +0100, Martin Schulze wrote: 2. lprng.postrm should not remove /var/spool/lpd upon purge I cannot see the justification for this, purge means purge right? - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5

Bug#409907: Installing lpr over lprng doesn't work

2007-02-06 Thread Martin Schulze
Craig Small wrote: On Tue, Feb 06, 2007 at 10:19:51AM +0100, Martin Schulze wrote: 2. lprng.postrm should not remove /var/spool/lpd upon purge I cannot see the justification for this, purge means purge right? Purge means purge, but it shouldnt purge files/directories now owned by another