Bugs item #2969963, was opened at 2010-03-13 20:36 Message generated for change (Settings changed) made by dlezcano 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: Closed >Resolution: Fixed 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 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel