Bug#745717: di-utils: fetch-url runs mountmedia without cleaning up; blocks partitioner preseeding

2014-12-11 Thread Zhang Cheng
This bug also affects the hd-media installer. With hd-media installer, iso-scan will try mount each partition to find isos with the following command: mount -t auto -o ro $device /hd-media Since the partition contains preseed file, which very likely contains the iso file, is mounted, this mount

Bug#745717: di-utils: fetch-url runs mountmedia without cleaning up; blocks partitioner preseeding

2014-12-11 Thread Zhang Cheng
> I personally modified fetch-url/file and fetch-url/floppy, added `umount > /media || true` before every return path, then the installer works > incorrectly. Sorry, typo here, then the installer works *correctly*. BTW, this bug may not be triggered that frequently. fetch-url is invoked such ea