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

Bug#756831: mountmedia: /hd-media unmounted during an installation



On Sat 02 Aug 2014 at 10:31:33 +0100, Brian Potkin wrote:

> Commenting out the line "umount $dir 2>/dev/null || true" in mountmedia
> gets 1. The behaviour would appear to be connected more with the
> provision of firmware than the type of connection. I'm unsure what is
> going on but the "fix" does point to mountmedia as being involved in the
> issue.

The quoted line is preceded by the helpful comment:

   # umount can legitimatly fail if something is keeping
   # it open

So we will keep /hd-media mounted with

   d-i preseed/early_command string \
       mkdir /xxx;\
       mount --bind /hd-media /xxx

Which makes me wonder whether there is a bug of any consequence here.

Regards,

Brian.


Reply to: