Re: r356789 breaks rkhunter

2014-06-26 Thread Philippe Audéoud
On Wed, 25 Jun 2014, Michael Grimm wrote:

 On 25.06.2014, at 19:53, Frank Seltzer fran...@bellsouth.net wrote:
  On Wed, 25 Jun 2014, Michael Grimm wrote:
  On 09.06.2014, at 14:00, Frank Seltzer fran...@bellsouth.net wrote:
  On Sun, 8 Jun 2014, Frank Seltzer wrote:
 
  I just upgraded rkhunter and the installer splatted the sample file over 
  my .conf file.
  
  Running 'rkhunter --propupd' now quits with the error message
  
  The SCRIPTDIR configuration option has not been set by the installer.
  
  Some additional info.  I ran rkhunter -C on the default .conf file.
  
  -C Check the configuration file(s), then exit
  
  The SCRIPTDIR configuration option has not been set by the installer.
  Invalid INSTALLDIR configuration option - no installation directory 
  specified.
  The default temporary directory will be used: /lib/rkhunter/tmp
  Temporary directory does not exist: /lib/rkhunter/tmp
  The default database directory will be used: /lib/rkhunter/db
  Database directory does not exist: /lib/rkhunter/db
  The internationalisation directory does not exist: /lib/rkhunter/db/i18n
  Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: 
  /usr/local/bin/GET
  
  Same issue here. Could you solve it? If so, how?
  
  I had to create all the missing directories and add INSTALLDIR=/usr/local 
  to the .conf file.
 
 Thanks and JFTR:
 
 1. created /usr/local/etc/rkhunter.conf.local and added (copied from the 
 1.4.0 version config file):
   INSTALLDIR=/usr/local
   DBDIR=/usr/local/var/lib/rkhunter/db
   TMPDIR=/usr/local/var/lib/rkhunter/tmp
   SCRIPTDIR=/usr/local/lib/rkhunter/scripts
   USER_FILEPROP_FILES_DIRS=/usr/local/etc/rkhunter.conf
 
Didn't need to create those directories, though.
 
 2. Needed to decativate in /usr/local/etc/rkhunter.conf:
   #SCRIPTWHITELIST=/usr/local/bin/GET 
   #SCRIPTWHITELIST=/usr/local/sbin/pkgdb 
 
  Took me a bit and some head scratching to figure it out.
 
 Thanks again.
 
 Regards,
 Michael
 


Hello,

Apparently, maintainer doesn't have time to read emails and have a look
to this issue. If you have a solution to fix it, can you please send a
bug report via bugzilla ? Someone else will take care of it.

Regards,

-- 
Philippe Audéoud
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: r356789 breaks rkhunter

2014-06-25 Thread Michael Grimm

On 09.06.2014, at 14:00, Frank Seltzer fran...@bellsouth.net wrote:
 On Sun, 8 Jun 2014, Frank Seltzer wrote:

 I just upgraded rkhunter and the installer splatted the sample file over my 
 .conf file.
 
 Running 'rkhunter --propupd' now quits with the error message
 
 The SCRIPTDIR configuration option has not been set by the installer.
 
 Some additional info.  I ran rkhunter -C on the default .conf file.
 
 -C Check the configuration file(s), then exit
 
 The SCRIPTDIR configuration option has not been set by the installer.
 Invalid INSTALLDIR configuration option - no installation directory specified.
 The default temporary directory will be used: /lib/rkhunter/tmp
 Temporary directory does not exist: /lib/rkhunter/tmp
 The default database directory will be used: /lib/rkhunter/db
 Database directory does not exist: /lib/rkhunter/db
 The internationalisation directory does not exist: /lib/rkhunter/db/i18n
 Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: 
 /usr/local/bin/GET

Same issue here. Could you solve it? If so, how?

Thanks and kind regards,
Michael

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: r356789 breaks rkhunter

2014-06-25 Thread Frank Seltzer

On Wed, 25 Jun 2014, Michael Grimm wrote:



On 09.06.2014, at 14:00, Frank Seltzer fran...@bellsouth.net wrote:

On Sun, 8 Jun 2014, Frank Seltzer wrote:



I just upgraded rkhunter and the installer splatted the sample file over my 
.conf file.

Running 'rkhunter --propupd' now quits with the error message

The SCRIPTDIR configuration option has not been set by the installer.


Some additional info.  I ran rkhunter -C on the default .conf file.

-C Check the configuration file(s), then exit

The SCRIPTDIR configuration option has not been set by the installer.
Invalid INSTALLDIR configuration option - no installation directory specified.
The default temporary directory will be used: /lib/rkhunter/tmp
Temporary directory does not exist: /lib/rkhunter/tmp
The default database directory will be used: /lib/rkhunter/db
Database directory does not exist: /lib/rkhunter/db
The internationalisation directory does not exist: /lib/rkhunter/db/i18n
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: 
/usr/local/bin/GET


Same issue here. Could you solve it? If so, how?

