[lxc-devel] [PATCH] lxc-autostart-helper working even if action is not available

Michael H. Warfield mhw at WittsEnd.com
Fri Aug 15 16:07:28 UTC 2014


On Fri, 2014-08-15 at 16:52 +0200, Johannes Kastl wrote:
> On 14.08.2014 22:01 Johannes Kastl wrote:

> > Basically, Martins patch just does an
> > 
> > echo "..." "bindir"/lxc-autostart ...
> > 
> > But it does not execute the lxc-autostart command itself.

> The attached patch introduces an if-clause, and if action is not
> available, it uses echo, but also starts "$bindir"/lxc-autostart.

> Please, can someone confirm that this works?

> I'm working on a patch to check for the /var/lock/subdir thingy.

This code is being worked on right now and will probably make and
appearance under a new name.  I'll look this over but expect a patch
early to mid-week.

> Regards,
> Johannes

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140815/b7de8891/attachment.sig>


More information about the lxc-devel mailing list