Description of problem: As described at http://forums.fedoraforum.org/showthread.php?p=1318325, rkhunter dies with: Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf on machines without xinetd installed. Version-Release number of selected component (if applicable): rkhunter-1.3.6-4.fc12.noarch Commenting out the line in the configuration seems to fix the problem without impacting xinetd checks on machines with xinetd.
I would prefer if the check could just not run if there is no config file. I'll look at patching that in. Thanks for the report!
Just to clarify - with the config line commented out, the check doesn't run if /etc/xinetd.conf doesn't exist. However, it will run properly (it looks at /etc/xinetd.conf by default) even if the path isn't explicitly set in /etc/rkhunter.conf. Or were you saying that you'd prefer if rkhunter did not die with an error if a nonexistent XINETD_CONF_PATH is specified?
I would prefer rkhunter not to error if XINETD_CONF_PATH does not exist. You have the case where the default Fedora install + rkhunter (or a slightly hardened system w/o xinetd) doesn't get successful rkhunter scans "out of the box". Thanks for looking into this!
Sorry for the delay here. So, the real bug here is that if this path is set and doesn't exist, the script errors. I guess they assume if you set the path that it is correct. I will go ahead and just disable that path in the default config. Do you think this warrents f13/f12/f11 updates? Or shall I just fix in rawhide?
http://koji.fedoraproject.org/koji/taskinfo?taskID=2036001 for rawhide. I'm not sure this is worth pushing to stable releases for just this one change, but feel free to convince me. ;)
rkhunter-1.3.6-6.fc13 was released with XINETD_CONF_PATH commented out, please issue update for F12 too.
rkhunter-1.3.6-7.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rkhunter-1.3.6-7.fc12
Please test the f12 update and provide karma. Thanks.
rkhunter-1.3.6-7.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.