sudo-ldap installation cannot be preseeded

Bug #771296 reported by Peter Matulis
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: sudo

Normally, sudo-ldap requires the following:

1. an enabled root account (not the ubuntu default)
2. an initialized variable:

SUDO_FORCE_REMOVE=yes

Seems this is not possible to do in a preseed context. Is there anyway to make this work?

A late command appears to be the only way.

description: updated
Revision history for this message
Pete Ashdown (pashdown-xmission) wrote :

Late command is wonky too. I have to install it twice because the first one fails. This is what I have in my preseed/late_command script:

# sudo-ldap
SUDO_FORCE_REMOVE=yes
export SUDO_FORCE_REMOVE=yes
apt-get -y install sudo-ldap
# first attempt will fail on 10.04 so do it again
apt-get -y install sudo-ldap

Changed in sudo (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.