Your message dated Mon, 15 Aug 2011 21:23:53 +0200
with message-id <[email protected]>
and subject line Re: Bug#637911: Use lxc as a BSD jail
has caused the Debian Bug report #637911,
regarding Use lxc as a BSD jail
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.)


-- 
637911: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637911
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 0.7.4.2-4
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I am trying to use lxc as a way to get the some kind of BSD jail. I
just want a chroot + PID namespace isolation. I have debootstrapped a
complete system with "lxc-create -t lucid -n test" and it works fine
with "lxc-start" but I don't want to get a complete system, I would
like just an advanced chroot.

If I use "lxc-execute -n test /bin/bash", it complains about the
missing /usr/lib/lxc/lxc-init. If I use "lxc-start -n test /bin/bash",
I get some non functional shell :

root@test:/# lxc-start: Input/output error - failed to read
root@test:/# bin   dev  home  lib64  mnt  proc  sbin     srv  tmp  var
boot  etc  lib   media  opt  root  selinux  sys  usr
root@test:/# /

I don't see what I type and there is this odd error (Input/output
error). If I install "lxc" package inside the chroot, I get the same
behaviour.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  libc6                         2.13-16    Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.22-1   support for getting/setting POSIX.

Versions of packages lxc recommends:
ii  debootstrap                   1.0.35     Bootstrap a basic Debian system
ii  libcap2-bin                   1:2.22-1   basic utility programs for using c

lxc suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5JVzkACgkQKFvXofIqeU4Q5QCfW+zxsemxkZGzbYFZjF0qmXII
fdEAnA7/fL942j+yY0P4EXqjQo6XW6PV
=xw8P
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
On 08/15/2011 07:28 PM, Vincent Bernat wrote:
If I use "lxc-execute -n test /bin/bash", it complains about the
missing /usr/lib/lxc/lxc-init. If I use "lxc-start -n test /bin/bash",
I get some non functional shell :

you can run lxc-execute only for containers that are already running, i.e. you have to start it first, then you can execute commands in it.

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          [email protected]
Internet:       http://people.progress-technologies.net/~daniel.baumann/


--- End Message ---

Reply via email to