[opensuse-factory] rkhunter complains about too many arguments - tumbleweed
I did run: # rkhunter --update [ Rootkit Hunter version 1.4.2 ] Checking rkhunter data files... Checking file mirrors.dat [ No update ] Checking file programs_bad.dat [ Updated ] Checking file backdoorports.dat [ No update ] Checking file suspscan.dat [ No update ] Checking file i18n/cn [ No update ] Checking file i18n/de [ No update ] Checking file i18n/en [ No update ] /usr/bin/rkhunter: line 7439: [: too many arguments Checking file i18n/tr [ No update ] Checking file i18n/tr.utf8 [ No update ] /usr/bin/rkhunter: line 7439: [: too many arguments Checking file i18n/zh [ No update ] Checking file i18n/zh.utf8 now: either we are not supposed to use that function or there is a problem with line 7439. Both are fine with me. But as 13.2 doesn't throw this error: do you see the same? And should it be reported? --- Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! http://email.freenet.de/basic/Informationen -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 11/16/2015 04:02 PM, stakanov@freenet.de wrote:
/usr/bin/rkhunter: line 7439: [: too many arguments
It's not rkhunter complaining about too many arguments - it's the test utility, so usually the shell-internal '[' builtin, or /usr/bin/[. I don't have the rkhunter script here, but such a thing usually happens when file names with blanks are not quoted correctly, like e.g.: [ -f $file ] && echo "file exists" vs. [ -f "$file" ] && echo "file exists" Have a nice day, Berny -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Bernhard Voelker
-
stakanov@freenet.de