Hello.
I think the directory /etc better suited for storing configuration files.
This patch allows you to specify the location configs as options for
./configure.
--
Alexey Shabalin
From 81c5933f62c85f2b09288393b44f831a1debfdee Mon Sep 17 00:00:00 2001
From: Alexey Shabalin
Date: Tue, 23 Aug 20
Patch in attachment changes lxc-init and lxc-attach to use clone instead
of fork.
Reason for it: clone permits to set custom flags, so you can call it
without CLONE_FILES and all fd's with O_CLOEXEC flag won't be passed to
child.
--
Best regards, Vladimir Smirnov.
From bfdbefce2561134d5fd3d67
Patch in attach changes lxc-start to set CLOEXEC instead of just
returning with error.
--
Best Regards, Vladimir Smirnov.
From 60588293338576adc086e5f507cf86732439bfa5 Mon Sep 17 00:00:00 2001
From: Vladimir Smirnov
Date: Mon, 22 Aug 2011 15:16:18 +0400
Subject: [PATCH 2/2] lxc-start shouldn't
On Tue, 2011-08-23 at 13:37 +0400, Vladimir Smirnov wrote:
> Hello!
>
> In attachment there are 2 patches to fix some issues with inherited
> fd's. Instead of just exiting with error, maybe it's better to set
> O_CLOEXEC flag.
>
Hello Vladimir !
I agree that inherited descriptors probably deser
Bugs item #3388933, was opened at 2011-08-09 07:48
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3388933&group_id=163076
Please note that this message will contain a full copy of the comment thread,
Hello!
In attachment there are 2 patches to fix some issues with inherited
fd's. Instead of just exiting with error, maybe it's better to set
O_CLOEXEC flag.
1-st patch changes lxc-init and lxc-attach to use clone instead of fork.
Reason for it: clone permits to set custom flags, so you can call
Hi!
> In this case, the container shutdowns correctly but, at the end, the
> init process is waiting indefinitely and we have the containers stuck
> with one process (the init process).
>
> In order to fix that, we used a hypervisor process, parent of the
> container's init process, watching for