Bug exists as the canonical_hostname should be listed first, then aliases. [man hosts]
Bug:
Code: Select all
75 echo "127.0.0.1 localhost $NEW_HOSTNAME" > /tmp/hostname-set-hosts
Code: Select all
75 echo "127.0.0.1 $NEW_HOSTNAME localhost" > /tmp/hostname-set-hosts
[EDIT] Fixed typos
[EDIT] Added cause of bug, thanks to Karl Godt for the pointer.
[EDIT] Added link to Puppy Bug Tracker on Google Code.