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

Re: Bug#636164: RFP: apt-clone -- ZFS integrated APT package handling utility



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 01.08.2011 00:38, Robert Millan wrote:
> * Package name    : apt-clone
>   Version         : 0.7.9nexenta28
..
> It manages GRUB menu and ZFS 'syspool'
> filesystems. Two upgrade methods supported: 1) safe upgrades via cloning a
> currently active filesystem and later chrooting into it to perform actual
> upgrade operation; 2) in-place (live) upgrades by checkpointing a currently
> active filesystem prior to any upgrade modifications done by apt-get utility.

wow, that's cool! I'd love having this in Debian. Please note, apt-clone
- - as you linked it - depends on grub 1, not grub-pc. I noticed that
while having a quick look into the code, e.g.:

if (sysexec("cat $ROOTPOOL_MNT/boot/grub/menu.lst", \@lines) != 0) {
                _umount($ROOTPOOL_MNT);
                die new Exception($Exception::SystemCallError, \@lines);
        }
...


to be honest, that's some ugly piece of code as well. I'm not (so) sure,
whether we shall package that /right now/. I think Nexenta is still
based on Hardy and did not see much visible activity recently, as
OpenSolaris is pretty much dead, so I don't expect any major changes
very soon, as Nexenta may have other problems than apt-clone right now.

apt-clone does not look too portable either:

if ($idx > 2 && grep { /Nexenta.*Core.*Platform.*Elatte/ } @$sect) {
                        delete $h{$idx};
}
...

So I wonder whether it would be more useful to fork it and provide a
native Debian package instead, since this script seems not be very
useful outside Nexenta. Also I wonder if apt-clone could get LVM support
for Linux as well.


- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJONeLHAAoJEMcrUe6dgPNtzSUP/268AWWChhkY0qaZ9jY+mLR3
pbYOyFCbqR17xSQ50fFBzLslEKi0srTNM9X9a2IYY/Kfk4Cs6hNYKrEZ1F9Z44q7
y8bOYavJJlMz9zwBZBsEWLpSCckAWvJpZv4xyIShEr5GlmE1qOdvvPhytB0Mnpi7
aJc55C3YkIWAxk2FEjH6fvoVOtxnUPKFgPcQnXvxAeT4m+1SrvCj1haU3DUlwpB6
FHyVYjpgZzrLS2zfTiXo4qtgLKfLMK5KgsS5J3siYcIKWnxDe4MtcJZ82g78fiwY
H6KiRdlPyNX9Q2O8xdHLXzYu6cxVA2C+AE3ULJHVQvdm+wngNMXV+AXK2UQCXWwK
6ozcs/vZulRoyTu3SnTw6CoVNhk9KLw+VjgiDqrfKemLdIRdj0lCqDq1/CKTTiE2
eCeFLcIgsxSd9/mT2PtqYrApvxxaMJFcyr9dwTCluyAGC6yUbEoKH12eNOVUtcms
AMIv9z9LMMY9mOgpJxpWxZcY7nzYjF7OwanFElqaWIbCYWge/TYOdTIHuXGnTkQC
LJYTicnKPaZBhx5mLNha08IMGGQQFdQBZiPzZPtDYuQO8DxSw2wckNZfWJmwWEV5
tZIkqDqr4QLvfgig9wQHpQDKLTp7PoPpmoUzpi3baFsai5PEgY5DFcCrocO/a0OO
sWyE4nMbc4YpuFv7TVy2
=KJcg
-----END PGP SIGNATURE-----


Reply to: