[Bug 904482] [NEW] Generate /etc/casper.conf when building a livefs instead of having casper guess the product name at boot time
Stéphane Graber
stgraber at stgraber.org
Wed Dec 14 22:08:53 UTC 2011
Public bug reported:
Today's casper (1.295) now uses the product name as the username and
hostname, instead of the hardcoded "ubuntu" we used to have everywhere.
It's doing that by parsing .disk/info at boot time and changing its environment to what it finds in there.
This works fine except that it's then non-trivial for something running in the live environment to know what hostname and username ended up using (well, hostname is pretty easy :)).
Instead, it'd be better to have /etc/casper.conf in the livefs contain
the right HOST and USERNAME, these will then be used by casper
(deprecating the code I added today) and by software running in the live
environment like ubiquity (through its ubiquity.casper module).
** Affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/904482
Title:
Generate /etc/casper.conf when building a livefs instead of having
casper guess the product name at boot time
Status in “livecd-rootfs” package in Ubuntu:
New
Bug description:
Today's casper (1.295) now uses the product name as the username and
hostname, instead of the hardcoded "ubuntu" we used to have
everywhere.
It's doing that by parsing .disk/info at boot time and changing its environment to what it finds in there.
This works fine except that it's then non-trivial for something running in the live environment to know what hostname and username ended up using (well, hostname is pretty easy :)).
Instead, it'd be better to have /etc/casper.conf in the livefs contain
the right HOST and USERNAME, these will then be used by casper
(deprecating the code I added today) and by software running in the
live environment like ubiquity (through its ubiquity.casper module).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/904482/+subscriptions
More information about the foundations-bugs
mailing list