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) tmpdir 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 EXISTWHITELIST="/dev" in the configuration file, but that did not solve the problem.