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

Bug#1033451: marked as done (please fix wrong condition contained in debian-edu-ltsp-install script)



Your message dated Mon, 27 Mar 2023 18:48:56 +0000
with message-id <E1pgrto-00BLHq-BN@fasolo.debian.org>
and subject line Bug#1033451: fixed in debian-edu-config 2.12.32
has caused the Debian Bug report #1033451,
regarding please fix wrong condition contained in debian-edu-ltsp-install script
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.)


-- 
1033451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033451
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.11.56+deb11u4
Severity: normal
Tags: patch

While trying to install a dedicated LTSP diskless workstation chroot, I 
noticed that running 'debian-edu-ltsp-install --dlw' fails in case the 
Debian Edu BD ISO image isn't available. This is due to a missing check.

To fix the issue on a system with 'LTSP-Server' profile, run as root:
sed -i 's/if ! mountpoint/if [ "true" == "$BD_ISO" ] \&\& ! mountpoint/' /usr/sbin/debian-edu-ltsp-install

Patch for the d-e-c git master branch:

diff --git a/sbin/debian-edu-ltsp-install b/sbin/debian-edu-ltsp-install
index 3c353202..90627977 100755
--- a/sbin/debian-edu-ltsp-install
+++ b/sbin/debian-edu-ltsp-install
@@ -18,7 +18,7 @@
 # Licence:		GPL2+
 # first edited:	2019-11-21
 
-version=2021-11-18
+version=2023-03-25
 
 set -e
 
@@ -598,7 +598,7 @@ EOF
 	mkdir -p /srv/ltsp/dlw
 	chmod 755 /srv/ltsp/dlw
 	# Use BD-ISO if available.
-	if ! mountpoint -q /media/cdrom ; then
+	if [ "true" == "$BD_ISO" ] && ! mountpoint -q /media/cdrom ; then
 		mount /media/cdrom
 	fi
 	if grep -q BD /etc/apt/sources.list && [ -f /media/cdrom/.disk/info ] ; then


Wolfgang

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.12.32
Done: Holger Levsen <holger@debian.org>

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

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-config 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: Mon, 27 Mar 2023 20:40:47 +0200
Source: debian-edu-config
Architecture: source
Version: 2.12.32
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 1033451
Changes:
 debian-edu-config (2.12.32) unstable; urgency=medium
 .
   * debian-edu-ltsp-install: fix failure with absent BD iso images. Patch
     thanks to Wolfgang Schweer. Closes: #1033451.
Checksums-Sha1:
 cfdc02591b78ee88d68c4ce77329c7ceb67d1b41 2026 debian-edu-config_2.12.32.dsc
 2bb6e264b0a8181724b3503838e47cc14a92bc56 353948 debian-edu-config_2.12.32.tar.xz
 40b7972117a9bda901111d06e8a204f52be1e4e8 5916 debian-edu-config_2.12.32_source.buildinfo
Checksums-Sha256:
 f5343ff6ce256a369d5dd13ce6350bea6470910d2e0a65229ab689175f2ae890 2026 debian-edu-config_2.12.32.dsc
 3394c048bdef68e290eb76d7f7c6e3fabac2c88504906ce370147bcedf383887 353948 debian-edu-config_2.12.32.tar.xz
 3118f5e78d88b00c2be34c717d264b1a0e0d800f3c06d72f6930be93bbf6f740 5916 debian-edu-config_2.12.32_source.buildinfo
Files:
 fd4e76d611e84c94947cf25be90f76b4 2026 misc optional debian-edu-config_2.12.32.dsc
 c70af0c8f46af552be82d299f73558c5 353948 misc optional debian-edu-config_2.12.32.tar.xz
 305a9a9a74d04aa4a9a9d3d97ae65b84 5916 misc optional debian-edu-config_2.12.32_source.buildinfo

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

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmQh47AACgkQCRq4Vgaa
qhyHJQ//Zd0V5f8vr7ITvVeL329IStCgv1ZOw1b0fTm0gLid70OGu2RfXisVoirx
1q2c3JMZdcMRoZUuCjJSyrgTpbKinPNwaD4l5LykXHHErSH+Mz5yaxpIAlkkTCiN
77qGfFzeDWe5ph7DFlPLJyWNRggNYNHielqupWrg7YhZKtvt32E+R2i7iYh9BAHp
dl6RG1XznVc97nLhdDW7h4Bi3ei6xI1S7mvXjtz5IfL7cckRhcp7X6kO8aD1lm/l
oXF97gLmfCLVFs2wFLqfIb3JgSUu8g2JI0laXAp+u0/sS95fFm5i9XT+rAqhtMhz
d4xqKYTSL03FrgAkXgDYebbmm2Gm1RpeiJabnQ5NTP/sjKvjynL4vI0TwRWRhNZ4
7RWNP0oH6keD25j0vSzWQm98lZfdC9mn57s0zvxSmOnuB1lH5STDgvWSLTUxdpiN
US+cboZlqHG6yHQwW2FXghqrsk+WhP4e9i/duiWbAxs6zGgTr/RAqfmBy6ju7L4A
DmOOU/jdqzVcXaBGPzbwdTR8nSRt8ZWeJXwicNIFX/mr4WNTuKTm4JgR4vnEqfk9
2pXf9XZWjf3GOecWkkr/BW1nMJ+QYrk2myWjjk0jGgzuACvEN+Xhza3V4KugQ70/
DOO8poZ1IksaDEiR6TnV3tGR6oqtlNMLgSUzgka3hDyu4wTEL5o=
=CA8d
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: