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

Bug#934701: marked as done (live-boot: fixed handling of live media device in case of persistence)



Your message dated Thu, 05 May 2022 10:34:23 +0000
with message-id <E1nmYoR-0007g2-7J@fasolo.debian.org>
and subject line Bug#934701: fixed in live-boot 1:20220505
has caused the Debian Bug report #934701,
regarding live-boot: fixed handling of live media device in case of persistence
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.)


-- 
934701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934701
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-boot
Version: 1:20190614
Severity: normal

When using persistence, the live media mount point is moved from
/run/live/medium to /run/live/persistence/$something.

This is probably unintended and makes it much harder for third-party
tools to find the original live medium. The attached patch fixes this issue.

Best regards

Ronny

From a362df2b7c525e69b26c6744579515e7a4aafc93 Mon Sep 17 00:00:00 2001
From: Ronny Standtke <ronny.standtke@gmx.net>
Date: Tue, 13 Aug 2019 18:03:21 +0200
Subject: [PATCH] fixed handling of live media device in case of persistence

---
 components/9990-misc-helpers.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 1b89e59..67571ac 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -1071,9 +1071,9 @@ find_persistence_media ()
 	# in one union together.
 	#
 	black_listed_devices=""
-	for d in /run/live/rootfs/* /run/live/findiso /run/live/fromiso
+	for d in /run/live/medium /run/live/rootfs/* /run/live/findiso /run/live/fromiso
 	do
-		black_listed_devices="${black_listed_devices} $(what_is_mounted_on d)"
+		black_listed_devices="${black_listed_devices} $(what_is_mounted_on $d)"
 	done
 
 	for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
-- 
2.20.1


--- End Message ---
--- Begin Message ---
Source: live-boot
Source-Version: 1:20220505
Done: Luca Boccassi <bluca@debian.org>

We believe that the bug you reported is fixed in the latest version of
live-boot, 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 934701@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <bluca@debian.org> (supplier of updated live-boot 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 05 May 2022 11:16:56 +0100
Source: live-boot
Architecture: source
Version: 1:20220505
Distribution: unstable
Urgency: medium
Maintainer: Debian Live Maintainers <debian-live@lists.debian.org>
Changed-By: Luca Boccassi <bluca@debian.org>
Closes: 934701
Changes:
 live-boot (1:20220505) unstable; urgency=medium
 .
   [ Thore Sommer ]
   * Remove encryption support for live-media via losetup.
   * Fix blacklisting for devices that contain the live rootfs for
     persistence. (Closes: #934701)
   * Adding support for dm-verity rootfs
   * docs: document dm-verity support
Checksums-Sha1:
 0e4cae111db57b7569c2dd8fd1343dc6772b8919 1518 live-boot_20220505.dsc
 8bcd7a1fea821ffd6a988ea822e71b17fb013029 98968 live-boot_20220505.tar.xz
 1f5978636d1372c0a9114e8f87dbae3a7beeb3eb 6085 live-boot_20220505_source.buildinfo
Checksums-Sha256:
 5003c94706070e6f90ca3b181f80859669a488ae0f7f23c1749ebbdf32f29b6f 1518 live-boot_20220505.dsc
 719cf8e1d57a22bbff8f5e942662740233f1b9cf2ef3e2f9115f5f4334f1aebe 98968 live-boot_20220505.tar.xz
 0860c2e50bc33df74ca4aaeac3db6fa88e9790a1fa7e938263587fa7dfbc11a3 6085 live-boot_20220505_source.buildinfo
Files:
 2cebc014bb5cd1e0df82668ec1d500b3 1518 misc optional live-boot_20220505.dsc
 280e8cce6cab0c2f91ae07962e52a57f 98968 misc optional live-boot_20220505.tar.xz
 121d2efb651d514e5b2e8838173b9dd8 6085 misc optional live-boot_20220505_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFFBAEBCgAvFiEE6g0RLAGYhL9yp9G8SylmgFB4UWIFAmJzpI0RHGJsdWNhQGRl
Ymlhbi5vcmcACgkQSylmgFB4UWICvAf+JRSNhjip+u2az5gTqC/fDr6CqEMCZsfx
e/cPa6SByk5un5wMYU2Z/Rsu2kwwVP0xtX4ttXZYYZ/Eyy4YFuOlrNI08ZPzKFrR
f+x0D3sHtzUHgNBcbHmFpOZZYrNIViaRhN0ZoiugQm0VVSYIggr3c49BZAyzz24O
YwnaP/69pxLhtYm+8P2LLy1cP4wpvYRsYnIgkfpSSVKKlO5vrt0T5DkSkxIia8qN
/pcO0RFQY5GJywfPtweyxN97TLmE06cTZBKRRblVFis0CQxBJjg/oCr8XIEPH6HN
XyuHYBao390hl3vbvDMvesZQli7O9QPxLrRd4ULw4a4ca5oNt0/r6g==
=/XgE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: