Your message dated Fri, 07 Nov 2014 01:49:08 +0000 with message-id <[email protected]> and subject line Bug#767731: fixed in rkhunter 1.4.2-0.3 has caused the Debian Bug report #767731, regarding /usr/bin/rkhunter: 13967: [: -ne: unexpected operator to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 767731: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767731 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: rkhunter Version: 1.4.2-0.2 Severity: important Bonjour, Since upgrade to 1.4.2-0.2, I get cron errors: /etc/cron.daily/rkhunter: /usr/bin/rkhunter: 13967: [: -ne: unexpected operator This line is: if [ `${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ {print $3}'` -ne 0 ]; then To compare with: # ipcs -u 2>/dev/null ------ États des messages -------- files allouées = 0 en-têtes utilisées = 0 espace utilisé = 0 octets ------ État de la mémoire partagée -------- segments alloués = 28 pages alloués = 7428 pages résidentes = 6773 pages d'échange = 0 performance de l'espace d'échange = 0 tentatives 0 succès ------ États des sémaphores -------- tableaux utilisés = 3 sémaphores alloués = 35 My default locale is French: # cat /etc/default/locale # File generated by update-locale LANG="fr_FR.UTF-8" I created a /usr/bin/rkhunter.new and forced LANG=C before line 13967, adapted /etc/cron.daily/rkhunter, and I don't have error anymore. I suggest using data from /proc if possible (I did not find how to get these data from there), or force LANG=C. Thanks, Benoit -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rkhunter depends on: ii binutils 2.24.90.20141023-1 ii debconf [debconf-2.0] 1.5.53 ii file 1:5.20-1 ii net-tools 1.60-26 ii perl 5.20.1-2 ii ucf 3.0030 Versions of packages rkhunter recommends: ii curl 7.38.0-2 ii iproute 1:3.16.0-2 ii lsof 4.86+dfsg-1 ii lynx 2.8.9dev1-2 ii nullmailer [mail-transport-agent] 1:1.13-1 pn unhide.rb | unhide <none> ii wget 1.15-1+b1 Versions of packages rkhunter suggests: ii bsd-mailx [mailx] 8.1.2-0.20140825cvs-1 pn libdigest-whirlpool-perl <none> ii liburi-perl 1.64-1 ii libwww-perl 6.08-1 ii mailutils [mailx] 1:2.99.98-2 ii powermgmt-base 1.31+nmu1 pn tripwire <none> -- Configuration Files: /etc/cron.daily/rkhunter changed [not included] -- debconf information excluded
--- End Message ---
--- Begin Message ---Source: rkhunter Source-Version: 1.4.2-0.3 We believe that the bug you reported is fixed in the latest version of rkhunter, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Francois Marier <[email protected]> (supplier of updated rkhunter package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 07 Nov 2014 14:34:19 +1300 Source: rkhunter Binary: rkhunter Architecture: source all Version: 1.4.2-0.3 Distribution: unstable Urgency: medium Maintainer: Debian Forensics <[email protected]> Changed-By: Francois Marier <[email protected]> Description: rkhunter - rootkit, backdoor, sniffer and exploit scanner Closes: 767731 Changes: rkhunter (1.4.2-0.3) unstable; urgency=medium . * Non-maintainer upload. * Fix IPCS command on non-English locales (closes: #767731) Checksums-Sha1: c6b253a58bc40657dfc21a9b9b56ffd11adaae47 2020 rkhunter_1.4.2-0.3.dsc 21879640cbaf49140d1b6ea2d17e8ab4ba558403 25484 rkhunter_1.4.2-0.3.debian.tar.xz ab376005c59faacc04d78bf50013c5b4790deb42 237422 rkhunter_1.4.2-0.3_all.deb Checksums-Sha256: 2a941e13d4b80c9d39f3e9143f8f60c009e23e264b9fb3e3d4468494c17fdba7 2020 rkhunter_1.4.2-0.3.dsc 2ef5826789d7119954306dec473ce63c6e34054e96a3ba689a691508675a25be 25484 rkhunter_1.4.2-0.3.debian.tar.xz 91443b9be1e78562b9556083989bd830cc7b0de7fb1a85a3df9fa37ddd0d44fd 237422 rkhunter_1.4.2-0.3_all.deb Files: 0f10c2d866bd441ea182300f73a8c87c 2020 admin optional rkhunter_1.4.2-0.3.dsc ab465d678e9183c5e449c75dc4c82829 25484 admin optional rkhunter_1.4.2-0.3.debian.tar.xz 2348188a8ee47b7cf946e0810be35f4c 237422 admin optional rkhunter_1.4.2-0.3_all.deb -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJUXCIZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4QzQ3MEIyQTBCMzE1NjhFMTEwRDQzMjUx NjI4MUYyRTAwN0M5OEQxAAoJEBYoHy4AfJjRluEQAKCck8GfHYH4WMGm4antYDXp MV82pG7EjxOvedpjFmnjxnq3Tg/E9iU/LeSkdcu5tXprkyhvci0b2D+S4m5mOLXv rnpF5JTQiXMaH0X3JWU7zBV5tW+w3KQOxs0NflxtjvztfeW6KEMYxgT+CER8yonx 02sWkfXHEIO+lhmERn9KOQEtgIAK9PP4G5Hgs0R88Jg66sQNpYjmqBzEw2xe9Poa k9qVhTxaGYZUyovKgDSgvkIdajHsupxQm/t+nyevG6kh6DUQUYMEi4U3oJeiRQay HsKiw4GAgfaUP9+r6i7QmxEYpGquD7YXDq17Bh3dAYAcHYk60IF2NZhcf6HTg5Gm IdXKJoanl4pMO3AW2Lckc3VAlgwF+SNtp6ydnHyclaGCbD0h0hZMQ6Qyv/59Y6UK 3mgJ/cM/29OELqyf1kCqUKjDR0WoMK6yi5FH700ieNysgNykQrJPIzUFru2kL3PJ lpCqojf+Wl8X1PI2jChzQ/kB1c915oQGmoMgMN9ypuqkpFBoZV7rKcVyGFdSXZqm mITCp77nIlO6/JvVQW84198Yg46ZgWC4H1lN/OMchdJ2YTKv7/SlOgeBxx3ogHvd ofu9Tsx9Rqc32DVPbTFaie7ZgRypgkhL7UYCVz+YIb+4VhxQhKd+Z/u2LnZrYoze vOA/y4eQ2+/0ba6KRdtf =9Alu -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ forensics-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel
