18hostname should be before 15autologin

Bug #788232 reported by Michael Filippov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: casper

casper_1.265 (Ubuntu 11.04) calls 15autologin with "chroot /root sudo ..." before /root/etc/hosts is initialized in 18hostname, and it causes this error (see boot.log and casper.log):
"Begin: Setting up automatic login... ... sudo: unable to resolve host (none)
done."

Possible fix: I renamed 18hostname -> 09hostname to initialize /root/etc/hosts before scripts which may need it and now it boots w/out warnings:
"Begin: Setting up automatic login... ... done."

Tags: natty
Changed in casper (Ubuntu):
status: New → Triaged
importance: Undecided → Low
tags: added: natty
Revision history for this message
Stéphane Graber (stgraber) wrote :

sudo is only called in 25adduser and 19keyboard nowadays, so hostname is at the right place in the stack.

Changed in casper (Ubuntu):
status: Triaged → Fix Released
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.