[lxc-devel] [PATCH] Add mechanism for container to notify host about end of boot

Stéphane Graber stgraber at ubuntu.com
Wed Sep 19 13:40:55 UTC 2012


On 12-09-19 07:49 AM, Christian Seiler wrote:
> Hi there,
> 
> I've now updated my patch, there are now the following changes,
> partially based on feedback from this list, partially from sorting
> things in my head a bit.
> 
>   - socket instead of a FIFO
>   - is now in /run instead of /dev

I don't think that part's going to work... Most distros mount /run as
tmpfs at boot time which will hide anything you're putting in there
before boot.

>   - parent directories of socket inside container are automatically
>     created
>   - extensible but very simple protocol, line-based, currently, only
>     'status NEWSTATUS' is supported, where NEWSTATUS may be either
>     RUNNING or STOPPING
>   - now returns either 'OK' or 'ERR message' to the caller
> 
> Regards,
> Christian


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120919/5f5d358e/attachment.pgp>


More information about the lxc-devel mailing list