[Solved] Re: syslog and hostname ?
On Thu, 30 Dec 1999, Paul J. Keenan wrote:
paul >So I would first check that /etc/hostname contains the single word
paul >aphro.
i just checked it again, it does, that file never changed.
paul >It seems that the syslogd gets its info from calling uname(2), which
paul >at kernel level invokes sys_gethostname in /usr/src/linux/kernel/sys.c
uname -n gives just 'aphro'
i just removed the 'aphro' from my /etc/hosts's line that was
127.0.0.1 localhost aphro
and restarted syslogd and it was back to 'normal' if i add aphro back and
restart again it goes back to localhost ..odd! (just tried this just now)
thanks!
nate
----------------------------------------[mailto:aphro@aphroland.org ]--
Vice President Network Operations http://www.firetrail.com/
Firetrail Internet Services Limited http://www.aphroland.org/
Everett, WA 425-348-7336 http://www.linuxpowered.net/
Powered By: http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
11:30pm up 132 days, 11:24, 3 users, load average: 2.67, 2.40, 1.94
Reply to: