[lxc-devel] [PATCH] Check for an existing "$localstatedir"/lock/subsys directory and create it, if it does not exist

Johannes Kastl mail at ojkastl.de
Wed Oct 29 19:57:17 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

after the action fallback (lxc-autostart-helper) landed in 1.0.6, the
only thing I had to change to make this running on openSUSE is to make
sure, that "$localstatedir"/lock/subsys exists. See my patch attached.

This patch is against 1.0.6, as I found no mention of the lock-things
in HEAD. Did I miss it? I see there are two files now, one for net and
one for containers, maybe it is no longer needed.

Also, I do not know it the permissions of the directory have to be set
to a different value.

Feel free to comment or critisize, I wont be angry. ;-)

Regards,
Johannes
- -- 
If you put a large switch in some cave somewhere, with a sign on it
saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint
wouldn't even have time to dry.
(Terry Pratchett)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/

iEYEARECAAYFAlRRRp0ACgkQzi3gQ/xETbKwPwCgnp6cAY1EzwltQLmpcTXOzFNb
YhsAoJf+zK4MHwORNp06JF4p/a0xXXqn
=bSpG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-for-an-existing-localstatedir-lock-subsys-dire.patch
Type: text/x-patch
Size: 948 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141029/68872a22/attachment.bin>


More information about the lxc-devel mailing list