[lxc-devel] [PATCH] lxc-autostart-helper working even if action is not available
Johannes Kastl
mail at ojkastl.de
Fri Aug 15 14:52:51 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Regards,
Johannes
- --
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying
to build bigger and better idiots. So far, the universe is winning.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
iEYEARECAAYFAlPuHsMACgkQzi3gQ/xETbJycACdFrHr4uZrBySWvhK83/pzXdWY
myUAniZZ7wOuErGERt2yEcy9PZuRiqQz
=SDqu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lxc-autostart-helper-working-even-if-action-is-not-a.patch
Type: text/x-patch
Size: 2012 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140815/f488d4c5/attachment.bin>
More information about the lxc-devel
mailing list