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

Bug#989342: marked as done (debian-edu-config: debian-edu-ltsp-install fails to setup thin client support if BD ISO image is used)



Your message dated Fri, 04 Jun 2021 22:18:29 +0000
with message-id <E1lpI97-0001gL-E0@fasolo.debian.org>
and subject line Bug#989342: fixed in debian-edu-config 2.11.56
has caused the Debian Bug report #989342,
regarding debian-edu-config: debian-edu-ltsp-install fails to setup thin client support if BD ISO image is used
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.)


-- 
989342: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989342
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.11.55
Severity: important

During a recent installation test I noticed that the debian-edu-ltsp-install script
fails to setup thin client support if used outside the Debian Installer environment.

As there are too many ways to install a combined server with or without Internet
connection using the BD iso image it is best to adjust debian-edu-ltsp-install
to only use the BD ISO image if run inside d-i.

The fix is simple:

diff --git a/sbin/debian-edu-ltsp-install b/sbin/debian-edu-ltsp-install
index 1edb407a..a22d8ca8 100755
--- a/sbin/debian-edu-ltsp-install
+++ b/sbin/debian-edu-ltsp-install
@@ -341,8 +341,8 @@ cat <<EOF > /etc/ltsp/skel/.x2goclient/settings
 show=false
 EOF

-# Specific settings needed if BD ISO image is used for installation.
-if grep -q BD /etc/apt/sources.list ; then
+# Specific settings needed if BD ISO image is used for installation inside d-i.
+if [ -e /etc/apt/apt.conf.d/00IgnoreTimeConflict ] && grep -q BD /etc/apt/sources.list ; then
        BD_ISO="true";
        device="$(grep media/cdrom /etc/fstab | cut -d' ' -f1)"
        mirror="file:///media/cdrom/"
@@ -365,7 +365,6 @@ debootstrap --arch="$arch" --no-check-gpg --variant=minbase --include=linux-imag
        if [ "true" == "$BD_ISO" ] ; then
                mkdir -p /srv/ltsp/thin/"$thin_type"-"$arch"/media/cdrom
                mount $device /srv/ltsp/thin/"$thin_type"-"$arch"/media/cdrom
-               cp /var/cache/apt/*.bin /srv/ltsp/thin/"$thin_type"-"$arch"/var/cache/apt/
                echo "deb [trusted=yes] $mirror $dist main" > /srv/ltsp/thin/"$thin_type"-"$arch"/etc/apt/sources.list
        fi
        chroot /srv/ltsp/thin/"$thin_type"-"$arch"/ apt -y -qq install education-thin-client p910nd

Wolfgang

--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.11.56
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 989342@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: Sat, 05 Jun 2021 00:06:13 +0200
Source: debian-edu-config
Architecture: source
Version: 2.11.56
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 989338 989340 989342
Changes:
 debian-edu-config (2.11.56) unstable; urgency=medium
 .
   [ Wolfgang Schweer ]
   * Adjust workaround for isc-dhcp-server-ldap bug #971275. (Closes: #989340)
     - share/debian-edu-config/isc-dhcp-server.{service,service.eth1_only}:
       Use ExecStartPre command inspired by the isc-dhcp-server init script
       instead of a sleep command.
   * Adjust Exim configuration on client systems. (Closes: #989338)
     - cf3/cf.exim:
       Use exim-ldap-client-v4.conf file as exim4.conf on client machines instead
       of preseeded configuration. This way sending system emails to the main
       server is working again after the exim4 4.94 changes.
   * Adjust sbin/debian-edu-ltsp-install. (Closes: #989342)
     - Drop line containing the cp command (/var/cache/apt doesn't contain .bin
       files in all use cases and the benefit is minimal if they exist; also, the
       pkgcache.bin and srcpkgcache.bin files might contain outdated data).
     - Use the BD ISO image to setup X2Go thin client support only if the script
       is run inside the Debian Installer environment. There are too many ways
       to install a combined server (with or without Internet connection, with
       or without adjusting the sources list, with or without running apt update)
       to cover all these cases.
Checksums-Sha1:
 c0c1ffba49d305de573f43fb18613ff976169eed 1926 debian-edu-config_2.11.56.dsc
 a46cbb3ae3a1983193cc41d1441f2beb82517364 342400 debian-edu-config_2.11.56.tar.xz
 4faa44cf5c316b5ad2fdc092e2703fd70046dc8c 5469 debian-edu-config_2.11.56_source.buildinfo
Checksums-Sha256:
 a72627a475e2f64d59b9f03e9e97130fddade7944573d017bc6b720c6c47076e 1926 debian-edu-config_2.11.56.dsc
 968465297bbf8816591ec63031d715a7c88eeb012d27c3b876bcbdeba8977fb9 342400 debian-edu-config_2.11.56.tar.xz
 8e4f3ef2c1ea3812df544abf801369bb064a5693ba345f83ecea66b394197e03 5469 debian-edu-config_2.11.56_source.buildinfo
Files:
 e3448bf5cdcde484c1eef06c6a9a4e1e 1926 misc optional debian-edu-config_2.11.56.dsc
 ca15b95ffdf59a3fb9a569b2e698ac93 342400 misc optional debian-edu-config_2.11.56.tar.xz
 e82c76e7f1a934b9b1b359fc62143116 5469 misc optional debian-edu-config_2.11.56_source.buildinfo

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

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmC6pG4ACgkQCRq4Vgaa
qhx4Jg//W0coQvUaOtkK5OTXi6+uNKh3+SynuK7uPDTsVvXJa7H99ZQr7bS7oQoj
gtr4sZe6yg+EBncXn/gWqfOeyakbFzQy6UQ1JrUQom2ENXyeO3Oy1Y8U+sCqgEJ2
miXWalXCob54gn5nHTNcXhwZPVQ3elupvczwevb2TUTgMJ00bowZcnbeRT5/1FTK
y5QY7A5OwiKEPIdiHriUzgsWMD2stscik9YMBPCYl1si9XpzymYeJOTwmlMOnwv/
MzvdTiKHrQ8ianuxbgYiY/fuF5XqnHtyb0oNi5Iox5a58Jb++OJWB0GEY0WvBGFh
6uS2CDacDG+QinoosI4CQXYn3PH9ivwmT+kI4hHtsNbIVvBSQOiu9EPzK7McNDhw
fZ+88kEf4SjQVKz0kwODLyUHeizk+vMe1jrq0k2hgSwSAb4ziFSznhKT32fOidqA
WCYGOvohrHxHGWTwO0Vu3bgo8lPgR0Tm7IQLtVVNbrdjO0ZfzgUNKfNhEglE+uzK
G70ngOY9X8TRCjKizELmvvHJpss4Q+WPpQXtQY8Y0Jmuz7tFkrecARnyN1liD+AF
BHPYwF04UgP6tYF7xns+kenrno+duusW5abki9DwqYsYRaLXmeFQhYxuDvGpkrzw
Q3zgvpokhlOgZR4KJ2Uzp/Ybb/8JPfNI8EG5HOP2WKTrLo09iDQ=
=jgie
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: