Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 12:50:23 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/88215: [PATCH] syslogd does not pass cleanly parameters to cfline()
Message-ID:  <200511081250.jA8CoNao011349@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/88215; it has been noted by GNATS.

From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Daniel Molina Wegener <dmw@unete.cl>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: bin/88215: [PATCH] syslogd does not pass cleanly parameters to cfline()
Date: Tue, 8 Nov 2005 15:43:30 +0300

 On Sun, Oct 30, 2005 at 04:22:42AM -0300, Daniel Molina Wegener wrote:
 D>    In the syslogd function init(), parameters passed to cfline()
 D> are not clean when the user attempt to use a remote host entry
 D> as the source of syslog messages.
 D> 
 D>    Instead of a clean host name, it passes the hostname and the
 D> last program specification in the syslog.conf file.
 D> 
 D> >How-To-Repeat:
 D> 
 D>    Put any program specification and start syslogd with -vv and -d
 D> flags, you can see the parameters passed to cfline() function in
 D> a list.
 
 This is expected behavior, it is documented in manual:
 
 
      A program or hostname specification may be reset by giving the program or
      hostname as `*'.
 
 This means, that program and hostname specifications are sticky and should
 be reset explicitly, if set once. Many people find this confusing (me too).
 
 I would like to change syslogd so that it resets both program and hostname
 to '*' after any regular configuration line. But before commiting this we
 need positive review from some people, and no negative review. May be current@
 mailing list will be the correct choice. You should raise this question
 on mailing lists, if you want to discuss this issue. In this case I will set
 PR to analyzed state. If you agree with current documented behavior, then you
 can ask for PR to be closed.
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511081250.jA8CoNao011349>