Package: clonezilla
Version: 3.10.11-3
Severity: normal

Hello,

When restoring a disk backup, the sfdisk command to inform the OS that
partition table has changed, fails with the following message:

        sfdisk: invalid option -- 'R' on restoredisk mode

>From the man page of sfdisk:

NOTES
       Since  version  2.26 sfdisk no longer provides the -R or --re-read
option to force the kernel to
       reread the partition table.  Use blockdev --rereadpt instead.

Changing the calls from `sfdisk -R` to `blockdev --rereadpt` in the following
files solves the issue.

        /usr/sbin/ocs-makeboot
        /usr/sbin/ocs-onthefly
        /usr/share/drbl/sbin/ocs-functions




-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clonezilla depends on:
ii  drbl   2.19.11-1
ii  file   1:5.25-2
ii  gdisk  1.0.1-1
ii  pigz   2.3.3-2

Versions of packages clonezilla recommends:
ii  partclone  0.2.88-1
ii  partimage  0.6.8-3+b1

Versions of packages clonezilla suggests:
pn  cifs-utils      <none>
ii  openssh-client  1:7.2p2-5

-- no debconf information

Reply via email to