This is really stupid.
I have changed my host name using Yast and all the relevant files in /etc (/etc/hosts, /etc/HOSTNAME and /etc/hosts.YaST2save) all contain the right host name.
But every time I boot up, Opensuse 11.3 insists on naming my host back to the old name. The prompt at a shell contains the old name, not the new, and when I type ‘hostname’ it reports the old name not the new.
I have searched the entire /etc directory for any file containing the old host name but the only one which does is aliases.db which I believe is a postfix database file.
I can use the new name to address the host and that works fine so opensuse obviously recognises the new name as the host name, but annoyingly is continues to insist on using the old name.
Can anyone shed any light on this?