Stupid hostname problem

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?

Did you check in YaST network devices that the hostname is not set to
change via DHCP?

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel
up 1:11, 4 users, load average: 1.14, 0.62, 0.31
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

Yes - of course - that’s what it was. It’s so obvious now you point it out.
Thanks Malcolm