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 file by that name and chmod +x on any partition and use bootparam # debian-installer/custom-installation=/custom-installation # Bug workaround # casper: updates made by try_snap() to /etc/casper.conf are lost cp /etc/casper.conf /root/etc/casper.conf # Bug workaround # Bad symlinks /etc/rc{0,6].d/S89casper rm /root/etc/rc0.d/S*casper rm /root/etc/rc6.d/S*casper ln -s ../init.d/casper /root/etc/rc0.d/K89casper ln -s ../init.d/casper /root/etc/rc6.d/K89casper ------------------------------- At last, with these 8 bugs workarounded casper-snapshots resync work well ! It is an important wish that filesystem where snapshots are to be located not be limited to (vfat/ext2). I known the point of mounting a journaled FS used by an hibernated OS, but are developpers supposed to imagine every misuse of their work ? The livetime of flash drive is a more important issue IMO, and xfs is better suited than ext2/vfat. (Also don't forget to workaround https://bugs.launchpad.net/bugs/202050 which impedes -sn.cpio.gz from being used at startup time) -- 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/listinfo/ubuntu-bugs