Package: chkrootkit
Version: 0.49-4.1+deb7u2
Severity: |important

Since the last upgrade of chkrootkit package from 0.49-41 to 0.49-4.1+deb7u2 I
found an error on the configuration file.
Configuration file seem to have been modified during last upgrade.
The error was reported by mail to localhost as:

|/etc/cron.daily/chkrootkit:
/etc/cron.daily/chkrootkit: 2: /etc/chkrootkit.conf: hostname: not found
run-parts: /etc/cron.daily/chkrootkit exited with return code 127

my current configuration file is:

RUN_DAILY="true"
RUN_DAILY_OPTS="-q | mail -s "[chkrootkit] hostname - daily report" 
root@localhost"
DIFF_MODE="true"

Investigating into the configuration file I found that the mail option had wrong
double quote into command line:

RUN_DAILY_OPTS="-q | mail -s "[chkrootkit] hostname - daily report" 
root@localhost"

trying to insert a backslash before the internal double quote all seem to work:

RUN_DAILY_OPTS="-q | mail -s \"[chkrootkit] hostname - daily report\"
root@localhost"

no error was reported and a report mail was sent to localhost - ok.

System Information:
uname -a
Linux xps.home.local 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 
GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 7.5 (wheezy)
Release:    7.5
Codename:    wheezy

dpkg --list chkrootkit
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture        
Description
+++-===============================-====================
ii  chkrootkit                      0.49-4.1+deb7u2      amd64               
rootkit detector
 
dpkg --status chkrootkit
Package: chkrootkit
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 931
Maintainer: Giuseppe Iuculano <iucul...@debian.org>
Architecture: amd64
Version: 0.49-4.1+deb7u2
Depends: libc6 (>= 2.7), debconf (>= 0.5) | debconf-2.0, binutils, net-tools,
debconf, procps
Conffiles:
 /etc/cron.daily/chkrootkit f1aad4f9042a8595e68e7ecfde1c10f6
Description: rootkit detector
 The chkrootkit security scanner searches the local system for signs
 that it is infected with a 'rootkit'. Rootkits are set of programs
 and hacks designed to take control of a target machine by using known
 security flaws.
 .
 Types that chkrootkit can identify are listed on the project's home page.
 .
 Please note that where chkrootkit detects no intrusions, this does
 not guarantee that the system is uncompromised. In addition to
 running chkrootkit, more specific tests should always be performed.
Homepage: http://www.chkrootkit.org/


-- 
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