Package: sshguard
Version: 1.5-2~bpo60+1
Severity: normal


-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



If you define LOGFILES="/var/log/auth.log /var/log/proftpd/proftpd.log"  in 
/etc/default/sshguard , the script fails with message "No valid logs to scan by 
sshguard, exiting".

This is because of this line in /etc/init.d/sshguard:

for logfile in "$LOGFILES"; do [ -r "$logfile" ] && DAEMON_ARGS="$DAEMON_ARGS 
-l $logfile" && LOGS=$((LOGS+1)); done

Fix is to change that line to

for logfile in $LOGFILES; do [ -r "$logfile" ] && DAEMON_ARGS="$DAEMON_ARGS -l 
$logfile" && LOGS=$((LOGS+1)); done



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to