Ubuntu 14.04 LTS  has packages clonezilla 3.5.2 and partclone 0.2.51 
But a default shipped configuration file needs a patch to make these versions
work together:

--- /etc/drbl/drbl-ocs.conf.orig        2015-12-10 11:04:14.727537973 +0100
+++ /etc/drbl/drbl-ocs.conf     2015-12-10 11:13:41.931560059 +0100
@@ -116,10 +116,16 @@
 # Options to be appended in the partclone command, for save and restore.
 # For example, for restoring, if you want to ignore device size checking, "-C" 
can be put, like: 
 # PARTCLONE_RESTORE_OPT_INIT="-C"
-# From Partclone 0.2.61, we switch to use "-z" instead of "-m":
-PARTCLONE_SAVE_OPT_INIT="-z 10485760"
-PARTCLONE_RESTORE_OPT_INIT="-z 10485760"
-PARTCLONE_RESTORE_ONTHEFLY_OPT_INIT="-z 10485760"
+## Hot fix for the Ubuntu 14.04 LTS distribution:
+## From Partclone 0.2.61, we could switch to use "-z" instead of "-m":
+# PARTCLONE_SAVE_OPT_INIT="-z 10485760"
+# PARTCLONE_RESTORE_OPT_INIT="-z 10485760"
+# PARTCLONE_RESTORE_ONTHEFLY_OPT_INIT="-z 10485760"
+## Ubuntu 14.04 LTS was shipped with Partclone v0.2.51 :
+PARTCLONE_SAVE_OPT_INIT="-m 10485760"
+PARTCLONE_RESTORE_OPT_INIT="-m 10485760"
+PARTCLONE_RESTORE_ONTHEFLY_OPT_INIT="-m 10485760"
+## End of Hotfix for Ubuntu 14.04 LTS
 
Without this patch the clonezilla package in Ubuntu 14.04 LTS does not work at 
all.  During image creation
it gives error messages similar to this here:

Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -c -s 
/dev/sdc1 --output - | pigz -c --fast -b 1024 -p 16 | split -b 20000m - 
/home/partimag/2015-12-10-LenovoE550_factory.img/sdc1.ntfs-ptcl-img.gz. 2> 
/tmp/split_error.QtF0XH
partclone.ntfs: invalid option -- 'z'
partclone.ntfs v0.2.51 http://partclone.org

Since Ubuntu 14.04 LTS should get some Long Term Support I suggest to apply 
this patch although this Show Stopper is
no real security glitch.  But preventing normal users from making image backups 
of their disks does not computer security either, to say the least.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/98886

Title:
  [needs-packaging] drbl / clonezilla

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/98886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to