On Tue, 2010-01-26 at 00:42 +0100, Daniel Lezcano wrote:
> I trick I just found:
>
> while $(true); do
> inotifywait /var/lib/lxc/debian/rootfs/var/run/utmp;
> if [ "$(wc -l /cgroup/debian/tasks | awk '{ print $1 }')" = "1" ]; then
> lxc-stop -n debian
> fi;
> done
Seems to be a problem with that approach. I'm not seeing anythign
in /var/lib/lxc/${VM}/rootfs any more. Use to with 0.6.4 and earlier
but not now. That seems to have "gone away". That might have been a
way to get around that tmpfs problem but it's not there and I have to
resort back to the real rootfs.
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | [email protected]
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