Thanks and kind regards,
Michael


I had to create all the missing directories and add INSTALLDIR=/usr/local 
to the .conf file.


Apparently there aren't many that use rkhunter or I would think that there 
would have been more questions besides mine (which went unanswered).  It 
seems that the upgrade wasn't well tested and no mention of the changes 
required was added in /usr/ports/UPDATING.


Took me a bit and some head scratching to figure it out.

Frank
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: r356789 breaks rkhunter

2014-06-25 Thread Michael Grimm
On 25.06.2014, at 19:53, Frank Seltzer fran...@bellsouth.net wrote:
 On Wed, 25 Jun 2014, Michael Grimm wrote:
 On 09.06.2014, at 14:00, Frank Seltzer fran...@bellsouth.net wrote:
 On Sun, 8 Jun 2014, Frank Seltzer wrote:

 I just upgraded rkhunter and the installer splatted the sample file over 
 my .conf file.
 
 Running 'rkhunter --propupd' now quits with the error message
 
 The SCRIPTDIR configuration option has not been set by the installer.
 
 Some additional info.  I ran rkhunter -C on the default .conf file.
 
 -C Check the configuration file(s), then exit
 
 The SCRIPTDIR configuration option has not been set by the installer.
 Invalid INSTALLDIR configuration option - no installation directory 
 specified.
 The default temporary directory will be used: /lib/rkhunter/tmp
 Temporary directory does not exist: /lib/rkhunter/tmp
 The default database directory will be used: /lib/rkhunter/db
 Database directory does not exist: /lib/rkhunter/db
 The internationalisation directory does not exist: /lib/rkhunter/db/i18n
 Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: 
 /usr/local/bin/GET
 
 Same issue here. Could you solve it? If so, how?
 
 I had to create all the missing directories and add INSTALLDIR=/usr/local to 
 the .conf file.

Thanks and JFTR:

1. created /usr/local/etc/rkhunter.conf.local and added (copied from the 1.4.0 
version config file):
INSTALLDIR=/usr/local
DBDIR=/usr/local/var/lib/rkhunter/db
TMPDIR=/usr/local/var/lib/rkhunter/tmp
SCRIPTDIR=/usr/local/lib/rkhunter/scripts
USER_FILEPROP_FILES_DIRS=/usr/local/etc/rkhunter.conf

   Didn't need to create those directories, though.

2. Needed to decativate in /usr/local/etc/rkhunter.conf:
#SCRIPTWHITELIST=/usr/local/bin/GET 
#SCRIPTWHITELIST=/usr/local/sbin/pkgdb 

 Took me a bit and some head scratching to figure it out.

Thanks again.

Regards,
Michael


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: r356789 breaks rkhunter

2014-06-09 Thread Frank Seltzer


On Sun, 8 Jun 2014, Frank Seltzer wrote:

I just upgraded rkhunter and the installer splatted the sample file over my 
.conf file.


Running 'rkhunter --propupd' now quits with the error message

The SCRIPTDIR configuration option has not been set by the installer.

This option is now commented out in the .conf and .conf.sample file.

#
# This option specifies the script directory to use.
#
# The installer program will set the default directory. If this default is
# subsequently commented out or removed, then the program will not run.
#
#SCRIPTDIR=/usr/local/lib/rkhunter/scripts

This the correct directory where the scripts are installed.

Uncommenting this and re-running the command now quits with this error 
message:


Invalid INSTALLDIR configuration option - no installation directory 
specified.


I have searched around and have not found a file containing this option.

Help, please.

Frank


Some additional info.  I ran rkhunter -C on the default .conf file.

-C Check the configuration file(s), then exit

The SCRIPTDIR configuration option has not been set by the installer.
Invalid INSTALLDIR configuration option - no installation directory specified.
The default temporary directory will be used: /lib/rkhunter/tmp
Temporary directory does not exist: /lib/rkhunter/tmp
The default database directory will be used: /lib/rkhunter/db
Database directory does not exist: /lib/rkhunter/db
The internationalisation directory does not exist: /lib/rkhunter/db/i18n
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: 
/usr/local/bin/GET

Frank
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


r356789 breaks rkhunter

2014-06-08 Thread Frank Seltzer
I just upgraded rkhunter and the installer splatted the sample file over 
my .conf file.


Running 'rkhunter --propupd' now quits with the error message

The SCRIPTDIR configuration option has not been set by the installer.

This option is now commented out in the .conf and .conf.sample file.

#
# This option specifies the script directory to use.
#
# The installer program will set the default directory. If this default is
# subsequently commented out or removed, then the program will not run.
#
#SCRIPTDIR=/usr/local/lib/rkhunter/scripts

This the correct directory where the scripts are installed.

Uncommenting this and re-running the command now quits with this error 
message:


Invalid INSTALLDIR configuration option - no installation directory 
specified.


I have searched around and have not found a file containing this option.

Help, please.

Frank
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org