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

2014-08-02 Thread Brian Potkin
Package: mountmedia
Version: 0.22
Severity: normal
Tags: d-i


I have a USB stick with the hd-media kernel and initrd, a preseed file
and firmware-7.5.0-i386-netinst.iso. Booting is with grub. The preseed
file has a late_command which copies files from /hd-media to /target.

1. With an ethernet connection the install is flawless.

2. With a wireless connection the late_command fails. This is because
   /hd-media is unmounted when Detect network hardware is activated.
   The WiFi device requires non-free firmware.

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.

Identical inconsistent behaviour was discussed at

   https://lists.debian.org/debian-user/2013/04/msg01115.html

I have CCed Julien Groselle because he may have some further insight.

I did not test the Jessie images because the changelog for 0.23 doesn't
indicate any relevant intervening change in mountmedia.






-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2014-08-02 Thread Brian Potkin
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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org