Your message dated Thu, 05 Dec 2013 11:31:56 +0100
with message-id <[email protected]>
and subject line Re: lxc-attach: getpwuid() fails in ubuntu container
has caused the Debian Bug report #731231,
regarding lxc-attach: getpwuid() fails in ubuntu container
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
731231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lxc
Severity: minor
Tags: upstream
I'm using lxc 0.9.0~alpha3 on wheezy on 3.10-0.bpo.3-amd64
because unfortunately with stable packages/kernel
is almost unusable.
I've some containers, some even adapted from old distribution,
I have one with ubuntu precise and lxc-attach (without command)
is unable to detect user shell inside the container
it says:
lxc-attach: Bad file descriptor - failed to get passwd entry for uid '0'
(I've attached the strace log)
if I pass the command (i.e. /bin/bash) the command works correctly
I've also tried ltrace but it does not give me useful infos
gdb session:
warning: .dynamic section for "/lib/x86_64-linux-gnu/libnss_compat.so.2" is not
at the expected address (wrong lib
rary or version mismatch?)
warning: .dynamic section for "/lib/x86_64-linux-gnu/libnsl.so.1" is not at the
expected address (wrong library or
version mismatch?)
looks like the host binary calls libc helpers of the container
there is a way to preload host's libc stuff?
Regards
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
trace.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Version: 1.0.0~alpha3-2
works for me with lxc 1.0.0~alpha3-2 and linux 3.11.8-1.
--
Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email: [email protected]
Internet: http://people.progress-technologies.net/~daniel.baumann/
--- End Message ---