[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Mon, 2009-12-21 at 11:56 +0100, Ferenc Wagner wrote:
> Ian Campbell <ijc@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 rather than the
> > Debian Installer image which makes it tricky to fix in Lenny.
> 
> Isn't xm-debian.cfg part of the Debian Installer?  I feel like it
> wanders into undefined territory by using temporary files with
> uncontrolled life cycles.

Yes that is probably true. I tried to find a way to solve this issue
purely within the xm-debian.cfg file which worked with the Lenny tools
but I couldn't find one that didn't leak the downloaded file.

>   But I accept that the Lenny tools probably
> just don't provide the necessary facilities.

> > 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, or if you have a local mirror you could just use
> > install-installer=.
> 
> Yes.  At least this is "documented" now. :)

It was always documented at the top of xm-debian.cfg.

Ian.

-- 
Ian Campbell
Current Noise: Zakk Wylde - The Color Green

You can do more with a kind word and a gun than with just a kind word.
		-- Al Capone




Reply to: