LANG=C is needed for calling ipcs+awk under non-english locale
Brought to you by:
dogsbody,
dogsbodymark
/usr/bin/rkhunter: line 1369:
if [ ${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ {print $3}' -ne 0 ]; ....
...supposes english locale and works incorrectly under all other locales when ipcs is installed with langpacks (for example, in CentOS).
You need to call it with resetting locale: if [ `LANG=C ${IPCS_CMD} ...
Thanks, fixed in CVS.