I have the exact same frugal install on a USB stick with a line that says hostname=unknown. Normally I boot this on other machines but sometimes I boot the USB on, say PCone (of course the init script for PCone then doesn't run automatically but I can do that manually if required).
I also tried to change the hostname from unknown to PCone by calling
Code: Select all
sudo hostname PCone
And this seems to work...but when I want to do a persist-save later on this doesn't work anymore: no error, no warning -- but also no save . Further investigation leads to sudo being the probable culprit. sudo apparently doesn't work when /etc/hostname has been changed (simply changing /etc/hostname back to unknown does the trick). I have googled left right and centre but none of the pages with possible solutions (ie editing /etc/hosts) does work.
It's not really a big deal but it's a still a puzzling thing. Has anyone got an idea what might be the problem here?