Bascule; Check the settings in /etc/sysconfig/network. I've found differences in that file that will produce what you're seeing.
Mine is set: HOSTNAME=aurora DOMAIN=mlb.esid.northgrum.com As such the hostname commands produce: $> hostname aurora $> hostname -f aurora.mlb.esid.northgrum.com $> hostname -d mlb.esid.northgrum.com Which is exactly as they should. It's very common to get this file wrong. The most common mistake I see is to set the fqdn as the hostname, and not enter the domain. This will cause some of the behaviour you're seeing. Cheers! Ric On Tue, Jan 21, 2003 at 08:13:40AM +0000, bascule wrote: > further to this i've dicovered something interesting: > on the box that was upgraded to 9.0 hostname works like this: > $ hostname > sigerson.excession > $ hostname -f > sigerson.excession > $ hostname -d > excession > > but on the clean 9.0 install it works like this: > $ hostname > mycroft > $ hostname -f > mycroft.excession > $ hostname -d > excession > > now clearly in both cases the system is aware of the fqdn since $ hostname -f > produces it, but in the former example $ hostname also produces it. > checking boot messages shows the the upgraded box says 'setting hostname: > sigerson.excession' as it boots, while the fresh box shows 'setting hostname: > mycroft' as it boots, i suspect this is related but as related in my previous > posts i have specifed the hostname including domain to the system in all the > ways i know how, incl all the ways i specified it to the upgraded system > > now postfix is working as i altered main.cf but there still seems to be > something fishy here, who knows what else might be broken over the hostname > issue? > > bascule > > On Tuesday 21 Jan 2003 7:22 am, Martin Fahrendorf wrote: > > postfix calculates the domainname from your hostname. so a hostname like > > my.hostname.com results in a domainname hostname.com. if your hostname is > > simply my, there is no way to get the domain name. so either specify your > > hostname as bascule.excession or change the entries mydomain and > > myhostname in /etc/postfix/main.cf. > > -- > "`The best way to get a drink out of a Vogon is to stick > your finger down his throat...'" > > -- The Book, on one of the Vogon's social inadequacies. > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
