[Bug 788232] Re: 18hostname should be before 15autologin

Stéphane Graber stgraber at stgraber.org
Wed Oct 3 20:19:59 UTC 2012


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/788232

Title:
  18hostname should be before 15autologin

Status in “casper” package in Ubuntu:
  Fix Released

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."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/788232/+subscriptions




More information about the foundations-bugs mailing list