diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-03-21 20:06:30 +0000 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:47:55 +0100 |
| commit | bc986e631b2dcba0f5ce7c742d498f5820028f0b (patch) | |
| tree | 4a7a7da01f776b99679a877d6da4c1a08f26ef6f | |
| parent | 37353900b169c3f02e8163be9d3b20569ad32afe (diff) | |
| download | live-boot-bc986e631b2dcba0f5ce7c742d498f5820028f0b.tar.gz live-boot-bc986e631b2dcba0f5ce7c742d498f5820028f0b.zip | |
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.
| -rwxr-xr-x | scripts/live-bottom/06hostname (renamed from scripts/live-bottom/18hostname) | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/live-bottom/18hostname b/scripts/live-bottom/06hostname index 446bc23..446bc23 100755 --- a/scripts/live-bottom/18hostname +++ b/scripts/live-bottom/06hostname |
