[Bug 1111770] New: rkhunter fails to get the correct OSNAME
http://bugzilla.suse.com/show_bug.cgi?id=1111770 Bug ID: 1111770 Summary: rkhunter fails to get the correct OSNAME Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Security Assignee: security-team@suse.de Reporter: dgolden@golden-consulting.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- rkhunter uses the contents of /etc/issue as the OSNAME for Leap 15.0. -- This is 42.3 -- # grep 'OS:' /423/var/lib/rkhunter/db/rkhunter.dat OS:openSUSE Leap 42.3 # cat /423/etc/os-release NAME="openSUSE Leap" VERSION="42.3" ID=opensuse ID_LIKE="suse" VERSION_ID="42.3" PRETTY_NAME="openSUSE Leap 42.3" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.3" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" # ls -l /423/etc/os-release -rw-r--r-- 1 root root 249 Aug 9 14:23 /423/etc/os-release -- This is 15.0 -- # grep 'OS:' /var/lib/rkhunter/db/rkhunter.dat OS:Welcome to \S - Kernel \r (\l). # cat /etc/issue Welcome to \S - Kernel \r (\l). # cat /etc/os-release NAME="openSUSE Leap" VERSION="15.0" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.0" PRETTY_NAME="openSUSE Leap 15.0" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.0" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" # ls -l /etc/os-release lrwxrwxrwx 1 root root 21 May 16 03:58 /etc/os-release -> ../usr/lib/os-release -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1111770
Dennis Golden
http://bugzilla.suse.com/show_bug.cgi?id=1111770
http://bugzilla.suse.com/show_bug.cgi?id=1111770#c1
--- Comment #1 from Dennis Golden
http://bugzilla.suse.com/show_bug.cgi?id=1111770
http://bugzilla.suse.com/show_bug.cgi?id=1111770#c3
--- Comment #3 from Dennis Golden
http://bugzilla.suse.com/show_bug.cgi?id=1111770
http://bugzilla.suse.com/show_bug.cgi?id=1111770#c4
Dennis Golden
rkhunter 1.4.6 changes:
[...] - The 'OS_VERSION_FILE' configuration option pathname cannot be a link, but this was not checked. [...] - Handling of the '/etc/issue' file during O/S detection has now improved. Escape sequences are either replaced or removed. [...]
Reporter, please verify if 1.4.6 from security/rkhunter fixes this issue.
Sorry, I forgot to clear the needinfo flag. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1111770
http://bugzilla.suse.com/show_bug.cgi?id=1111770#c5
Andreas Stieger
http://bugzilla.suse.com/show_bug.cgi?id=1111770
http://bugzilla.suse.com/show_bug.cgi?id=1111770#c7
--- Comment #7 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com