Bug#709421: chkrootkit should not assume kernel version has 3 components

2014-04-23 Thread Yaroslav Halchenko
Package: chkrootkit
Version: 0.49-4.1
Followup-For: Bug #709421

FWIW confirming that this issue is still there and would agree with the
previous comment on simply patching this comparison away for the sake of
correct operation whenever 4.0 comes out ;)

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages chkrootkit depends on:
ii  binutils   2.24-4
ii  debconf [debconf-2.0]  1.5.51
ii  libc6  2.18-4
ii  net-tools  1.60-25
ii  procps 1:3.3.4-2

chkrootkit recommends no packages.

chkrootkit suggests no packages.

-- debconf information:
  chkrootkit/run_daily: false
  chkrootkit/diff_mode: false
  chkrootkit/run_daily_opts: -q


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709421: chkrootkit should not assume kernel version has 3 components

2013-05-23 Thread karme
Package: chkrootkit
Version: 0.49-4.1
Severity: important

Dear Maintainer,

at the moment chkrootkit fails with:
/etc/cron.daily/chkrootkit:
/usr/sbin/chkrootkit: 27: [: Illegal number: 8-1-amd64

this is cause by uname -r returning 3.8-2-amd64:
$ uname -r
3.8-2-amd64

in line 27:
if [ `uname -r | cut -d. -f2` -lt 6 ] ;

this assumes uname -r | cut -d. -f2 is a number
which it is not

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chkrootkit depends on:
ii  binutils   2.22-8
ii  debconf [debconf-2.0]  1.5.50
ii  libc6  2.17-3
ii  net-tools  1.60-25
ii  procps 1:3.3.6-1

chkrootkit recommends no packages.

chkrootkit suggests no packages.

-- debconf information:
* chkrootkit/run_daily_opts: -q
* chkrootkit/run_daily: true
* chkrootkit/diff_mode: false


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709421: chkrootkit should not assume kernel version has 3 components

2013-05-23 Thread Aaron M. Ucko
Package: chkrootkit
Version: 0.49-4.1
Followup-For: Bug #709421

Ironically, this message also called attention to a silent bug in the
same code's handling of *older* 3.x kernels: because it was only
looking at the second component, it treated anything prior to 3.6 as
prior to *2.6*.  That obviously doesn't hold for 3.8, though.

At any rate, given that Debian hasn't supported such ancient kernels
in years, I'd suggest taking that test out altogether, and just
assuming 2.6+.

Thanks!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org