On Sat, Dec 02, 2006 at 04:47:02PM -0700, Bdale Garbee wrote:
> On Sat, 2006-12-02 at 23:29 +0100, Karol Lewandowski wrote:
> 
> > sudo and sudo-ldap packages remove /etc/sudoers during postrm
> > stage. 
> 
> Right, when purge is called.
> 
> > Thus, it's possible to do:
> > 1 # apt-get install sudo
> > 2 # apt-get install sudo-ldap
> > 3 # dpkg -P sudo
> > 
> > And have empty /etc/sudoers.
> 
> Good point.  The rm on purge was added before the sudo-ldap package was
> created, and I didn't think about this potential conflict over the
> sudoers file.  

You're not alone.  Looking for resolution I've noticed this
problem in openssh-server and ssh-krb5.  I'm beginning to think that
this might be really common for packages in multiple flavours...
(At least for packages with config files, emacs is safe. :-)

> > Not that I know how to fix this but maybe just merge sudo with
> > sudo-ldap?  libldap2 has important priority, so it's almost always
> > intalled.
> 
> On a running system, you're right.  However, debian-installer uses sudo,
> and LDAP support adds 9 additional shared libraries to the dependencies,
> which was deemed unacceptable.  See bug #344034 for details if you care.

Yes, I see now.

> I'll ponder a bit tonight and see if I can come up with a good solution.

Good luck!

I've to say that I've always been for leaving config files in
something like .dpkg-purge and not for removing them.

-- 
This signature intentionally says nothing.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to