Bug#629341: virtinst: fails if umask isn't permissive

2014-10-09 Thread martin f krafft
also sprach intrigeri [2014-10-09 12:30 +0200]: > I suspect this was fixed since then, as I see (1:1.0.1-2): > > def _perform_initrd_injections(initrd, injections, scratchdir): > """ > Insert files into the root directory of the initial ram disk > """ > [...] > tempdir = tempfile.

Bug#629341: virtinst: fails if umask isn't permissive

2014-10-09 Thread intrigeri
Control: tag -1 + moreinfo Hi, > I can confirm that this problem still exists and that the proposed > solution is IMHO adequate. Can you still reproduce this on current testing/sid? I suspect this was fixed since then, as I see (1:1.0.1-2): def _perform_initrd_injections(initrd, injections, sc

Bug#629341: virtinst: fails if umask isn't permissive

2013-04-06 Thread martin f krafft
Package: virtinst Version: 0.600.3-3 Followup-For: Bug #629341 I can confirm that this problem still exists and that the proposed solution is IMHO adequate. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (

Bug#629341: [Pkg-libvirt-maintainers] Bug#629341: virtinst: fails if umask isn't permissive

2011-06-05 Thread Rob Browning
Guido Günther writes: > What uri are you using? In case of 'session' the qemu process is > running as your user so there shouldn't be a problem. Please run with > --debug. Cheers, I just tested again. Here are the commands: cd ~ rm -rf .virtinst umask 027 pool=/var/lib/libvirt/images

Bug#629341: [Pkg-libvirt-maintainers] Bug#629341: virtinst: fails if umask isn't permissive

2011-06-05 Thread Guido Günther
On Sun, Jun 05, 2011 at 01:20:19PM -0500, Rob Browning wrote: > > Package: virtinst > Version: 0.500.6-1 > > If the umask is set to 007, virt-install will fail with an error like > this: > > qemu: could not load kernel > '/home/rlb/.virtinst/boot/virtinst-linux.sQocL_': Permission denied >

Bug#629341: virtinst: fails if umask isn't permissive

2011-06-05 Thread Rob Browning
Rob Browning writes: > If the relevant files are just temporary files that are used during the > install, then I'd suggest that they be written with umask 002 to a > securely created temp dir, i.e. via "mktemp --tmpdir -d", or in python: > > tempfile.mkdtemp(prefix='virtinst-tmp') Oh, and of c

Bug#629341: virtinst: fails if umask isn't permissive

2011-06-05 Thread Rob Browning
Package: virtinst Version: 0.500.6-1 If the umask is set to 007, virt-install will fail with an error like this: qemu: could not load kernel '/home/rlb/.virtinst/boot/virtinst-linux.sQocL_': Permission denied Ideally, virt-install shouldn't be affected by the user's umask, and shouldn't req