[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-12 Thread Colin Watson
Thanks for filing the separate reports. I've replied to them all individually (some are fixed now while some need further discussion, supporting my previous point) and so I think it makes sense to close this bug now. ** Changed in: casper (Ubuntu) Status: New => Invalid -- Snapshot resync

Re: [Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread Colin Watson
On Fri, Jun 05, 2009 at 08:33:41PM -, phl wrote: > Can I close this bug report ? It's fine to close this one if it's now entirely dealt with by other bugs, yes. > Have I to break down my patch which fixes several issue in several patches > solving only one issue at a time ? > I reported *one

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Done. Can I close this bug report ? Have I to break down my patch which fixes several issue in several patches solving only one issue at a time ? I reported *one* bug b/c, from the user's point of view, it is one problem, even if from the developper view it needs several fixes. Further more; bu

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Yes, I will. -- Snapshot resync is broken. Proposed FIXs. https://bugs.launchpad.net/bugs/383984 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/l

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 8 of 8 At halt/reboot time there is no automatic snapshot, b/c the symlink is S89casper FIX: rename it K89casper in /etc/rc{0,6}.d Workaround (merge with workaround bug#1) --- #!/bin/sh # This file: /custom-installation/hooks/casper-bottom.sh # Usage: have this f

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 7 of 8 Perhaps a gnome bug. Anyway it's a minor bug as it only triggers a warning. casper-snapshot:Do_snapshot():cpio: ./ubuntu/.gvfs: Cannot stat: refuse permission Workaround: find -prune Here is the patch for part 3 to 7 diff -Naur /rofs/sbin/casper-snapsho

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 6 of 8 casper-snapshot:Do_snapshot() excludes files matching the pattern '*.wh.*', so files are not persistently deleted. FIX: use this pattern instead: '.wh..wh*' -- Snapshot resync is broken. Proposed FIXs. https://bugs.launchpad.net/bugs/383984 You received this bug notification because

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 5 of 8 casper-snapshot:Do_snapshot() doesn't limit snapshot to only one Filesystem which is mandatory for /cow. FIX: for TYPE=cpio: add -xdev option to find command for other TYPEs, does the problem exist ? -- Snapshot resync is broken. Proposed FIXs. https://bugs.launchpad.net/bugs/3839

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 4 of 8 'casper-snapshot --resync-string:Defaults()' wrongly sets DEST from $snapfile value remembered by initrd/casper:try_snap() in /etc/casper.conf. -- Snapshot resync is broken. Proposed FIXs. https://bugs.launchpad.net/bugs/383984 You received this bug notification because you are a mem

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 3 of 8 'casper-snapshot --resync-string:Defaults()' wrongly sets COW from $snap_mount value remembered by initrd/casper:try_snap() line: echo "export ${snap_type}SNAP="${snap_mount}":${snapdev}:${snapfile}" >> /etc/casper.conf # for resync on reboot/halt -- Snapshot resync is broken. Propo

[Bug 383984] Re: Snapshot resync is broken. Proposed FIXs.

2009-06-05 Thread phl
Part 2 of 8 At reboot/halt time /etc/casper.conf:do_stop() misuse casper-snapshot command with '--resync-string="${HOMESNAP}"'. The = is to be removed. Patch --- --- /rofs/etc/init.d/casper 2009-04-18 05:24:22.0 + +++ /etc/init.d/casper 2009-06-03