Re: NetworkManager doesn't email log files

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

 



On Wed, 2008-11-26 at 13:03 -0500, Chuck Anderson wrote:
> On Wed, Nov 26, 2008 at 12:00:59PM -0600, Mike Chambers wrote:
> > When using NetworkManager, none of my log files (such as from epylog,
> > logwatch, crons, etc..) get emailed to my server (local network here at
> > home), all using static network.  When I go to the *old* network, they
> > are sent just fine.
> 
> Probably related to NetworkManager not changing the system hostname 
> and leaving it at the default localhost.localdomain.

NM will change the hostname just like dhclient-script does, if you have
not set a persistent hostname in /etc/sysconfig/network.  If you have
set a persistent hostname in /etc/sysconfig/network, NM will *always*
use that hostname.

It may be the issue where sendmail is happily unaware of network changes
including hostname changes.  If, after connecting, you do '/sbin/service
sendmail restart' does that start things working?  The real fix here is
to hit stupid services that don't handle network changes in the face
with a nail-studded board, and repeat if they get back up, until they
stop getting up and just lie there.  But failing that, forcing them to
restart via a dispatcher script when network changes occur may be the
quickest alternative.

Dan


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux