Bug#586887: cannot replace sudo by sudo-ldap when no root password has been set

September 23rd, 2011 - 09:10 am ET by Wolfgang Schulze-Zachau | Report spam

Unfortunately this problem still exists (in plain debian squeeze).

I am installing squeeze using preseed files, which pull in a local
package that depends on sudo-ldap. Therefore the installer rightly
concludes that sudo needs to be replaced by sudo-ldap. The preseed files
DO specify a root password, but at the time when the package replacement
happens, this password has not been set yet, and the installation fails.
There is also a bug report about this on the ubuntu launchpad (see bug
771296). It appears that that user has been able to fix this using a
preseed/late_command script, however I would consider this a botch job,
especially since that script needs to install sudo-ldap twice to be
successful. Since the only reason for removal of sudo is the selection
of sudo-ldap, the installer should handle this without failing.

BTW, our preseeds install both konsole and xterm, and that does NOT
prevent the issue.

I am not sure this is actually a problem with sudo-ldap. I would rather
more lay the blame at the installer for not realising that a root
password will be set, and also for not realising that the removal is
because of a replacement, but since I am not an expert in these matters,
I shall leave that decision to you guys.
best regards

Wolfgang Schulze-Zachau
*
*


<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Unfortunately this problem still exists (in plain debian squeeze).<br>
<br>
I am installing squeeze using preseed files, which pull in a local
package that depends on sudo-ldap. Therefore the installer rightly
concludes that sudo needs to be replaced by sudo-ldap. The preseed
files DO specify a root password, but at the time when the package
replacement happens, this password has not been set yet, and the
installation fails.<br>
There is also a bug report about this on the ubuntu launchpad (see
bug 771296). It appears that that user has been able to fix this
using a preseed/late_command script, however I would consider this a
botch job, especially since that script needs to install sudo-ldap
twice to be successful. Since the only reason for removal of sudo is
the selection of sudo-ldap, the installer should handle this without
failing.<br>
<br>
BTW, our preseeds install both konsole and xterm, and that does NOT
prevent the issue.<br>
<br>
I am not sure this is actually a problem with sudo-ldap. I would
rather more lay the blame at the installer for not realising that a
root password will be set, and also for not realising that the
removal is because of a replacement, but since I am not an expert in
these matters, I shall leave that decision to you guys.<br>
<div class="moz-signature">-- <br>
best regards<br>
<br>
Wolfgang Schulze-Zachau<br>
<b><br>
</b>
</div>
</body>
</html>




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Bdale Garbee
September 23rd, 2011 - 12:00 pm ET | Report spam
reassign 586887 debian-installer
thanks

On Fri, 23 Sep 2011 13:54:18 +0100, Wolfgang Schulze-Zachau wrote:
Non-text part: multipart/alternative
Unfortunately this problem still exists (in plain debian squeeze).



It is a feature, not a bug, that extra frobbing is required to remove
the sudo package when no root password is set. See #451241 for the
motivation behind the tests in the prerm.

I am not sure this is actually a problem with sudo-ldap. I would rather
more lay the blame at the installer for not realising that a root
password will be set, and also for not realising that the removal is
because of a replacement, but since I am not an expert in these matters,
I shall leave that decision to you guys.



Since a straight-forward mechanism to override the check in sudo's prerm
exists, I agree that this is something that can/should be fixed in the
installer. Reassigning.

Bdale





To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics