http://paste.pocoo.org/raw/338839/ - config of lxc http://paste.pocoo.org/raw/338837/ - log of starting lxc http://paste.pocoo.org/raw/338838/ - emerge --info lxc is started, i'm connect by ssh on it, but lxc-guest does not contain files from host's distfiles and ccache. Reproducible: Always Steps to Reproduce: 1. create /etc/lxc/dns/config 2. lxc-start -n dns -d -o /home/pimiento/error.log -l DEBUG 3. mount -> nothing about distfiles or ccache 4. ssh root@dns 5. ls /usr/portage/distfiles -> . and .. Actual Results: /usr/portage/distfiles and /usr/ccache doesn't mounted Expected Results: Files from /usr/portage/distfiles and /usr/ccache will be visible in lxc-guest Portage 2.1.9.39 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.38-rc4-git3 x86_64) ================================================================= System uname: Linux-2.6.38-rc4-git3-x86_64-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 15 Feb 2011 01:45:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -Os -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -Os -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/ ftp://mirror.yandex.ru/gentoo-distfiles/" LANG="en_GB.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j5" PKGDIR="/usr/packages" PORTAGE_COMPRESS="bzip2" PORTAGE_COMPRESS_FLAGS="-1 -q" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/mozilla /var/lib/layman/emacs /var/lib/layman/rion /var/lib/layman/mpd /var/lib/layman/xen /var/lib/layman/alexxy /var/lib/layman/oss-overlay /var/lib/layman/sunrise /var/lib/layman/perl-experimental /usr/local/portage" SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage" USE="#bash-completion acl alsa amd64 berkdb bzip2 cli cracklib crypt cups custom-optimization cxx dbus dri emacs gdbm gmp gpm iconv icu idn ipv6 ldap mmx mmxext modules mudflap multilib natspec ncurses nls nptl opengl openmp pam pcre perl pic postproc pppd readline samba sse sse2 sse3 ssl ssse3 sysfs threads udev unicode utf8 zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > http://paste.pocoo.org/raw/338839/ - config of lxc > http://paste.pocoo.org/raw/338837/ - log of starting lxc > http://paste.pocoo.org/raw/338838/ - emerge --info Please attach those files and reopen this bug report.
Created attachment 262635 [details] /etc/lxc/dns/config
Created attachment 262639 [details] lxc log
"emerge --info" was showed before. And when i'm starting lxc (lxc-start) other (not tty1 with X) tty (tty2, tty3, tty4) showing request for login from lxc-guest (dns login: )
LXC changed its configuration format, see my post for more information http://blog.flameeyes.eu/2010/11/22/more-about-linux-resource-containers-and-gentoo