Your message dated Mon, 4 Jul 2011 20:22:22 +0200
with message-id <20110704182222.ga2...@kirya.net>
and subject line Re: Bug#632599: rkhunter: Unknown configuration file option:
has caused the Debian Bug report #632599,
regarding rkhunter: Unknown configuration file option:
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 ow...@bugs.debian.org
immediately.)


-- 
632599: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632599
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rkhunter
Version: 1.3.8-6
Severity: normal


Hi Julien,

Thanks again for maintaining rkhunter.

Humble suggestion:

Improve the "-C' command line option (for checking
the configuration file) to allow leading spaces
before options in /etc/rkhunter.conf,
like the examples documented in it.

When I uncommented the example option for
RTKT_FILE_WHITELIST in /etc/rkhunter.conf

    '#     RTKT_FILE_WHITELIST="/etc/rc.local:hdparm"'

so that it is still indented with leading spaces,
like

    '     RTKT_FILE_WHITELIST="/etc/rc.local:hdparm"'

and I ran rkhunter with the "-C' option to check
the configuration file

    $ rkhunter -C

it complained with 

    Unknown configuration file option:      
RTKT_FILE_WHITELIST="/etc/rc.local:hdparm"

The end user can work around this by left
justifying the RTKT_FILE_WHITELIST option in
/etc/rkhunter.conf, like
    
     'RTKT_FILE_WHITELIST="/etc/rc.local:hdparm"'

However, it seems to me that the examples
documented in the configuration file should work with the
"-C' command line option.

Thanks,
Kingsley

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages rkhunter depends on:
ii  binutils                     2.20.1-15   The GNU assembler, linker and bina
ii  debconf [debconf-2.0]        1.5.32      Debian configuration management sy
ii  file                         4.12-1      Determines file type using "magic"
ii  net-tools                    1.60-4      The NET-3 networking toolkit
ii  perl                         5.12.3-7+b1 Larry Wall's Practical Extraction 
ii  ucf                          3.0018      Update Configuration File: preserv

Versions of packages rkhunter recommends:
ii  curl                          7.15.5-1   Get a file from an HTTP, HTTPS, FT
ii  elinks [links]                0.4.2.99-1 Character mode WWW/FTP browser
ii  exim4-daemon-light [mail-tran 4.76-2     lightweight Exim MTA (v4) daemon
ii  iproute                       20080725-2 networking and traffic control too
ii  links                         0.99-1     Character mode WWW browser
ii  lsof                          4.64-1     List open files.
ii  lynx                          2.8.5-1    Text-mode WWW Browser
ii  unhide                        20110113-2 Forensic tool to find hidden proce
ii  unhide.rb                     12-3       Forensic tool to find processes hi
ii  wget                          1.11.4-2   retrieves files from the web

Versions of packages rkhunter suggests:
ii  libdigest-sha1-perl      2.13-1+b1       NIST SHA-1 message digest algorith
pn  libdigest-whirlpool-perl <none>          (no description available)
ii  liburi-perl              1.37+dfsg-1     Manipulates and accesses URI strin
ii  libwww-perl              5.803-4         WWW client/server library for Perl
ii  mailutils [mailx]        1:1.1+dfsg1-3.1 GNU mailutils utilities for handli
pn  powermgmt-base           <none>          (no description available)
pn  tripwire                 <none>          (no description available)

-- Configuration Files:
/etc/rkhunter.conf changed [not included]

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Hi Kingsley,

Le lundi 04 juil. 2011 à 01:09:37 (+0200 CEST), Kingsley G. Morse Jr. a écrit :
[...]
> Humble suggestion:
> 
> Improve the "-C' command line option (for checking
> the configuration file) to allow leading spaces
> before options in /etc/rkhunter.conf,
> like the examples documented in it.

I fail to see what is the problem. The options should not include any
leading whitespace to be valid. This is true not only for '-C' but also when
running an actual check.

> When I uncommented the example option for
> RTKT_FILE_WHITELIST in /etc/rkhunter.conf
> 
>     '#     RTKT_FILE_WHITELIST="/etc/rc.local:hdparm"'

As you write, this is an example only, not meant to be used blindly.

rkhunter.conf is structured as follows for each option:

# Comment
# on several lines
#       OPTION="an example on how to use the option"
#
#OPTION="commented default option value"

Either use the commented option or add a new line. You can also use an
/etc/rkhunter.conf.local file and add there your specific configuration.

I hence consider this bug to be invalid and close it.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <jul...@kirya.net> ~ <jul...@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1


--- End Message ---
_______________________________________________
forensics-devel mailing list
forensics-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel

Reply via email to