Re: LXC PIDs, UIDs, and halt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 20, 2009 at 8:04 PM, Dwight Schauer <dschauer@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux