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

Bug#969935: marked as done (debian-edu-ltsp: unused variables, $securitymirror needs /updates -> -security)



Your message dated Sat, 05 Dec 2020 01:18:53 +0000
with message-id <E1klMDt-0006nu-3q@fasolo.debian.org>
and subject line Bug#969935: fixed in debian-edu-config 2.11.38
has caused the Debian Bug report #969935,
regarding debian-edu-ltsp: unused variables, $securitymirror needs /updates -> -security
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.)


-- 
969935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969935
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.11.30
Severity: minor
File: /usr/sbin/debian-edu-ltsp
User: debian-devel@lists.debian.org
Usertags: bullseye-security
X-Debbugs-CC: team+ltsp@tracker.debian.org, Vagrant Cascadian <vagrant@debian.org>, Alkis Georgopoulos <alkisg@gmail.com>

[CCing the LTSP maintainers for their advice on ltsp-build-client]

The debian-edu-ltsp script contains a $securitymirror variable that is
hard coded to use $dist/updates but with the bullseye suite and later
it should be $dist-security instead. OTOH the $securitymirror variable
appears to be unused so perhaps it and the other unused variables
should either be removed or passed to the ltsp-build-client script at
the end of the debian-edu-ltsp script. As ltsp-build-client doesn't
appear to exist in any package in Debian, perhaps the debian-edu-ltsp
script should just be dropped instead?

   $ shellcheck /usr/sbin/debian-edu-ltsp
   ...
   In sbin/debian-edu-ltsp line 60:
     extramirror=""
     ^---------^ SC2034: extramirror appears unused. Verify use (or export if used externally).


   In sbin/debian-edu-ltsp line 61:
     securitymirror="http://security.debian.org/ $dist/updates main"
     ^------------^ SC2034: securitymirror appears unused. Verify use (or export if used externally).


   In sbin/debian-edu-ltsp line 62:
     components="main"
     ^--------^ SC2034: components appears unused. Verify use (or export if used externally).
   ...

   $ tail -n38 /usr/sbin/sbin/debian-edu-ltsp
   # Check if server uses install or cd to install
   if apt-cache policy ltsp-client | grep -q "cdrom://" ; then
     mirror=file:///media/cdrom
     components="main"
     securitymirror=""
     extramirror=""
   else
     mirror=http://deb.debian.org/debian
  extramirror=""
  securitymirror="http://security.debian.org/ $dist/updates main"
  components="main"
fi

umounts=
exit_handler() {
    # Unmount if anything is mounted
    for dir in $umounts ; do
	info "Unmounting $dir"
	umount $dir || true
    done
}
trap exit_handler EXIT INT

# Mount the CD ROM if needed
case $mirror in
    file:///cdrom)
        mount /cdrom
	umounts="/cdrom"
	;;
    file:///media/cdrom)
        mount /media/cdrom
	umounts="/media/cdrom"
	;;
    *)
        ;;
esac

ltsp-build-client --eatmydata --accept-unsigned-packages --base $base --arch $ARCH --dist $dist

$ apt-file search ltsp-build-client
epoptes: /usr/share/ltsp/plugins/ltsp-build-client/common/040-epoptes-certificate

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debian-edu-config depends on:
ii  bind9-host                       1:9.16.6-2
pn  cfengine3                        <none>
ii  debconf [debconf-2.0]            1.5.74
ii  debconf-utils                    1.5.74
pn  debian-edu-artwork               <none>
ii  e2fsprogs                        1.45.6-1
pn  education-tasks                  <none>
pn  fping                            <none>
ii  gnutls-bin                       3.6.15-1
ii  isenkram-cli                     0.44
ii  ldap-utils                       2.4.51+dfsg-1
ii  ldapscripts                      2.0.8-1
ii  libconfig-inifiles-perl          3.000003-1
ii  libfilesys-df-perl               0.92-6+b5
pn  libhtml-fromtext-perl            <none>
ii  libio-socket-ssl-perl            2.068-1
pn  libnet-ldap-perl                 <none>
pn  libnet-netmask-perl              <none>
pn  libnss3-tools                    <none>
pn  libpacparser1                    <none>
pn  libpam-python                    <none>
pn  libproxy1-plugin-kconfig         <none>
ii  libproxy1-plugin-networkmanager  0.4.15-13
ii  libproxy1-plugin-webkit          0.4.15-13
ii  libterm-readkey-perl             2.38-1+b1
pn  libtext-unaccent-perl            <none>
pn  lockfile-progs                   <none>
ii  lsb-base                         11.1.0
ii  lsb-release                      11.1.0
ii  mime-support                     3.64
ii  net-tools                        1.60+git20180626.aebd88e-1
pn  ng-utils                         <none>
ii  openssl                          1.1.1g-1
ii  patch                            2.7.6-6
ii  python3                          3.8.2-3
ii  python3-notify2                  0.3-4
ii  ssl-cert                         1.0.39
pn  swaks                            <none>
pn  tftp-hpa | tftp                  <none>
pn  uuid                             <none>
ii  wget                             1.20.3-1+b3

Versions of packages debian-edu-config recommends:
ii  binutils       2.35-2
ii  libnotify-bin  0.7.9-1
ii  lsof           4.93.2+dfsg-1
pn  memtest86+     <none>
pn  resolvconf     <none>
ii  syslinux       3:6.04~git20190206.bf6db5b4+dfsg1-3

debian-edu-config suggests no packages.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.11.38
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 969935@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 Dec 2020 01:31:54 +0100
Source: debian-edu-config
Architecture: source
Version: 2.11.38
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 969935
Changes:
 debian-edu-config (2.11.38) unstable; urgency=medium
 .
   [ Wolfgang Schweer ]
   * Improve LTSP related setup and management framework. (Closes: #969935).
     - Remove LTSP5 related tool sbin/debian-edu-ltsp.
     - Move share/debian-edu-config/tools/edu-ltsp-install to
       sbin/debian-edu-ltsp-install as tool for the re-written LTSP and improve
       it further:
       + Add example how to support 32-bit thin client.
       + Extend Firefox ESR configuration for the thin client 'desktop' variant.
       + Care for iPXE menu completion after adding additional chroots.
     - Add man page share/man/man8/debian-edu-ltsp-install.8.
     - Adjust share/debian-edu-config/d-i/finish-install, Makefile,
       share/debian-edu-config/tools/run-at-firstboot and
       debian/debian-edu-config.lintian-overrides to reflect the changes.
   * Adjust etc/dovecot/local.conf to match a recent Dovecot change. Now the IMAP
     server name needs to be set (instead of the hostname of the system the
     service is running on) for the Kerberos ticket to be accepted.
   * Add various man pages:
     - share/man/man8/debian-edu-fsautoresize.8
     - share/man/man1/debian-edu-ldapserver.1
     - share/man/man8/debian-edu-pxeinstall.8
     - share/man/man8/debian-edu-update-netblock.8
     - share/man/man1/ldap-debian-edu-install.1
     - share/man/man1/ldap2netgroup.1
     - share/man/man1/sitesummary2ldapdhcp.1
     - share/man/man8/update-hostname-from-ip.8
   * Makefile: Fix typo from years ago to get LDAP related man pages installed.
Checksums-Sha1:
 e6def7b96e91dfe5b359f9d3e1bef4537aa51064 1926 debian-edu-config_2.11.38.dsc
 473811cf007ebdc3a7df2a2dbe505a556ccd6e16 337168 debian-edu-config_2.11.38.tar.xz
 5b76a2c62e5d1698cec841018c6cfa47a8b4af15 5756 debian-edu-config_2.11.38_source.buildinfo
Checksums-Sha256:
 37c74d1a45d9b4adc6448f20be4c2397666d3466b4f2836a693c750713781af0 1926 debian-edu-config_2.11.38.dsc
 1cf8a1475f733f16015dd8759438cd61a46f137031c4c7e211f802d0a61265e8 337168 debian-edu-config_2.11.38.tar.xz
 beafaf339621f05e2bff42c077b7f74bf859592ba75f41e0965ebeaa732946f3 5756 debian-edu-config_2.11.38_source.buildinfo
Files:
 a6a65057d8a3f4a90f2fcdda48f91dd3 1926 misc optional debian-edu-config_2.11.38.dsc
 0fe984d39220a737ede2303ed8bb4593 337168 misc optional debian-edu-config_2.11.38.tar.xz
 7ff8876a560757d16a35a36ad8bd5788 5756 misc optional debian-edu-config_2.11.38_source.buildinfo

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

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAl/K2r4ACgkQCRq4Vgaa
qhzzqA//Zpj9G5x7YFs7YF7YQNP/ML2C+CtFimwV/WOmfgilXfAV8nrEQEGzb/E8
jvhY9vfknM3HCjGJTfj0d9/Ee/UmohKF/6I+ZSeHnBPfqetIEUWVRP/BSrZ6k67G
Z/oDVBTizhF/wCaUhjKHQ087LHgPLQuDliCDAAEOpNN9grwMSG99kMxgoPS2oqpl
f/q+dYZdhwzfxLKeWC+V4+oQrmJPSh16HTdGwm6jB1oLhqxwvsr5bT44zo2x8pSC
uB0qtaP6QGWHgh2LOk4HPyPJHpz3VD9kTyqwOG3Yi2r9qg1OeFL/390ZFPj+OoRr
1jkTm43NS+AtcytSh4fFL9P/IGMdwjPB3nNEPQszs/KqzwDhwCtB7lRxo9XoW4v7
SexyTfXUICYTACILPmrXzH1MTLsTeyEOWVDyiQsJteIYyfbY6olYhLrtR7pLl++M
H0jkLYs/fOnsBG0rauhul3u7gR+wzdJ7D9EwRz3aJuvcUyV3/B7nsEVfIbECuUmY
tR9vCDZNgw4+kY+mdAIz0sBy5wnTXNefgadR5umXv7KD3A9gpArf+Eir97AEy/Yd
PM3kgsaHfZRRYpaIf+EMgBK6Slesn72+weEJo0ASRDjluO8vlFXNOpl7XB1Fza3E
+9DiqPylydMpHBizBuc/0OSLN/palbDUFvBNa21P9AI+0JDh1CM=
=HCPW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: