[Devel] Re: LXC PIDs, UIDs, and halt
Dwight Schauer
dschauer at gmail.com
Tue Oct 20 18:09:27 PDT 2009
On Tue, Oct 20, 2009 at 8:04 PM, Dwight Schauer <dschauer at gmail.com> wrote:
----< snip >---
> Ok, the issue is that what is stored in the file that keychain
> produces is based on PID
> When logging into a different PID namespace that file is considered
> stale, because there is not an agent at that pid, so the file is
> overwritten by keychain.
>
> I'd to modify the filename to have the current namespace name (passed
> in via environment variable) be part of it, so that the proper one is
> checked by keychain and sourced by my shell
>
> It would require a keychain change either way, whether I'd use an
> environment variable or something was done to the kernel to allow it
> to be retrieved.
>
> A lot of applications that base things off a PID stored in a file will
> have issues when multiple PID namespaces are in play, and where those
> files are in the same locations in each container.
>
> I'm not asking for any kernel help, an environment variable will suffice.
>
> I'll patch keychain, and once I've determined it works correctly, I'll
> see if the maintainers (The Funtoo folk) will accept the patch.
>
> -- Dwight
>
Ok, I think I can just use the --host option, no need to patch.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list