This is not as good an idea as it seems, because changing the host
name (without breaking your system) is not a simple matter.

There are a number of programs that hard-code the host name. A partial list:
apache
postfix
procmail
dwww
ssh          # keys would need regenerating, too
motd
host

The nature of oem-config is that the OEM customizes the installation.
That means there is not a way to know ex ante what software is
installed and consequently not a way to know what to change or how.

Further, LVM maps logical volume device names based on the hostname,
and it's not a trivial matter to change the names if you don't know
how the system is partitioned.

If the OEM wants to allow the customer to change the hostname, the OEM
should write a custom script to do that.

FWIW, we at IYCC set the hostname during the initial installation.
I've never had a customer who particularly cared what the hostname
was.

It WOULD make sense for the various programs NOT to hardcode the
hostname but instead use a system variable.


Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.net


--

-- 
oem-config should also set the host name
https://bugs.launchpad.net/bugs/303545
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to