lxc init modifies a different signal mask in the loop than the one it's
installing with sigaction in the loop. It appears that either these
lines should move outside the loop, or the intent was to clear the
bits of the sa_mask instead of the mask.
Signed-off-by: Matt Helsley
Should the
begin tuning from a working configuration. They can learn
about and tune those parts that prove significant for their workload.
This is better because in the end it's not just about how efficient the
user can make their containers but how much effort they will spend
achieving and maintaining
s either FROZEN or THAWED,
> read the freezer state and if it has not changed, repeat the write.
Technically this is only necessary for the THAWED -> FROZEN
transition. In other words, if we're FROZEN and write THAWED then
we don't need to read the state. However, it doesn't hu
that from the parent and not from the
> > child ?
>
> I can't think of one. It shouldn't matter, as long as the child can
> open /dev/tty.
I think shells implementing job control do it in the parent (shell)
rather than the child (job) purely out of convention. It
On Wed, Jun 09, 2010 at 09:56:58PM +0200, Ferenc Wagner wrote:
> Matt Helsley writes:
>
> > On Wed, Jun 09, 2010 at 07:56:03PM +0200, Ferenc Wagner wrote:
> >
> >> Signed-off-by: Ferenc Wagner
> >> ---
> >> src/lxc/start.c | 17 +++
EACCES An attempt was made to change the process group ID of one of the
children of the calling process and the child had already per‐
formed an execve(2) (setpgid(), setpgrp()).
You may be able to fix this by also doing setpgid() in the child
en pending signals aren't delivered until after
the task is thawed.
Acked-by: Matt Helsley
>
> Signed-off-by: Sukadev Bhattiprolu
> ---
> src/lxc/stop.c | 10 --
> 1 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/src/lxc/stop.c b/src/lxc/st
syslog is split off, whether the host
expects to be "Cc'd", etc. there could be some security
implications. More importantly, the syslog control syscalls need
to be modified to at least prevent cont