--- recepies/lxc/lxc-watchdog.sh 2011/01/26 12:16:23 236 +++ recepies/lxc/lxc-watchdog.sh 2011/03/29 18:00:40 244 @@ -71,6 +71,7 @@ $rootfs/etc/rc?.d/*umountroot \ $rootfs/etc/rc?.d/*hwclock* \ $rootfs/etc/rc?.d/*udev* \ + $rootfs/etc/rc?.d/*checkfs* \ 2>/dev/null | xargs -i rm -v {} echo $1 > $rootfs/etc/hostname @@ -132,6 +133,8 @@ if ! lxc-info -n $name | grep RUNNING ; then lxc_log "$name start" + dev=`df -P $rootfs | tail -1 | cut -d" " -f1` + mount $dev -o remount,rw # fix debian upgrade which remounts dir ro lxc-start -n $name -o /tmp/${name}.log -d lxc-wait -n $name -s RUNNING lxc-info -n $name