[Pkg-libvirt-maintainers] Bug#766390: Info received ( Bug#766390: libvirt0: fails unprivileged lxc domain with /proc/sys re-mount error)

Adrian Davey adrian at beth2.org
Thu Oct 23 21:27:01 UTC 2014


Hi,

I have just created a new qemu domain of sid and installed libvirt 
there.

steps were:

install base sid from d-i
then libvirt-daemon-system, libvirt0, libvirt-clients, dnsmasq-base, 
bridge-utils, ebtables, debootstrap
(let the deps get pulled in)

add cgroup_enable=memory to kernel cmdline (reboot vm)

use virsh to
net-edit default (change from 192.168.122.0 to 192.168.123.0 as we are 
already in a libvirt defined network)
define testvm.xml

use debootstrap to
debootstrap sid /opt/vm/containers/testvm/ 
http://ftp.uk.debian.org/debian

grab uidmapshift and run
./uidmapshift -b /opt/vm/containers/testvm 0 10000 1000

virsh # connect lxc:///

virsh # start testvm
error: Failed to start domain testvm
error: internal error: guest failed to start: Failed to re-mount 
/proc/sys on /proc/sys flags=1021: Operation not permitted


virsh #

same as before.

So I must be missing something. Hopefully you can reproduce this within 
a qemu vm and compare to your working setup.
I did not install any LXC packages.

Regards,

Adrian



More information about the Pkg-libvirt-maintainers mailing list