[SCM] debian-live/live-initramfs branch, master, updated. 1.124.1-1-1-gc0bafc1
Daniel Baumann
daniel at debian.org
Fri Mar 21 20:09:35 UTC 2008
The following commit has been merged in the master branch:
commit c0bafc132c430535e83cce1bc8ce03959b38d8da
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Fri Mar 21 20:06:30 2008 +0000
Rename 18hostname -> 06hostname
We must configure a valid hostname in the target before 10adduser, or sudo
fails with "unable to resolve host (none)" - before 18hostname is called
/root/etc/hostname is empty.
This was resulting in the "su as sudo" modifications not being applied in
the target which was causing X configuration applications to show different
behaviours when attempting elevating their priviledges.
Reordering the hostname configuration seems somewhat preferable to
applying a hack inside 10adduser to use 'su' or similar, as other
pre-XXhostname calls may incorporate calls to sudo in the future.
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
diff --git a/scripts/live-bottom/18hostname b/scripts/live-bottom/06hostname
similarity index 100%
rename from scripts/live-bottom/18hostname
rename to scripts/live-bottom/06hostname
--
debian-live/live-initramfs
More information about the debian-live-changes
mailing list