Jan Suchy
2005-Jul-20 10:00 UTC
[Logcheck-devel] Bug#319169: logcheck: chokes on log files whose names contain spaces
Package: logcheck Version: 1.2.39 Severity: normal The logcheck script fails to protect the file names with quotes, e.g. [ -f $file ] -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (550, 'unstable') Architecture: i386 (i586) Kernel: Linux 2.4.27-2-586tsc Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.50-8 metapackage to ease exim MTA (v4) ii exim4-daemon-lig 4.50-8 lightweight exim MTA (v4) daemon ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.39 A database of system log rules for ii logtail 1.2.39 Print log file lines that have not ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent ii sysklogd [system 1.4.1-17 System Logging Daemon -- debconf information excluded
maximilian attems
2005-Jul-20 10:55 UTC
Bug#319169: [Logcheck-devel] Bug#319169: logcheck: chokes on log files whose names contain spaces
On Wed, 20 Jul 2005, Jan Suchy wrote:> The logcheck script fails to protect the file names with quotes, e.g. [ -f $file ]okay the example your cite seems taken from logoutput(), which is called: logoutput "$file" saw more unprotected usage of $dir on a quick scan. what's the special trouble you have? especially please educate me on the needed use of quotes? thanks for your feedback. -- maks
maximilian attems
2005-Jul-20 14:36 UTC
Bug#319169: [Logcheck-devel] Bug#319169: logcheck: chokes on log files whose names contain spaces
On Wed, 20 Jul 2005, Jan Suchy wrote:> The logcheck script fails to protect the file names with quotes, e.g. [ -f $file ]hmm should have better read the subject first. ok we need to correct that. which files did you use with spaces? a rules file? -- maks
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#319169: marked as done (logcheck: chokes on log files whose names contain spaces)
Your message dated Thu, 10 Dec 2009 19:19:22 +0000 with message-id <E1NIoXq-0000Lz-Ik at ries.debian.org> and subject line Bug#319169: fixed in logcheck 1.3.4 has caused the Debian Bug report #319169, regarding logcheck: chokes on log files whose names contain spaces 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 owner at bugs.debian.org immediately.) -- 319169: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319169 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Jan Suchy <moose at abu.ath.cx> Subject: logcheck: chokes on log files whose names contain spaces Date: Wed, 20 Jul 2005 12:00:07 +0200 Size: 3658 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/5002d2d2/attachment-0002.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#319169: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:22 +0000 Size: 8647 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/5002d2d2/attachment-0003.eml>