Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-12 Thread Ian Campbell
On Wed, 2010-08-11 at 20:56 +0200, Paul Menzel wrote: Am Mittwoch, den 11.08.2010, 10:40 +0100 schrieb Ian Campbell: On Wed, 2010-08-11 at 00:05 +0200, Paul Menzel wrote: $ grep vmlinuz /tmp/squeeze.cfg kernel = /tmp/vmlinuz $ sudo xm create /tmp/squeeze.cfg

Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-11 Thread Ian Campbell
On Wed, 2010-08-11 at 00:05 +0200, Paul Menzel wrote: Am Dienstag, den 10.08.2010, 15:10 +0100 schrieb Ian Campbell: On Tue, 2010-08-10 at 15:40 +0200, Paul Menzel wrote: Am Montag, den 21.12.2009, 09:19 + schrieb Ian Campbell: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote:

Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-11 Thread Paul Menzel
Am Mittwoch, den 11.08.2010, 10:40 +0100 schrieb Ian Campbell: On Wed, 2010-08-11 at 00:05 +0200, Paul Menzel wrote: Am Dienstag, den 10.08.2010, 15:10 +0100 schrieb Ian Campbell: On Tue, 2010-08-10 at 15:40 +0200, Paul Menzel wrote: Am Montag, den 21.12.2009, 09:19 + schrieb Ian

Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-10 Thread Paul Menzel
Am Montag, den 21.12.2009, 09:19 + schrieb Ian Campbell: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image, you surely know it much better than I do. :) The host is a Lenny system with the Etch kernel: I am using Lenny with a

Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-10 Thread Ian Campbell
On Tue, 2010-08-10 at 15:40 +0200, Paul Menzel wrote: Am Montag, den 21.12.2009, 09:19 + schrieb Ian Campbell: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image, you surely know it much better than I do. :) The host is a Lenny

Bug#560348: xen: racy temporary files for kernel and initrd

2010-08-10 Thread Paul Menzel
Am Dienstag, den 10.08.2010, 15:10 +0100 schrieb Ian Campbell: On Tue, 2010-08-10 at 15:40 +0200, Paul Menzel wrote: Am Montag, den 21.12.2009, 09:19 + schrieb Ian Campbell: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image,

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-21 Thread Ian Campbell
On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image, you surely know it much better than I do. :) The host is a Lenny system with the Etch kernel: I think the issue is with the host's Xen utilities rather than the Debian Installer image which

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-21 Thread Ferenc Wagner
Ian Campbell i...@hellion.org.uk writes: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image, you surely know it much better than I do. :) The host is a Lenny system with the Etch kernel: I think the issue is with the host's Xen utilities

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-21 Thread Ian Campbell
On Mon, 2009-12-21 at 11:56 +0100, Ferenc Wagner wrote: Ian Campbell i...@hellion.org.uk writes: On Fri, 2009-12-11 at 11:30 +0100, Ferenc Wagner wrote: The guest is the Debian Installer daily image, you surely know it much better than I do. :) The host is a Lenny system with the Etch

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-21 Thread Ferenc Wagner
Ian Campbell i...@hellion.org.uk writes: On Mon, 2009-12-21 at 11:56 +0100, Ferenc Wagner wrote: Ian Campbell i...@hellion.org.uk writes: For Lenny you could workaround by downloading the kernel and ramdisk locally and use the install-kernel= and install-ramdisk= options to xm-debian.cfg,

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-11 Thread Ferenc Wagner
Ian Campbell i...@hellion.org.uk writes: On Thu, 2009-12-10 at 17:46 +0100, Ferenc Wagner wrote: The current code in xm-debian.cfg uses Python-managed temporary files, which are unlinked too early (in parallel with the RPC call). I can't recommend a good solution, and maybe it's already

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-10 Thread Ferenc Wagner
Package: debian-installer Version: 20090123lenny4 Severity: normal Hi, I encountered this while testing daily snapshots under Xen 3.2 with long extra command lines (you may consider this sort of preseeding stupid, but that's not the point now): $ sudo xm create -c xm-debian.cfg install=true

Bug#560348: xen: racy temporary files for kernel and initrd

2009-12-10 Thread Ian Campbell
On Thu, 2009-12-10 at 17:46 +0100, Ferenc Wagner wrote: The current code in xm-debian.cfg uses Python-managed temporary files, which are unlinked too early (in parallel with the RPC call). I can't recommend a good solution, and maybe it's already fixed in the current (version 3.4) tools. I