syslogd-listfiles not reading lines with whitespace at the end of line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysklogd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sysklogd
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.
Description: Ubuntu 8.04.4 LTS
Release: 8.04
2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
sysklogd:
Installed: 1.5-1ubuntu1
Candidate: 1.5-1ubuntu1
3) What you expected to happen
I am expecting /etc/syslog.conf lines like
local1.* /var/log/amavislog
to cause syslogd-listfiles to print out the name of the log file in question (ie. /var/log/amavislog)
4) What happened instead
syslogd-listfiles does *not* list the log file if a space is at the end of the pertinent syslog.conf line. If the space is removed, then it *is* listed. This seems to be parsing error by syslogd-listfiles, as all variants of syslog that read /etc/syslog.conf are happy to ignore whitespace at the end of lines as far as I know.