[lxc-devel] IPC sync between two containers

2011-12-21 Thread yinxb
Hi All Thanks for the help befor.Now another problem strike me for days. Is there a way to do sync between two processes running in its own container? I need this to do UI sync between my lxc app and UX. Semaphore is proved failed.So will dbus have the capability?or I have to use sock

Re: [lxc-devel] [PATCH] Set high byte of mac addresses for host veth devices to 0xfe

2011-12-21 Thread Christian Seiler
Hi again, > Sorry I didn't reply earlier. > >> Thanks, sorry for the trouble. Looks good, with one exception - if >> ioctl failed, then you may end up returning the wrong errno (from the >> close syscall). With that fixed, please do apply. > > Oh, yes, nice catch. I've attached a fixed patch

Re: [lxc-devel] [PATCH] Set high byte of mac addresses for host veth devices to 0xfe

2011-12-21 Thread Christian Seiler
Hi, Sorry I didn't reply earlier. > Thanks, sorry for the trouble. Looks good, with one exception - if > ioctl failed, then you may end up returning the wrong errno (from the > close syscall). With that fixed, please do apply. Oh, yes, nice catch. I've attached a fixed patch. Thanks! Chris

[lxc-devel] Pivotdir bugs

2011-12-21 Thread lxc
Hello, There is bug related to pivotdir from src/lxc/conf.c Old root is not unmounted if you accidentally put '/' at start of lxc.pivotdir. For example: lxc.pivotdir = /pivotdir This bug is critical as lxc silently starts container leaving old root mounted. I would check if nothing is unmounted