[Pkg-libvirt-maintainers] Bug#680463: virtinst: disk-images with a+x permissions

Luca Capello luca at pca.it
Fri Jul 6 02:46:28 UTC 2012


Package: virtinst
Version: 0.600.1-2
Severity: normal
File: /usr/bin/virt-install
Usertags: pca.it-virtualization

Hi there!

This example speaks for itself:
=====
$ virt-install \
 --name babelbox-squeeze.pca.it\
 --ram 256\
 --cdrom ~/var/lib/libvirt/images/debian-6.0.5-amd64-CD-1.iso\
 --os-type linux \
 --os-variant debiansqueeze \
 --disk ~/var/lib/libvirt/images/babelbox-squeeze.pca.it,size=2

Starting install...
Creating storage file babelbox-squeeze.pca.it      | 2.0 GB     00:00
Creating domain...                                 |    0 B     00:00
Guest installation complete... restarting guest.
$ ls -l ~/var/lib/libvirt/
total 4
drwx--x--x 4 luca root 4096 Jul  5 14:07 images
$ ls -l ~/var/lib/libvirt/images/babelbox-squeeze.pca.it
-rwxr-xr-x 1 luca luca 2147483648 Jul  5 14:58 \
 /home/luca/var/lib/libvirt/images/babelbox-squeeze.pca.it
$ 
=====

I have:

[/etc/libvirt/qemu.conf]
  # <http://bugs.debian.org/649442>
  user=luca

[/etc/libvirt/storage/default.xml]
  <mode>0770</mode>

[/etc/fstab]
  /home/luca/var/lib/libvirt/images /var/lib/libvirt/images none defaults,bind 0 0 

This happens with both qemu:///session and qemu:///system.

Thx, bye,
Gismo / Luca

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

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

Versions of packages virtinst depends on:
ii  python             2.7.3-1
ii  python-libvirt     0.9.12-3
ii  python-libxml2     2.8.0+dfsg1-4
ii  python-support     1.0.15
ii  python-urlgrabber  3.9.1-4

Versions of packages virtinst recommends:
ii  qemu         1.1.0+dfsg-1
ii  virt-viewer  0.5.3-1

virtinst suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20120705/5763b025/attachment.pgp>


More information about the Pkg-libvirt-maintainers mailing list