[Pkg-sysvinit-devel] Bug#513852: Bug#513852: /etc/init.d/hostname.sh: Does not set hostname during bootup

Petter Reinholdtsen pere at hungry.com
Sun Feb 1 20:06:27 UTC 2009


[Sam Morris]
> The symlink at '/etc/rcS.d/S02hostname.sh' is present and points to
> the script in /etc/init.d.

I am not aware of any way this script can fail.  Are you sure there
isn't some other program setting the incorrect hostname during boot,
after hostname.sh?  Can you provide the output from these commands:

  ls -l /etc/hostname
  cat /etc/hostname
  cat /etc/hosts
  grep hostname /etc/init.d/*

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list