[lxc-devel] [PATCH 0/3] lxc-attach improvements

Christian Seiler christian at iwakd.de
Tue Mar 5 21:46:42 UTC 2013


Hi Serge,

here are my patches as emails to the lxc-devel list. The first patch
implements the getent(1) logic for trying much harder to determine the
correct login shell of the requested user (but only if getpwuid(3)
fails), the second patch uses /bin/sh as a fallback if even that fails
and the third patch tries to detect the user & group id of init when
attaching to a user namespace.

The patches can be found in the attach-fixes-1 branch over at github
<https://github.com/chris-se/lxc/tree/attach-fixes-1>

-- Christian





More information about the lxc-devel mailing list