Re: printk and kernel log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Jun 2013 18:46:50 +0300, Kevin Wilson said:
> Thanks, but unfortuantely this is not so.
> On this machine I have:
>  /bin/hostname
> amd1

Weird.  Maybe you have a flaky syslog() call that writes UDP packets to the
local host, rather than using the unix-domain socket at /dev/log - when the
packet arrives, the syslogd gets the source address of the packet (which will
be 127.0.0.1), and looks it up (usually in /etc/hosts), where it's getting the
name "localhost".

If you want to fix that, change the entry in /etc/hosts (on my laptop,
it looks like this:

127.0.0.1   turing-police.cc.vt.edu localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         turing-police.cc.vt.edu localhost localhost.localdomain localhost6 localhost6.localdomain6



Attachment: pgpKOLhng2CxW.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux