Your message dated Sat, 11 May 2013 10:05:52 +0000
with message-id <[email protected]>
and subject line Bug#707655: Removed package(s) from unstable
has caused the Debian Bug report #222120,
regarding Syslogd-listfiles doesn't show files containg `0' pattern
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
222120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysklogd
Version: 1.4.1-10

Syslogd-listfiles script doesn't show any files (even with -a option)
from syslogd.conf containing `0' pattern in its name. After close
examination it became clear that it is caused by improper initialization
of $opt_skip variable.

$opt_ign_size = 0;
$opt_news = 0;
$opt_skip = 0;
 ^^^^^^^^^^^^
At the end of the script all filename lines are checked against skip
pattern which is just `0' by default:

foreach $file (keys (%output)) {
    $skip = $file;
    if ($skip !~ /$opt_skip/) {
                 ^^^^^^^^^^^^
        printf "%s\n", $file;


So, when the `-s' parameter isn't altered by user, output of lines
containg `0' is suppressed. To fix it initialization of that variable
should be changed to value which is a bit less popular than `0' (for
example "\0" to retain consistency or some `match nothing' regexp
pattern).

How to reproduce:
[ cut ]
songo@fugazi:/tmp$ cat syslog.conf.test
local0.*                                        /var/log/hosts/router01.log
local1.*                                        /var/log/hosts/router02.log
local2.*                                        /var/log/hosts/router03.log
local3.*                                        /var/log/hosts/router33.log
songo@fugazi:/tmp$ /usr/sbin/syslogd-listfiles -f syslog.conf.test -a
/var/log/hosts/router33.log
[ cut ]

I'm using Debian GNU/Linux stable, but this problem is present in
sysklogd package for testing/unstable. System parameters:

songo@fugazi:~$ cat /etc/debian_version
3.0
songo@fugazi:~$ uname -a
Linux fugazi 2.4.22 #1 sob wrz 27 17:31:17 CEST 2003 i686 unknown
songo@fugazi:~$ dpkg -s perl | grep ^Version:
Version: 5.6.1-8.3
-- 
- -  Krzysztof Gajdemski | songo @ debian.org.pl | KG4751-RIPE 
Registered Linux User # 133457 | BLUG Registered Member # 0005 
PGP publ. key at: http://i.use.vi.pl/gpg/gpgkey * ID: 3C38979D
,,Szanuję was wszystkich, którzy pozostajecie w cieniu'' SNERG 


--- End Message ---
--- Begin Message ---
Version: 1.5-6.2+rm

Dear submitter,

as the package sysklogd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/707655

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to