Re: changing a computer's name

2002-12-09 Thread Jeff Cours
Following up for the archives. It looks like reversing the order of the names in /etc/hosts and rebooting did the trick. I'm guessing that, instead of reading /etc/hostname, some daemons try to discover the hostname by doing a reverse resolution on 127.0.0.1. In any case, the machine now seems

Re: changing a computer's name

2002-12-06 Thread Bob Proulx
Jeff Cours <[EMAIL PROTECTED]> [2002-12-05 11:39:00 -0800]: > Good catch - I forgot to mention that one. I did modify /etc/hosts > originally, adding the new name in addition to the old name to the > loopback (127.0.0.1) entry. I don't know whether or not the resolver > is sensitive to ordering

Re: changing a computer's name

2002-12-05 Thread Jeff Cours
Bill Moseley wrote: How about /etc/hosts? Good catch - I forgot to mention that one. I did modify /etc/hosts originally, adding the new name in addition to the old name to the loopback (127.0.0.1) entry. I don't know whether or not the resolver is sensitive to ordering, though, so I just rear

Re: changing a computer's name

2002-12-05 Thread Bill Moseley
At 10:32 AM 12/05/02 -0800, Jeff Cours wrote: >I recently changed the name of a computer, but I'm still getting >messages in /var/log under the old name. I've changed > > /etc/hostname > /etc/mailname > /etc/resolv.conf > /etc/exim/exim.conf How about /etc/hosts? -- Bill Mosel

Re: changing a computer's name

2002-12-05 Thread Shawn Lamson
--- Jeff Cours <[EMAIL PROTECTED]> wrote: > sean finney wrote: > > have you restarted those daemons? i think some of them may make a > single > > call to hostname when they start up, and never ask again until they > > reload or restart. > > Yes, when I saw that the old name was being used, I fig

Re: changing a computer's name

2002-12-05 Thread ernst
edit /etc/hostname and /etc/hosts /ernst On Thu, 5 Dec 2002, Jeff Cours wrote: > sean finney wrote: > > have you restarted those daemons? i think some of them may make a single > > call to hostname when they start up, and never ask again until they > > reload or restart. > > Yes, when I saw t

Re: changing a computer's name

2002-12-05 Thread Jeff Cours
sean finney wrote: have you restarted those daemons? i think some of them may make a single call to hostname when they start up, and never ask again until they reload or restart. Yes, when I saw that the old name was being used, I figured someone must be caching it somewhere. Since I didn't kn

Re: changing a computer's name

2002-12-05 Thread sean finney
have you restarted those daemons? i think some of them may make a single call to hostname when they start up, and never ask again until they reload or restart. sean msg17242/pgp0.pgp Description: PGP signature

changing a computer's name

2002-12-05 Thread Jeff Cours
I recently changed the name of a computer, but I'm still getting messages in /var/log under the old name. I've changed /etc/hostname /etc/mailname /etc/resolv.conf /etc/exim/exim.conf and ran hostname to change the name. I've also rebooted since that time. A find+grep for the ol