Your message dated Thu, 07 Dec 2017 19:58:50 +0000 with message-id <[email protected]> and subject line Bug#831830: fixed in live-tools 1:20171207 has caused the Debian Bug report #831830, regarding live-tools: live-medium-eject not working. 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 [email protected] immediately.) -- 831830: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831830 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: live-tools Version: 1:20151214+nmu1 Severity: normal Tags: patch Dear Maintainer, The live-medium-eject fails to eject the CD in my live system. I found on my live system, the _DEVICE is parsed to as something very weird: root@debian:~# bash -x /bin/live-medium-eject ... ++ awk '/\/lib\/live\/mount\/medium / { print $1 }' /proc/mounts + _DEVICE='/dev/sr0 | sed -e '\''s|/dev/||'\'' -e '\''s|[0-9].*$||'\'')' + '[' '!' -b '/dev//dev/sr0 | sed -e '\''s|/dev/||'\'' -e '\''s|[0-9].*$||'\'')' ']' + exit 0 Attached please find the patch file. It works here. My 2 cents. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 4.6.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages live-tools depends on: ii init-system-helpers 1.39 ii initramfs-tools 0.125 ii lsb-base 9.20160629 live-tools recommends no packages. Versions of packages live-tools suggests: pn debian-installer-launcher <none> ii eject 2.1.5+deb1+cvs20081104-13.1 ii perl 5.22.2-2 ii procps 2:3.3.12-2 ii rsync 3.1.1-3 ii uuid-runtime 2.28-6 -- no debconf informationIndex: live-tools-20151214+nmu1/bin/live-medium-eject =================================================================== --- live-tools-20151214+nmu1.orig/bin/live-medium-eject +++ live-tools-20151214+nmu1/bin/live-medium-eject @@ -40,7 +40,7 @@ done LIVE_MEDIUM_EJECT_VERBOSE="${LIVE_MEDIUM_EJECT_VERBOSE:-true}" # Ejecting live-medium -_DEVICE="$(awk '/\/lib\/live\/mount\/medium / { print $1 }' /proc/mounts) | sed -e 's|/dev/||' -e 's|[0-9].*$||')" +_DEVICE="$(findmnt -Un -o source -T /lib/live/mount/medium | sed -e 's|^/dev/||')" if [ ! -b "/dev/${_DEVICE}" ] then
--- End Message ---
--- Begin Message ---Source: live-tools Source-Version: 1:20171207 We believe that the bug you reported is fixed in the latest version of live-tools, which is due to be installed in the Debian FTP archive. 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Raphaël Hertzog <[email protected]> (supplier of updated live-tools 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 07 Dec 2017 20:27:08 +0100 Source: live-tools Binary: live-tools Architecture: source Version: 1:20171207 Distribution: unstable Urgency: medium Maintainer: Live Systems Maintainers <[email protected]> Changed-By: Raphaël Hertzog <[email protected]> Description: live-tools - Live System Extra Components Closes: 831830 838110 882769 Changes: live-tools (1:20171207) unstable; urgency=medium . * Improve update-initramfs wrapper to better handle unmatched kernels and initrd images. Closes: #882769 The new logic also avoids copying initrd backup files. Closes: #838110 * Fix live-medium-eject logic to identify the device to eject. Closes: #831830 Thanks to Steven Shiau <[email protected]> for the patch. * Add myself to Uploaders. * Switch to debhelper 10 and bump Standards-Version. Checksums-Sha1: b18cbf87e3824dc673cf2d1c382d3e79500e650d 1415 live-tools_20171207.dsc d7508e9276361bfc9e247325f30b3c7848567649 35520 live-tools_20171207.tar.xz 96a8800dd51cbde4fb393359ec747c0451f67621 5138 live-tools_20171207_source.buildinfo Checksums-Sha256: fb90c2ace8d1681d105f6588359aa6bc49dc7ad0000474c1e052244881064ab6 1415 live-tools_20171207.dsc 6c8e83c014061bcd42f19bd471c9e1c43d141313a8c3cfddecc762011ea2f17e 35520 live-tools_20171207.tar.xz d314704b8fbf3a4708097424764f8b3ab2e450ab2b98c6d5c0b16c6a3e97b6ef 5138 live-tools_20171207_source.buildinfo Files: 77305f0acd92b9f38e3d19683b8fe50b 1415 misc optional live-tools_20171207.dsc 6ff9f16364e71788b9042bc18da5dc48 35520 misc optional live-tools_20171207.tar.xz a5cc43ca1deced2e13a3abfdc96bfaff 5138 misc optional live-tools_20171207_source.buildinfo -----BEGIN PGP SIGNATURE----- Comment: Signed by Raphael Hertzog iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAloplikACgkQA4gdq+vC mrlHpgf/VW/N6S/nugm9wKPFDBYP/8CLAu3/BAsiR8fANskz9XNV6mOYkh/BbhFP ergA/Gcsw8CU6+sfSmhvlWJ+flbaCO0LCSkFo7lsDqShkH1Wj2D8t2wUaZlXn/P5 PxtzIYxMft58ajhUH1rep5XEsYX1UuAlVzPyrbylNAWH8ZXVzMSH5zipX2uFQw5f 4xjLRTwqda6WchnajeSlggSLSRxptFSNjwManrx8i6ZOP/ARyw6gT72K07yyjeci 5ZjxzVRB+1pjPV8QXHYfSztG0srMrQ0ioUKUXsOV8kNN5WcJj2GnAw9zl8C1DMqK M9b/XJ/l702v6Ak4NxT/ttyfaT7rTw== =kdUp -----END PGP SIGNATURE-----
--- End Message ---
