Bug#868559: live-boot: httpfs does not work due to util-linux's mount being used
Package: live-boot Version: 1:20170623 Severity: normal Hi, when building a stretch live image which includes httpfs/buster for the created live-image's initramfs to support live-boot's httpfs switch, the boot process fails in a way similar to what has been reported in #823856. Special handling for ${FUSE_MOUNT}s (httpfs, curlftps) was added to use util-linux's mount instead of the klibc's in such cases. I tested the use of a FUSE-based rootfs in conjunction with klibc's mount, and it seems, nowadays the both of them work together. So, the conditional incorporation and replacement of the mount command is both no longer necessary, and has become harmful. The attached patch against live-boot's current tag 1%20170623 removes it. Cheers Daniel >From 3891e35f1df321e44e51347df95938346c108ef4 Mon Sep 17 00:00:00 2001 From: Daniel Reichelt Date: Sun, 16 Jul 2017 17:15:46 +0200 Subject: [PATCH] use klibc's mount again for ${FUSE_MOUNT}s --- backend/initramfs-tools/live.hook | 4 components/9990-mount-http.sh | 6 -- 2 files changed, 10 deletions(-) diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook index 1ce922d..c5d7266 100755 --- a/backend/initramfs-tools/live.hook +++ b/backend/initramfs-tools/live.hook @@ -149,10 +149,6 @@ then copy_exec /usr/bin/eject /bin fi -# Program: mount -# fuse does not work with klibc mount -copy_exec /bin/mount /bin/mount.util-linux - [ "${QUIET}" ] || echo -n " utils" # Feature: Verify Checksums diff --git a/components/9990-mount-http.sh b/components/9990-mount-http.sh index 2e68fe6..f58c3a3 100755 --- a/components/9990-mount-http.sh +++ b/components/9990-mount-http.sh @@ -54,12 +54,6 @@ do_httpmount () FUSE_MOUNT="httpfs" fi - if [ -n "${FUSE_MOUNT}" ] && [ -x /bin/mount.util-linux ] - then - # fuse does not work with klibc mount - ln -f /bin/mount.util-linux /bin/mount - fi - modprobe fuse $FUSE_MOUNT "${url}" "${dest}" ROOT_PID="$(minips h -C "$FUSE_MOUNT" | { read x y ; echo "$x" ; } )" -- 2.1.4
Re: RFS: live-wrapper/0.6+nmu2
On Sat, Jul 15, 2017 at 04:35:25AM +0100, Phil Wyett wrote: >Package: sponsorship-requests >Severity: important > >Dear mentors, > >I am looking for a sponsor for an update to the package "live- >wrapper": > >* Package name: live-wrapper > Version: 0.6+nmu2 > Upstream Author : Debian Live - debian-live@lists.debian.org >* URL: https://debian-live.alioth.debian.org/live-wrapper/ >* License: BSD, GPLv3 > >This update addresses: > >* Remove incorrect instance of converting to UTF-8. >* Eliminate 'pyversions' warnings at build time. >* Add 'python-requests' build dependency. Fixes docs build. >* Add 'squashfs-tools' dependency. (Closes: #867282). > >Last entry relates to RC bug: > >https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867282 > >Source can be obtained from: > >https://kathenas.org/debian/package_uploads/ > >Signing key: > >https://keyserver.ubuntu.com/pks/lookup?op=vindex&search=philwyett%40k >athenas.org&fingerprint=on In incoming now, and imported on my master branch ready for pushing as soon as I've got git access sorted. Thanks! -- Steve McIntyre, Cambridge, UK.st...@einval.com < liw> everything I know about UK hotels I learned from "Fawlty Towers"
Bug#867282: marked as done (live-wrapper: Lacks dependency on squashfs-tools)
Your message dated Sun, 16 Jul 2017 23:03:58 + with message-id and subject line Bug#867282: fixed in live-wrapper 0.6+nmu2 has caused the Debian Bug report #867282, regarding live-wrapper: Lacks dependency on squashfs-tools 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 ow...@bugs.debian.org immediately.) -- 867282: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867282 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: live-wrapper Version: 0.6+nmu1 Severity: serious Justification: Policy 3.5 Dear Maintainer, Hi. after installing live-wrapper with --no-install-recommends, it does not function properly, eventually issuing an error that /tmp/.../live can not be found. I believe that this is because it does not depend on squashfs-tools to provide the "mksquashfs" program. This dependency bug is often not visible, because "mksquashfs" is a recommends, but not a depends, of vmdebootstrap. Specifically, I created a new stretch schroot, then inside it I ran 'apt install live-wrapper --no-install-recommends', and then 'lwr'. The eventual failure looked something like this: File "/usr/lib/python2.7/dist-packages/lwr/vm.py", line 66, in detect_kernels filenames = os.listdir(os.path.join(cdroot, "live")) OSError: [Errno 2] No such file or directory: '/tmp/tmpZDO8j6/live' Thanks for your attention to this matter, Jeff -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-rt-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages live-wrapper depends on: ii debian-archive-keyring 2017.5 ii isolinux3:6.03+dfsg-14.1 ii python 2.7.13-2 ii python-apt 1.4.0~beta3 ii python-cliapp 1.20160724-2 ii python-distro-info 0.14 ii python-pycurl 7.43.0-2 ii python-requests 2.12.4-1 ii vmdebootstrap 1.7-1 ii xorriso 1.4.6-1+b1 live-wrapper recommends no packages. Versions of packages live-wrapper suggests: pn cmdtest -- no debconf information --- End Message --- --- Begin Message --- Source: live-wrapper Source-Version: 0.6+nmu2 We believe that the bug you reported is fixed in the latest version of live-wrapper, 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 867...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Phil Wyett (supplier of updated live-wrapper 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 ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 14 Jul 2017 04:43:06 +0100 Source: live-wrapper Binary: live-wrapper live-wrapper-doc Architecture: source all Version: 0.6+nmu2 Distribution: unstable Urgency: medium Maintainer: Debian Live Changed-By: Phil Wyett Description: live-wrapper - Wrapper for vmdebootstrap for creating live images live-wrapper-doc - Wrapper for vmdebootstrap for creating live images (Documentation Closes: 867282 Changes: live-wrapper (0.6+nmu2) unstable; urgency=medium . * Non-maintainer upload. * Remove incorrect instance of converting to UTF-8. * Eliminate 'pyversions' warnings at build time. * Add 'python-requests' build dependency. Fixes docs build. * Add 'squashfs-tools' dependency. (Closes: #867282). Checksums-Sha1: 0b37d77eaa2cb2b2f1c6212a57a449c35459d74d 1866 live-wrapper_0.6+nmu2.dsc 05a393c564f150159eca3e9ed6a3cb60edb7d64f 26664 live-wrapper_0.6+nmu2.tar.xz 46182198234b1f00fb8fac334f5a40f649fd52a5 27712 live-wrapper-doc_0.6+nmu2_all.deb e71cbe4cabb5bd6fbf4c9cac49aa1fa5c9dcacba 18112 live-wrapper_0.6+nmu2_all.deb 5f333b97e391f2c8e0301553be673989124842f4 9089 live-wrapper_0.6+nmu2_amd64.buildinfo Checksums-Sha256: 5c9e4f801d2e4ef14b7af27144947569eb1ce59b017687a590e510fc22605abf 1866 live-wrapper_0.6+nmu2.dsc 22bdce870359e3f9a2a895246c1a7e86f6376eb3cd0e4d6110a2bb6392524096 26664 live-wrapper_0.6+nmu2.tar.xz dc25916f3f0397eb6c31645bc269e32c93c6f8fb829d069b929a57c31af73304 27712 l
Processing of live-wrapper_0.6+nmu2_amd64.changes
live-wrapper_0.6+nmu2_amd64.changes uploaded successfully to localhost along with the files: live-wrapper_0.6+nmu2.dsc live-wrapper_0.6+nmu2.tar.xz live-wrapper-doc_0.6+nmu2_all.deb live-wrapper_0.6+nmu2_all.deb live-wrapper_0.6+nmu2_amd64.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org)
live-wrapper_0.6+nmu2_amd64.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Fri, 14 Jul 2017 04:43:06 +0100 Source: live-wrapper Binary: live-wrapper live-wrapper-doc Architecture: source all Version: 0.6+nmu2 Distribution: unstable Urgency: medium Maintainer: Debian Live Changed-By: Phil Wyett Description: live-wrapper - Wrapper for vmdebootstrap for creating live images live-wrapper-doc - Wrapper for vmdebootstrap for creating live images (Documentation Closes: 867282 Changes: live-wrapper (0.6+nmu2) unstable; urgency=medium . * Non-maintainer upload. * Remove incorrect instance of converting to UTF-8. * Eliminate 'pyversions' warnings at build time. * Add 'python-requests' build dependency. Fixes docs build. * Add 'squashfs-tools' dependency. (Closes: #867282). Checksums-Sha1: 0b37d77eaa2cb2b2f1c6212a57a449c35459d74d 1866 live-wrapper_0.6+nmu2.dsc 05a393c564f150159eca3e9ed6a3cb60edb7d64f 26664 live-wrapper_0.6+nmu2.tar.xz 46182198234b1f00fb8fac334f5a40f649fd52a5 27712 live-wrapper-doc_0.6+nmu2_all.deb e71cbe4cabb5bd6fbf4c9cac49aa1fa5c9dcacba 18112 live-wrapper_0.6+nmu2_all.deb 5f333b97e391f2c8e0301553be673989124842f4 9089 live-wrapper_0.6+nmu2_amd64.buildinfo Checksums-Sha256: 5c9e4f801d2e4ef14b7af27144947569eb1ce59b017687a590e510fc22605abf 1866 live-wrapper_0.6+nmu2.dsc 22bdce870359e3f9a2a895246c1a7e86f6376eb3cd0e4d6110a2bb6392524096 26664 live-wrapper_0.6+nmu2.tar.xz dc25916f3f0397eb6c31645bc269e32c93c6f8fb829d069b929a57c31af73304 27712 live-wrapper-doc_0.6+nmu2_all.deb c8dcca39253b2341c0bcaa68a5ef5107c3ffd6bd2bb5a2c4fe4db3dfc487470f 18112 live-wrapper_0.6+nmu2_all.deb 73a4a652c868abe775f6295a8ca69fa0703cc1fc5d6c258ef7ddef4fdc920509 9089 live-wrapper_0.6+nmu2_amd64.buildinfo Files: 20e34c6d579bb4b3b4303326eb1e4881 1866 misc optional live-wrapper_0.6+nmu2.dsc f9427142ccf26b19f1def02cc29ce3d3 26664 misc optional live-wrapper_0.6+nmu2.tar.xz 5c633b8aa58bdfa7eff6f0f26611a0fd 27712 doc optional live-wrapper-doc_0.6+nmu2_all.deb 83c95c557bac2568c50f9c960761841b 18112 misc optional live-wrapper_0.6+nmu2_all.deb 5d82b9cc0ab5545c821d93cea62c1518 9089 misc optional live-wrapper_0.6+nmu2_amd64.buildinfo -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAllr7RIACgkQWHl5VzRC aE6Tkg/+MN4jilGj/455RvD63KAmhWfYIdgi/jBT1Yi8Vryd8qPStQbGVMmxcb+i o0Ot7U+5l9Ecsb9B84wFlXk56+5wFoGmNGnRMkgfj4HvHl7XcWE+C7WvdfJPcP5g OswQOnWc3FbjMtig+B9WW3zRhLq4DhRq14DMdI0Jac9cMr/uzWfzBvM427mmCIrm e1glRw+1KKqMZMbgnnwBsTxz9skQhadHi6cJqxxXBSfkxGk6NlP/l50CpKsJeR0S a1GmW8TQ3ynmggsGmxBXXyAatMIh7qijL+70HDQeSvD6IMQA1H23MgpZXGX5wEdU 8q1IRrdtW7c258LYiZOg4sCwiPmLKtGsPgdk4bBTRbohIat8OsnZux0ym2I6D2eV TFycJhTa/4CVW5i2OV1n801XBCsFHpZvjCu6CF+Svt028G+v0rYVx2pPDu6nCENM XThTB9Kvpxlfaekvx805AZrrf/aBO23KXT0ft+lPqnai3BPd1LVapKnW2NOJEWrR gx1v3LQTfe4XTzzaUTlfkUo9sbFnYKyfAJ7H+dI7czsF7suAxIE7Ocw8k8kEv56k rIy4Dp59NpMJKGnTyJF8JAgWECKLlbLUe8Jwmi6pyzEIDqLlSc4rZ0A28DUoVuhb tSfLJZd3Vybnljpho/HpKC6VWgpSZx2NvdHhsyR3jlvjMKYkFyE= =I4VJ -END PGP SIGNATURE- Thank you for your contribution to Debian.