Package: inn2
Version: 2.4.2-3
Severity: normal

Within the embedded perl filter (filter_innd.pl) I should have some
functions from innd, e.g. slog to write a message to the news.notice
log file.

However, adding a minimal slog statement like

--- filter_innd.pl.ORG  2005-05-14 15:16:05.000000000 +0200
+++ filter_innd.pl      2005-08-09 23:12:32.000000000 +0200
@@ -103,6 +103,7 @@
 }
 
 sub filter_mode {
+    slog ('N', 'Hello World');
        if ($mode{'NewMode'} eq "throttled" || $mode{'NewMode'} eq "paused") {
 #              print "Closing spam database\n" ; # won't kill server.
 #              &close_spam_database ;


fails:
| innd: Perl function filter_mode died: Undefined subroutine &main::slog called 
at /etc/news/filter/filter_innd.pl line 106.

and disable perl - while these things work fine on a INN compiled from
scratch.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12.3
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages inn2 depends on:
ii  cron                        3.0pl1-86    management of regular background p
ii  debconf [debconf-2.0]       1.4.30.13    Debian configuration management sy
ii  inn2-inews                  2.4.2-3      NNTP client news injector, from In
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.3                    4.3.27-2     Berkeley v4.3 Database Libraries [
ii  libperl5.8                  5.8.4-8      Shared Perl library
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4]   5.8.4-8      The Pathologically Eclectic Rubbis
ii  postfix [mail-transport-age 2.1.5-9jj    A high-performance mail transport 
ii  procps                      1:3.2.1-2    The /proc file system utilities
ii  time                        1.7-21       The GNU time program for measuring

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to