18hostname should be before 15autologin
Bug #788232 reported by
Michael Filippov
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."
Changed in casper (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: natty |
To post a comment you must log in.
sudo is only called in 25adduser and 19keyboard nowadays, so hostname is at the right place in the stack.