Bug 1698920

Summary: ifup/ifdown not part of the base install anymore (F30)
Product: [Fedora] Fedora Reporter: Kees de Jong <keesdejong+dev>
Component: rkhunterAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 30CC: kevin, manuel.wolfshant, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rkhunter-1.4.6-4.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-10 00:46:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kees de Jong 2019-04-11 12:42:35 UTC
Description of problem:
The default config includes references to whitelist /sbin/ifup and /sbin/ifdown. These files are part of the package network-scripts, which has been deprecated in Fedora 30. The package network-scripts is not installed by default anymore. Therefore these files cannot be whitelisted by default, rkhunter fails when `rkhunter --propupd` is run.

Version-Release number of selected component (if applicable): rkhunter-1.4.6-3.fc30.noarch


Steps to Reproduce:
1. Install rkhunter with `dnf install rkhunter`
2. Then run `rkhunter --propupd`

Actual results:
Errors show up.
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /sbin/ifup
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /sbin/ifdown

Expected results:
The default config should be compatible with the base install.

Additional info:
It seems like network-scripts is deprecated since Fedora 29: https://utcc.utoronto.ca/~cks/space/blog/linux/NetworkScriptsAndPPPoE

The following lines should be removed from the rkhunter.conf
SCRIPTWHITELIST=/sbin/ifup
SCRIPTWHITELIST=/sbin/ifdown

Comment 1 Fedora Update System 2019-04-14 23:43:28 UTC
rkhunter-1.4.6-4.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4ee312d293

Comment 2 Fedora Update System 2019-04-15 01:43:01 UTC
rkhunter-1.4.6-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4ee312d293

Comment 3 Fedora Update System 2019-05-10 00:46:59 UTC
rkhunter-1.4.6-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.