Re: [PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-04-09 Thread Linus Torvalds
On Wed, Apr 9, 2014 at 5:08 PM, Steve Grubb wrote: > > This is a requirement. I do not advocate "tricking" user space. It's not about tricking user space. This is how we used to behave. ECONNREFUSED is what you got in a non-init namespace. So this is a *regression fix*, not some kind of trick. A

Re: [PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-04-09 Thread Steve Grubb
On Sunday, March 30, 2014 07:07:54 PM Eric Paris wrote: > It its possible to configure your PAM stack to refuse login if > audit messages (about the login) were unable to be sent. This is common > in many distros and thus normal configuration of many containers. The > PAM modules determine if audi

Re: [PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-03-31 Thread Richard Guy Briggs
On 14/03/30, Eric Paris wrote: > It its possible to configure your PAM stack to refuse login if > audit messages (about the login) were unable to be sent. This is common > in many distros and thus normal configuration of many containers. The > PAM modules determine if audit is enabled/disabled in

Re: [PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-03-30 Thread gaof...@cn.fujitsu.com
On 03/31/2014 07:10 AM, Eric Paris wrote: > In 3.15 we should have patches to support not only the non-init_net > (3.14) namespace but also the non-init_pid and non-init_user namespace. > So all will be right in the world. good news. -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-03-30 Thread Serge Hallyn
Quoting Eric Paris (epa...@redhat.com): > It its possible to configure your PAM stack to refuse login if > audit messages (about the login) were unable to be sent. This is common > in many distros and thus normal configuration of many containers. The > PAM modules determine if audit is enabled/dis

[PATCH for v3.14] AUDIT: Allow login in non-init namespaces

2014-03-30 Thread Eric Paris
It its possible to configure your PAM stack to refuse login if audit messages (about the login) were unable to be sent. This is common in many distros and thus normal configuration of many containers. The PAM modules determine if audit is enabled/disabled in the kernel based on the return value fr