Bugs item #2969963, was opened at 2010-03-13 19:36 Message generated for change (Tracker Item Submitted) made by greenrd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2969963&group_id=163076
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: lxc cli Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Robin Green (greenrd) Assigned to: Nobody/Anonymous (nobody) Summary: lxc doesn't chroot Initial Comment: Description of problem: lxc execute ignores the chroot I have specified - it runs the specified command in the "real" root. Version-Release number of selected component (if applicable): lxc-0.6.5-1.fc13.i686 How reproducible: Always Steps to Reproduce: 1. mkdir /cgroup 2. mount -t cgroup cgroup /cgroup 3. mkdir /var/lib/lxc 4. create a lxc.conf file like the following: lxc.rootfs=/var/lib/mach/roots/fedora-development-i386-core lxc.mount.entry=/dev /var/lib/mach/roots/fedora-development-i386-core/dev none rw,bind 0 0 lxc.mount.entry=/dev/pts /var/lib/mach/roots/fedora-development-i386-core/dev/pts none rw,bind 0 0 5. populate the chroot 6. lxc-create -n bug -f lxc.conf 7. lxc-execute -n bug /bin/bash 8. ls / Actual results: contents of "real" root displayed Expected results: contents of my chroot displayed Additional info: I tried to step through lxc-execute in gdb to debug it, but my attempts to set breakpoints in the cloned process didn't work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2969963&group_id=163076 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel