Bug ID: 221951
Summary: hostname does not update /etc/rc.conf with new
Product: Base System
Severity: Affects Only Me
Assignee: [hidden email] Reporter: [hidden email]
When I change the hostname of a server using "hostname NewHostName", the
hostname entry in /etc/rc.conf is not updated to reflect the new name.
This is likely to be highly confusing to both newbies and users with no
previous experience with this behaviour.
The script fragment below will do the job. And it might be executed from the
hostname program, but it might not be paranoid enough since it contains no