Your message dated Mon, 11 May 2015 08:36:16 +0200 with message-id <[email protected]> and subject line Re: [Pkg-libvirt-maintainers] Bug#694638: libvirt-bin: problem with filesystem type=block in LXC domains has caused the Debian Bug report #694638, regarding libvirt-bin: problem with filesystem type=block in LXC domains 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.) -- 694638: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694638 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libvirt-bin Version: 0.9.12-5 Severity: important Dear Maintainer, There seems to be a problem with using filesystem stored on block device as rootfs for LXC domains. Basically I'm using "filesystem type='block'" with "source dev" and "target dir=/" in libvirt to define LXC domain. But it seems container is not using this filesystem (I think it is using root filesystem of the host). Once the virtual machine is started it breaks libvirtd on the host. How to reproduce: # vim /etc/default/grub GRUB_CMDLINE_LINUX=" cgroup_enable=memory " # vim /etc/fstab cgroup /sys/fs/cgroup cgroup defaults 0 0 # update-grub # reboot # lvcreate -L 1G -n vm01_rootfs vg # mkfs.ext3 /dev/vg/vm01_rootfs # mount /dev/vg/vm01_rootfs /mnt # debootstrap --verbose wheezy /mnt # umount /mnt # virsh net-edit default <network> <name>default</name> <uuid>c8e9c6e4-41d6-54de-8354-8d3cd44d9d17</uuid> <forward mode='nat'/> <bridge name='virbr0' stp='on' delay='0' /> <mac address='52:54:00:14:DD:6B'/> <ip address='192.168.222.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.222.2' end='192.168.222.254' /> </dhcp> </ip> </network> # virsh net-autostart default # virsh net-start default # vim vm01.xml <domain type='lxc'> <name>vm01</name> <memory>500000</memory> <os> <type>exe</type> <init>/sbin/init</init> </os> <devices> <emulator>/usr/lib/libvirt/libvirt_lxc</emulator> <filesystem type='block' accessmode='passthrough'> <source dev='/dev/vg/vm01_rootfs'/> <target dir='/'/> </filesystem> <console type='pty'> <target type='lxc' port='0'/> </console> </devices> </domain> # virsh -c lxc:// define vm01.xml # echo 'echo HOST >/I_AM_HOST' >/etc/rc.local # virsh -c lxc:// start vm01 # ls /I_AM_HOST I_AM_HOST # virsh -c lxc:// list --all error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory error: failed to connect to the hypervisor Regards, Tomasz -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libvirt-bin depends on: ii adduser 3.113+nmu3 ii gettext-base 0.18.1.1-9 ii libavahi-client3 0.6.31-1 ii libavahi-common3 0.6.31-1 ii libblkid1 2.20.1-5.2 ii libc6 2.13-35 ii libcap-ng0 0.6.6-2 ii libdbus-1-3 1.6.8-1 ii libdevmapper1.02.1 2:1.02.74-4 ii libgcrypt11 1.5.0-3 ii libgnutls26 2.12.20-2 ii libnetcf1 0.1.9-2 ii libnl1 1.1-7 ii libnuma1 2.0.8~rc4-1 ii libparted0debian1 2.3-11 ii libpcap0.8 1.3.0-1 ii libpciaccess0 0.13.1-2 ii libreadline6 6.2-8 ii libsasl2-2 2.1.25.dfsg1-6 ii libudev0 175-7 ii libvirt0 0.9.12-5 ii libxenstore3.0 4.1.3-3 ii libxml2 2.8.0+dfsg1-6 ii libyajl2 2.0.4-2 ii logrotate 3.8.1-4 Versions of packages libvirt-bin recommends: ii bridge-utils 1.5-6 ii dmidecode 2.11-9 ii dnsmasq-base 2.62-3 ii ebtables 2.0.10.4-1 ii gawk 1:4.0.1+dfsg-2 ii iproute 20120521-3 ii iptables 1.4.14-3 ii libxml2-utils 2.8.0+dfsg1-6 ii netcat-openbsd 1.105-7 ii parted 2.3-11 ii qemu-kvm 1.1.2+dfsg-2 Versions of packages libvirt-bin suggests: pn policykit-1 <none> pn radvd <none> -- Configuration Files: /etc/libvirt/qemu/networks/default.xml [Errno 13] Permission denied: u'/etc/libvirt/qemu/networks/default.xml' -- no debconf information
--- End Message ---
--- Begin Message ---Version: 1.2.9-9 Hi, On Sun, May 10, 2015 at 04:11:16PM +0300, Alexander Kudrevatykh wrote: > For me block devices work with current stable release Thanks for checking, so closing this one! Cheers, -- Guido > -- > Alexander Kudrevatykh <[email protected]> > > _______________________________________________ > Pkg-libvirt-maintainers mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
--- End Message ---

