[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-devel-discuss
Subject:    rkhunter installation error on linux mint 20 / ubuntu 20.04
From:       Edward Freeman <eddjasfreeman () gmail ! com>
Date:       2020-06-24 10:32:57
Message-ID: CANDtBgbMy-+vSU4cX82yyEkhQ-hk2jprQsvbxhetr+sABSdpPw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


rkhunter threw up an installation error rather like this one:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773974.

The error messages I received were:
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname:
/usr/bin/egrep
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname:
/usr/bin/fgrep

A check of current rkhunter.conf files from two installations of other
linux OSs showed that the offending line in debian bug 773974,
SCRIPTWHITELIST=/usr/bin/lwp-request, which provoked the error response Invalid
SCRIPTWHITELIST configuration option: Non-existent pathname:
/usr/bin/lwp-request, remained commented out.

A comparison of the rkhunter.conf file for the new linux mint 20 with the
same file for the other two functioning installations on my main PC
revealed that the paths /usr/bin/egrep, usr/bin/fgrep and usr/bin/which
were /bin/egrep, /bin/fgrep and /bin/which. Amending those three /usr/bin/
lines to /bin/ in my Linux 20 installation allowed the rkhunter package to
reinstall correctly.

I'm enjoying the mint 20 release so far.

Ed Freeman



[image: cloudHQ]
<https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>
Powered
by
cloudHQ
<https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>

[Attachment #5 (text/html)]

<div dir="ltr"><img width="0" height="0" class="chq-track-image" alt="" \
style="display:flex; border: 0; width: 0px; height: 0px" \
src="https://www.cloudhq-mkt2.net/mail_track/mail/bf066a969f75f013b5_1592994777073?uid=1188333"><div \
class="gmail_default"><font size="4" face="georgia, serif">rkhunter threw up an \
installation error rather like this one:  <a \
href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773974" \
target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773974</a>.</font></div><div \
class="gmail_default"><font size="4" face="georgia, serif"><br></font></div><div \
class="gmail_default"><font size="4" face="georgia, serif">The error messages I \
received were:</font></div><div class="gmail_default"><font size="4" face="georgia, \
serif" style="background-color:rgb(255,255,0)">Invalid SCRIPTWHITELIST configuration \
option: Non-existent pathname: /usr/bin/egrep<br></font></div><div \
class="gmail_default"><font size="4" face="georgia, serif" \
style="background-color:rgb(255,255,0)">Invalid SCRIPTWHITELIST configuration option: \
Non-existent pathname: /usr/bin/fgrep<br></font></div><div \
class="gmail_default"><font size="4" face="georgia, serif"><br></font></div><div \
class="gmail_default"><font size="4" face="georgia, serif">A check of current \
rkhunter.conf files from two installations of other linux OSs showed that the \
offending line in debian bug 773974,  <span \
style="color:rgb(0,0,0);white-space:pre-wrap"><span \
style="background-color:rgb(255,255,0)">SCRIPTWHITELIST=/usr/bin/lwp-request</span>, \
</span>which provoked the error response  <span \
style="color:rgb(0,0,0);white-space:pre-wrap"><span \
style="background-color:rgb(255,255,0)">Invalid SCRIPTWHITELIST configuration option: \
Non-existent pathname: /usr/bin/lwp-request</span>, remained commented \
out.</span></font></div><div class="gmail_default"><span \
style="color:rgb(0,0,0);white-space:pre-wrap"><font size="4" face="georgia, \
serif"><br></font></span></div><div class="gmail_default"><span \
style="color:rgb(0,0,0);white-space:pre-wrap"><font size="4" face="georgia, serif">A \
comparison of the rkhunter.conf file for the new linux mint 20 with the same file for \
the other two functioning installations on my main PC revealed that the paths <span \
style="background-color:rgb(255,255,0)">/usr/bin/egrep, usr/bin/fgrep</span> and \
<span style="background-color:rgb(255,255,0)">usr/bin/which were /bin/egrep</span>, \
<span style="background-color:rgb(255,255,0)">/bin/fgrep</span> and <span \
style="background-color:rgb(255,255,0)">/bin/which</span>. Amending those three <span \
style="background-color:rgb(255,255,0)">/usr/bin/</span> lines to <span \
style="background-color:rgb(255,255,0)">/bin/</span> in my Linux 20 installation \
allowed the rkhunter package to reinstall correctly.</font></span></div><div \
class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><font \
size="4" face="georgia, serif"><br></font></span></div><div \
class="gmail_default"><span style="color:rgb(0,0,0);white-space:pre-wrap"><font \
size="4" face="georgia, serif">I&#39;m enjoying the mint 20 release so \
far.</font></span></div><div class="gmail_default"><span \
style="color:rgb(0,0,0);white-space:pre-wrap"><font size="4" face="georgia, \
serif"><br></font></span></div><div class="gmail_default"><span \
style="color:rgb(0,0,0);white-space:pre-wrap"><font size="4" face="georgia, serif">Ed \
Freeman</font></span></div><div class="gmail_default" \
style="font-family:georgia,serif;font-size:large"><br></div><div \
class="gmail_default" style="font-family:georgia,serif;font-size:large"><span \
style="color:rgb(0,0,0);white-space:pre-wrap;font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></div><div \
class="gmail_default" style="font-family:georgia,serif;font-size:large"><span \
style="color:rgb(0,0,0);white-space:pre-wrap;font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></div><div \
class="cloudHQ_signature" id="cloudHQ_signature_id" style="border-top:1px solid \
rgb(238,238,238);width:fit-content;margin-top:10px"><table border="0" cellpadding="8" \
cellspacing="0" style="font-size:10px"><tbody><tr><td \
style="width:25px;padding:0px;margin:0px;text-align:right"><a \
href="https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj" \
class="cloudHQ_no_pointer_events" style="text-decoration:none"><img \
src="https://www.cloudHQ.net/images/em_Signature_25px.png" alt="cloudHQ" \
class="cloudHQ_no_pointer_events" width="20" height="20" style="padding-top: \
5px;"></a></td><td style="width:140px;line-height:12px"><span>Powered by</span><br><a \
href="https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj" \
class="cloudHQ_install" \
style="color:#1155cc;font-family:arial,sans-serif;font-size:10px;font-style:normal;fon \
t-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:nor \
mal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:#ffffff">cloudHQ</a></td><td \
id="cloudHQ_remove_div_table" \
style="width:90px;font-size:10px"></td></tr></tbody></table></div></div>


[Attachment #6 (text/plain)]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic