Hi, I'm using rsyslog in a BuildRoot environment. I've built it on two different platforms (nios2 and arm). The Nios2 platform works great. However, on the Arm platform, rsyslog seems to think the local hostname is "127.0.0.1". Why do I think that? Well, /var/log/messages contains:
Oct 5 19:34:25 127 syslog: [origin software="rsyslogd" swVersion="8.2010.0" x-pid="8080" x-info="https://www.rsyslog.com"] start Notice the "127" in there? That's where the "hostname" is supposed to be. So if for some reason it thinks the FQDN is an IP address, that would explain why this is doing that. But that's weird, because: # hostname arm-host Moreover, if I compile and run the code to execute a "gethostbyname()" it also returns "arm-host". So I have no idea where it's getting the idea that the hostname/FQDN is an IP Address. I'll note that on the Nios2 this works as expected: Sep 30 19:28:41 nios2 rsyslogd: [origin software="rsyslogd" swVersion="8.2010.0" x-pid="830" x-info="https://www.rsyslog.com"] start I'll say this is the same version of rsyslog on both systems, built with the same sources, and (ostensibly) with the same build-time, and definitely the same run-time configurations. I'm just at a loss for why rsyslog might be doing this, and I'm not sure where else to look. So I'm hoping you experts might be able to help me? Thanks! -derek -- Derek Atkins 617-623-3745 [email protected] www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

