[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#765911: rkhunter: 1.4.2-0.1 breaks the apt hook



Package: rkhunter
Version: 1.4.2-0.1
Severity: normal

The last NMU broke the apt hook. After installing/remove packages, we now
get the following error message:

  Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /usr/sbin/prelink
  E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/rkhunter ] && grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi'
  E: Sub-process returned an error code

While it doesn't interfere with apt, it breaks rkhunter db updates for
those people that don't have the "prelink" package installed.

The fix is to comment out this line in /etc/rkhunter.conf:

  SCRIPTWHITELIST=/usr/sbin/prelink

Francois



Reply to: