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

Bug#528480: marked as done (live-installer does not let d-i to eject cdrom)



Your message dated Fri, 12 Jun 2009 19:02:42 +0000
with message-id <E1MFC1S-0004aM-E2@ries.debian.org>
and subject line Bug#528480: fixed in live-installer 10
has caused the Debian Bug report #528480,
regarding live-installer does not let d-i to eject cdrom
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
528480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528480
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-installer

at the end of a successful installation finish-install is not able to umount and eject cdrom.

Lates messages are (e.g.):

---- * -----
May 13 07:13:12 finish-install: info: Running /usr/lib/finish-install.d/15cdrom-detect
May 13 07:13:12 cdrom-detect: Unmounting and ejecting '/dev/hdc'
May 13 07:13:12 finish-install: umount: cannot umount /cdrom: Device or resource busy
May 13 07:13:12 finish-install: umount: cannot umount /cdrom: Device or resource busy
May 13 07:13:12 finish-install: eject: unmount of '/cdrom' failed
May 13 07:13:12 finish-install: info: Running /usr/lib/finish-install.d/20final-message
---- * -----

fuser and lsof showed me nothing, so I tried losetup -a and I saw that live-installer forgot to unset the loop device used for the .squashfs:

# /target/sbin/losetup -a
/dev/loop0: [1600]:2822 (/cdrom/live/filesystem.squashfs)

# /target/usr/bin/lsof 2>/dev/null | grep loop
loop0	13671	0	cwd	DIR	0,1	0 1	/
loop0	13671	0	rtd	DIR	0,1	0 1	/
loop0	13671	0	txt	unknown				/proc/13671/exe

# ps axw | grep 13671
13671 root	0	SW<	 [loop0]

# /target/sbin/losetup -d /dev/loop0
ioctl: LOOP_CLR_FD: Device or resource busy

# /target/bin/fuser /dev/loop0
# /target/bin/fuser -c /dev/loop0

nothing...

I'm stuck there.

Reproducible with qemu.
--
ESC:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--- End Message ---
--- Begin Message ---
Source: live-installer
Source-Version: 10

We believe that the bug you reported is fixed in the latest version of
live-installer, which is due to be installed in the Debian FTP archive:

live-installer_10.dsc
  to pool/main/l/live-installer/live-installer_10.dsc
live-installer_10.tar.gz
  to pool/main/l/live-installer/live-installer_10.tar.gz
live-installer_10_amd64.udeb
  to pool/main/l/live-installer/live-installer_10_amd64.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 528480@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <otavio@debian.org> (supplier of updated live-installer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 12 Jun 2009 15:54:26 -0300
Source: live-installer
Binary: live-installer
Architecture: source amd64
Version: 10
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
Description: 
 live-installer - Install the system (udeb)
Closes: 528480
Changes: 
 live-installer (10) unstable; urgency=low
 .
   [ Chris Lamb ]
   * Detach loop devices and unmount filesystems so that CD-ROM ejection in
     finish-install doesn't fail. (Closes: #528480)
Checksums-Sha1: 
 1ece24619a878b00903fb4498330c782fc42e1e6 927 live-installer_10.dsc
 4e5d93213234cf71ce0cb433881a5512aa99859c 114275 live-installer_10.tar.gz
 d541ff8f29d338c6ce6edd7d6d91e886cfbbfc50 25332 live-installer_10_amd64.udeb
Checksums-Sha256: 
 e66a6619984e98b5e6cd4878c7765b0118d60f8f072d115ff42a7743f28aac54 927 live-installer_10.dsc
 d942b5d13bae6ac0fa237b1d26bf091281879375a6fb02b966c58a240fd60e6e 114275 live-installer_10.tar.gz
 cde5a5eef2f74851a82018eadd9f65ee7c749624fe398e76896a59a65d37f969 25332 live-installer_10_amd64.udeb
Files: 
 9d801027d4e558262b1d4e0e0a07e6a8 927 debian-installer optional live-installer_10.dsc
 a85a31fb1e621dd67045789eb3e4ae54 114275 debian-installer optional live-installer_10.tar.gz
 04880aa7157b67aa9a62080a94e02c88 25332 debian-installer optional live-installer_10_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoypMUACgkQLqiZQEml+FWr7gCeIH8KlELL/5juzhgCc36P/MTV
qZwAoLC0Ac2Tl/pl1A9bao6cbsKZJPvD
=oiKu
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: