Paul Traina
2006-Jan-28 08:17 UTC
[Logcheck-devel] Bug#350242: logcheck: does not handle filenames with dots in them (e.g. cyrus2.2)
Package: logcheck Version: 1.2.42 Severity: normal Cyrus 2.2 in experimental installs its logcheck file as: /etc/logcheck/ignore.d.server/cyrus2.2 That file is ignored... root at protempore# su -s /bin/bash -c "/usr/sbin/logcheck -o -t" logcheck System Events =-=-=-=-=-=-Jan 27 23:02:05 protempore cyrus/master[20883]: about to exec /usr/lib/cyrus/bin/lmtpd Jan 27 23:02:05 protempore cyrus/lmtpunix[20883]: executed Jan 27 23:02:05 protempore cyrus/lmtpunix[20883]: accepted connection Jan 27 23:02:05 protempore cyrus/lmtpunix[20883]: lmtp connection preauth'd as postman ...<rest omitted> When I rename it: root at protempore# mv cyrus2.2 cyrus22 root at protempore# su -s /bin/bash -c "/usr/sbin/logcheck -o -t" logcheck root at protempore# See also BTS # 350240 where I ask the cyrus maintainers to rename their file. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages logcheck depends on: ii adduser 3.80 Add and remove users and groups ii cron 3.0pl1-92 management of regular background p ii debconf [debconf 1.4.67 Debian configuration management sy ii debianutils 2.15.2 Miscellaneous utilities specific t ii grep 2.5.1.ds2-4 GNU grep, egrep and fgrep ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.42 database of system log rules for t ii logtail 1.2.42 Print log file lines that have not ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent ii postfix [mail-tr 2.2.4-1.0.1 A high-performance mail transport ii sysklogd [system 1.4.1-17 System Logging Daemon logcheck recommends no packages. -- debconf information: logcheck/changes: * logcheck/install-note:
Jamie L. Penman-Smithson
2006-Feb-12 03:05 UTC
Bug#350242: [Logcheck-devel] Bug#350242: logcheck: does not handle filenames with dots in them (e.g. cyrus2.2)
reassign 350242 debianutils severity 350242 normal retitle 350242 debianutils: run-parts can't handle filenames containing a period thanks! On 28 Jan 2006, at 08:17, Paul Traina wrote:> Cyrus 2.2 in experimental installs its logcheck file as: > > /etc/logcheck/ignore.d.server/cyrus2.2 > > That file is ignored...This looks like a problem with run-parts: jps at lorien:~$ mkdir test jps at lorien:~$ cd test jps at lorien:~/test$ touch foo jps at lorien:~/test$ touch bar1.1 jps at lorien:~/test$ touch foobar11 jps at lorien:~/test$ run-parts --list . ./foo ./foobar11 jps at lorien:~/test$ mv bar1.1 bar11 jps at lorien:~/test$ run-parts --list . ./bar11 ./foo ./foobar11 Therefore, I'm going to reassign this to debianutils. In the meantime I've modified logcheck to use find instead. Thanks, -- -Jamie L. Penman-Smithson <jamie at silverdream.org> t: +44 1273 424795; f: +44 1273 424795 PGP: C0A7 955E EED6 A309 23D7 863B C76A 26A3 F0DC FCA8 never send mail to: oubliette.z at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060212/bd1b5487/attachment.pgp