[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648721: missing /dev => [: 15382: -eq: unexpected operator

Package: rkhunter
Version: 1.3.6-4
Severity: normal

Running this command
rkhunter -c -r /rsyncbackup/latest/finished/dkvideobackup --configfile dkvideobackup_rkhunter.conf --rwo

/rsyncbackup/latest/finished/dkvideobackup contains an rsynced debian server with these excludes:
/dev /proc /sys /data /tmp /lib/init/rw /var/tmp lost+found .journal /usr/tmp /var/cache/apt/archives/ /mnt

Warning: The modules file '/rsyncbackup/latest/finished/dkvideobackup/proc/modules' is missing.
Warning: /dev does not exist.
[: 15382: -eq: unexpected operator

exit code 1.

Configuration file changes:
dbdir (yes i did run the above command with --propupd and with --update before running with -c)
Allow root login
nagios in inetd, allow .mdadm .udev, .initramfs

If I run this command and then rerun the above command

mkdir /rsyncbackup/latest/finished/dkvideobackup/dev

then it does not come up with that error.

Before trying with mkdir I tried
in the configuration file, but that did not solve the problem.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rkhunter depends on:
ii  binutils               2.20.1-16         The GNU assembler, linker and bina
ii  debconf [debconf-2.0]          Debian configuration management sy
ii  file                   5.04-5            Determines file type using "magic"
ii  net-tools              1.60-23           The NET-3 networking toolkit
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  ssmtp [mail-transport- 2.64-4            extremely simple MTA to get mail o

Versions of packages rkhunter recommends:
ii  curl                   7.21.0-2          Get a file from an HTTP, HTTPS or 
ii  iproute                20100519-3        networking and traffic control too
ii  lsof                   4.81.dfsg.1-1     List open files
ii  lynx                   2.8.8dev.5-1      Text-mode WWW Browser (transitiona
ii  perl [libdigest-sha-pe 5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  unhide                 20100201-1        Forensic tool to find hidden proce
ii  wget                   1.12-2.1          retrieves files from the web

Versions of packages rkhunter suggests:
ii  bsd-mailx          8.1.2-0.20100314cvs-1 simple mail user agent
pn  tripwire           <none>                (no description available)

-- Configuration Files:
/etc/rkhunter.conf changed [not included]

-- debconf information excluded

Reply to: