Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in interaction with pid namespaces
- X-seq: zsh-workers 33987
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug in interaction with pid namespaces
- Date: Tue, 16 Dec 2014 23:32:06 -0800
- In-reply-to: <CAJFHJrrBgFGRipY==ZcW+hxY37e1dPRs9hRLK+SjgXeESabPOA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAJFHJrrBgFGRipY==ZcW+hxY37e1dPRs9hRLK+SjgXeESabPOA@mail.gmail.com>
On Dec 16, 3:07pm, Chirantan Ekbote wrote:
}
} I think I've found an issue with the way zsh interacts with pid
} namespaces [1]. Specifically the problem is that when zsh is launched
} immediately following the creation of a new pid namespace it doesn't
} take ownership of the process group
There seem to be a few other potential problems with this using zsh as
the init process in a namespace; for example:
- the suspend command should never stop the shell (even with -f)
- the shell should refuse normal exit when NOHUP is set and there are
any jobs still running (because as I understand it, it's not possible
for any processes in the namespace to survive after the init exits)
How far down this path do we want to go?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author