[Mageia-dev] [RFC] rsyslog vs journalctl

David W. Hodgins davidwhodgins at gmail.com
Mon Feb 11 23:42:41 CET 2013


On Mon, 11 Feb 2013 13:59:46 -0500, Guillaume Rousse <guillomovitch at gmail.com> wrote:

> Whereas my host name, set from HOSTNAME variable in
> /etc/sysconfig/network, is beria.inria.fr. I have to restart my syslog
> daemon to get it correct. So I guess just ensuring the hostname is
> either set prior the start of the logging process, or refreshing this
> last one thereafter, would avoid the issue.

In addition to having HOSTNAME=beria.inria.fr in /etc/sysconfig/network
put "beria.inria.fr" (without the quotes or HOSTNAME=) in /etc/hostname,
and make sure there is a line with "127.0.0.1 beria.inria.fr beria" in
/etc/hosts, then run "dracut -f".

Regards, Dave Hodgins


More information about the Mageia-dev mailing list