executing of /sbin/dmsetup failed

I get the this error (could be after the last update) in backupninjas' mails. The logs show the error was there before, maybe it was only not printed in the mail before?

Sep 02 08:14:39 Info: >>>> starting action /etc/backup.d/10.sys (because of --now) Sep 02 08:14:42 Info: executing of /sbin/dmsetup failed Sep 02 08:14:43 Info: <<<< finished action /etc/backup.d/10.sys: SUCCESS

Strange enough, dmsetup is there:

ll /sbin/dmsetup

-rwxr-xr-x 1 root root 124584 Aug 15 12:03 /sbin/dmsetup

I'm running on debian: executing of /sbin/dmsetup failed

I don't think my conf has changed:

cat /etc/backup.d/10.sys

packages = yes partitions = yes dosfdisk = yes hardware = yes luksheaders = no lvm = no

packagesfile = /var/backups/dpkg-selections.txt

selectionsfile = /var/backups/debconfsel.txt

partitionsfile = /var/backups/partitions.star.txt

hardwarefile = /var/backups/hardware.txt

luksheadersfile = /var/backups/luksheader.star.bin

If vservers = yes in /etc/backupninja.conf then the following variables can

be used:

vsnames = all | ... (default = all)

More infos:

uname -a

Linux rheinsinn.de 2.6.32-5-amd64 #1 SMP Fri Feb 15 15:39:52 UTC 2013 x86_64 GNU/Linux

dpkg -l backupninja

ii backupninja 1.0.1-2

root@rheinsinn:/var/log# backupninja -n -f /etc/backup.d/10.sys --debug
Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/10.sys
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: >>>> starting action /etc/backup.d/10.sys (because of --now)
Debug: yes
Debug: executing handler in locked section controlled by /var/lock/backupninja/_etc_backup.d_10.sys
Debug: Debian detected
Debug: /usr/bin/dpkg  --get-selections * > /var/backups/dpkg-selections.txt
Debug: /usr/bin/debconf-get-selections > /var/backups/debconfsel.txt

Getting information about the kernel.


Getting disk and filesystem information.

Info: executing of /sbin/dmsetup failed
Debug: /usr/sbin/hwinfo --short --cpu --network --disk --pci  >> /var/backups/hardware.txt
Debug: /sbin/sfdisk will try to backup partition tables for device /dev/xvda1
Debug: /sbin/sfdisk  -d /dev/xvda1 > /var/backups/partitions.xvda1.txt 2>/dev/null
Warning: The partition table for /dev/xvda1 could not be saved.
Debug: /sbin/sfdisk will try to backup partition tables for device /dev/xvda2
Debug: /sbin/sfdisk  -d /dev/xvda2 > /var/backups/partitions.xvda2.txt 2>/dev/null
Warning: The partition table for /dev/xvda2 could not be saved.
Debug: Using /usr/sbin/hwinfo to get all available disk information
Warning: <<<< finished action /etc/backup.d/10.sys: WARNING
Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/19.mysql.disabled
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: Skipping /etc/backup.d/19.mysql.disabled
Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/20.mysql
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: >>>> starting action /etc/backup.d/20.mysql (because of --now)
Debug: yes
Debug: executing handler in locked section controlled by /var/lock/backupninja/_etc_backup.d_20.mysql
Info: Initializing SQL dump method
Debug: su root -c "/usr/bin/mysqldump --defaults-extra-file=/etc/mysql/debian.cnf --lock-tables --complete-insert --add-drop-table --quick --quote-names --skip-lock-tables  information_schema -r '/var/backups/mysql/sqldump/information_schema.sql'"
Info: Successfully finished dump of mysql database information_schema
Debug: su root -c "/usr/bin/mysqldump --defaults-extra-file=/etc/mysql/debian.cnf --lock-tables --complete-insert --add-drop-table --quick --quote-names  mysql -r '/var/backups/mysql/sqldump/mysql.sql'"
Debug: -- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Info: Successfully finished dump of mysql database mysql
Debug: su root -c "/usr/bin/mysqldump --defaults-extra-file=/etc/mysql/debian.cnf --lock-tables --complete-insert --add-drop-table --quick --quote-names --skip-lock-tables --skip-events  performance_schema -r '/var/backups/mysql/sqldump/performance_schema.sql'"
Info: Successfully finished dump of mysql database performance_schema
Info: <<<< finished action /etc/backup.d/20.mysql: SUCCESS
Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/90.rdiff
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: >>>> starting action /etc/backup.d/90.rdiff (because of --now)
Debug: yes
Debug: executing handler in locked section controlled by /var/lock/backupninja/_etc_backup.d_90.rdiff
Debug: (local is assumed to be a good connection)
Debug: ssh  -o PasswordAuthentication=no ###.noip.me -l root 'echo -n 1'
host is alive
Debug: Connected to ###.noip.me as root successfully
Debug: /usr/bin/rdiff-backup -V
Debug: ssh  ###.noip.me -l root '/usr/bin/rdiff-backup -V'
Debug: /usr/bin/rdiff-backup  --force --remove-older-than 500D root@###.noip.me::/backup/
Debug: Deleting increment at time: Fri May 2 09:32:30 2014
Info: Removing backups older than 500D days succeeded.
Debug: /usr/bin/rdiff-backup  --print-statistics --exclude '/home/*/.gnupg' --exclude '/home/*/.local/share/Trash' --exclude '/home/*/.Trash' --exclude '/home/*/.thumbnails' --exclude '/home/*/.beagle' --exclude '/home/*/.aMule' --include '/var/spool/' --include '/var/backups' --include '/etc' --include '/root' --include '/home' --include '/usr/local/' --include '/var/lib/dpkg/status*' --include '/var/www' --include '/var/local' --include '/var/mail' --include '/var/opt' --exclude '/*' / root@###.noip.me::/backup/
Debug: --------------[ Session statistics ]-------------- StartTime 1442235065.00 (Mon Sep 14 14:51:05 2015) EndTime 1442235136.88 (Mon Sep 14 14:52:16 2015) ElapsedTime 71.88 (1 minute 11.88 seconds) SourceFiles 67935 SourceFileSize 1562883525 (1.46 GB) MirrorFiles 67935 MirrorFileSize 1562855200 (1.46 GB) NewFiles 0 NewFileSize 0 (0 bytes) DeletedFiles 0 DeletedFileSize 0 (0 bytes) ChangedFiles 22 ChangedSourceSize 166617551 (159 MB) ChangedMirrorSize 166589226 (159 MB) IncrementFiles 25 IncrementFileSize 35653 (34.8 KB) TotalDestinationSizeChange 63978 (62.5 KB) Errors 0 --------------------------------------------------
Info: Successfully finished backing up source
Info: <<<< finished action /etc/backup.d/90.rdiff: SUCCESS
Info: FINISHED: 3 actions run. 0 fatal. 0 error. 2 warning.

(from redmine: created on 2015-09-14, closed on 2015-09-15)