[LTP] [PATCH] syslog/syslog-lib.sh: Match rsyslog config written by RainerScript

Jan Stancek jstancek@redhat.com
Fri Oct 12 15:02:29 CEST 2018



----- Original Message -----
> Since rsyslog commit 3b55048094d759adf8162f0829f239e115ebf2c0, rsyslog
> by default deletes log socket during restart, unless socket is provided
> by systemd.
> 
> If default rsyslog config written by RainerScript uses imjournal module
> (e.g. module(load="imjournal"...) and doesn't specify $SystemLogSocketName,
> syslog-lib.sh cannot match imjournal module and just write imuxsock module
> into the rsyslog.conf constructed by test.  In this case, "/dev/log" is
> owned by journald but rsyslog deletes it as its default log socket after
> testing.
> 
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Pushed with added comment what patterns is the grep targetting.

Thanks,
Jan


More information about the ltp mailing list