Your message dated Sat, 07 Mar 2020 09:05:10 +0000
with message-id <e1javoq-000ewe...@fasolo.debian.org>
and subject line Bug#952665: fixed in debian-edu-config 2.11.16
has caused the Debian Bug report #952665,
regarding debian-edu-config: Don't do unnecessary wget to the internet
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.)
--
952665: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952665
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.11.15
The dc=skole object in LDAP can reference a Firefox/Chromium default
homepage in its labeledURI field. If this URI points to some school
homepage on the internet, we observe bad system logon performance in
computer labs.
While looking into this, I discovered that in such cases the script
share/debian-edu-config/tools/show-welcome-webpage does unnecessary
wgets to the internet.
In this code section...
```
GETDEFAULTHOMEPAGE=$(/usr/share/debian-edu-config/tools/get-default-homepage
|| true)
if [ "$GETDEFAULTHOMEPAGE" ] &&
echo "$PROFILE" | egrep -q
'Main-Server|Workstation|Roaming-Workstation|LTSP-Server|Minimal' ; then
for lang in $(echo $LANGCODE | tr : " "); do
if wget -q -O /dev/null ${GETDEFAULTHOMEPAGE}index.html.$lang ; then
welcomeurl="${GETDEFAULTHOMEPAGE}index.html.$lang"
break
else
welcomeurl=$GETDEFAULTHOMEPAGE || true
fi
done
else
welcomeurl=http://www.skolelinux.org/
fi
```
... the wget to ${GETDEFAULTHOMEPAGE}index.html.$lang only makes sense
if the queried host is www or www.intern. The LANGCODE based query is
a very specific semantic provided on Debian Edu's main server for
delivering localized welcome pages, but it is not at all a common
thing for other websites.
Furthermore, I wonder if the show-welcome-page script can't be even
more optimized so that this wget on every login could be avoided
entirely.
Suggestion: instead of storing the
<proto>://<host>/index.html.LANGCODE URL in
$HOME/.debian-edu/welcome-page-shown", we could also store the value
retrieved via get-default-homepage (without appended LANGCODE) and be
happy with that.
Greets,
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgp8maq1lp9iN.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.11.16
Done: Holger Levsen <hol...@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 952...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Levsen <hol...@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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 07 Mar 2020 09:50:16 +0100
Source: debian-edu-config
Architecture: source
Version: 2.11.16
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <hol...@debian.org>
Closes: 952665
Changes:
debian-edu-config (2.11.16) unstable; urgency=medium
.
[ Wolfgang Schweer ]
* Rework welcome page and localization:
- ldap-bootstrap/root.ldif:
+ Use https://www/ instead of http://www/.
+ Cleanup file from 10 year old commented entries, also adjust outdated
comment concerning the gosa ldap admin.
- tools/show-welcome-webpage:
+ Only query the internal webserver for localized files and store the
base
URL instead of the whole welcome URL. (Closes: #952665)
+ Use the localized blends web page for the 'Standalone' profile.
+ Whitespace fixes.
- www/:
+ Set correct language identifier in localized files (es-es,pt-br,zh-tw).
+ Rename existing localization variants {es-es,nb-no,pt-br,zh-tw} to give
the web server's Multiviews feature a better chance to choose
the right file when the web browser is asking for content negotiation.
+ Link index.html.nb-no to index.html.no to let the correct page be found
just in case [no] is added as favourite language to a web browser.
+ Use the localized blends web page.
+ Remove link to no longer existing linuxsignpost.org website.
+ Adjust related Makefile.
+ Trivial unfuzzy for all PO files.
+ Updated after running 'make' in the www directory.
* Rework LTSP setup to cope with re-written ltsp changes. These are
requirements for easier working on LTSP integration:
- Add new tool share/debian-edu-config/tools/edu-ltsp-install to be able
to
provide LTSP diskless workstation and thin client support. The tool
contains basic usage instructions, more needs to go into the manual once
everything has been integrated and is actually working like expected.
- Use kerberized NFS for mounting home directories:
+ Replace sec=sys with sec=krb5i in ldap-bootstrap/autofs.ldif file.
+ Use dedicated edu.exports file shipped in the etc/exports.d/
directory,
avoiding to modify the /etc/exports file as a benefit.
- Drop now obsolete LTSP5 related files:
+ etc/ltsp/ltsp-build-client.conf
+ etc/ltspfs/mounter.d/edu-notify
+ share/debian-edu-config/ltspfs-mounter-kde
+ share/debian-edu-config/udisks2.patch
+ share/initramfs-tools/scripts/nfs-bottom/before-ltsp
+ share/ltsp/get-ldap-ltsp-config
+ share/ltsp/init-ltsp.d/08-edu-hostname
+ share/ltsp/init-ltsp.d/09-edu-ldap-config
+ share/ltsp/init-ltsp.d/60-edu-client
+ share/ltsp/plugins/ltsp-build-client/Debian-custom/001-ltsp-settings
+ share/ltsp/plugins/ltsp-build-client/Debian-custom/020-rootpath
+ share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs
+ share/ltsp/plugins/ltsp-build-client/Debian-custom/098-etckeeper
+ testsuite/ltsp
- share/debian-edu-config/d-i/finish-install:
+ Add code to set up LTSP client support during installation of systems
with profile 'LTSP-Server'.
+ Whitespace fixes.
* Drop no longer needed cf3/cf.tftpd file.
* Adjust cfengine related files:
- cf3/cf.{chromium,firefox-esr} (http -> https related)
- cf3/cf.homes (Kerberized NFS related)
- cf3/cf.{finalize,ntp,pxeinstall,squid] and cf3/edu.cf (LTSP related)
- cf3/cf.workarounds (no workarounds needed atm)
* ldap-bootstrap/{gosa,samba}.ldif: Drop generation of outdated LanManager
password and cleanup the files from 10 year old commented entries.
* Drop outdated (and obsolete) lib/mime/packages/debian-edu-mailcap file.
* Adjust debian/{dirs,debian-edu-config.links,debian-edu-config.postinst},
cf3/promises.cf and Makefile to reflect the changes.
* debian/debian-edu-config.preinst:
- Drop Stretch related conditional removal, add LTSP related new one.
* Adjust debian/debian-edu-config.lintian-overrides. Thanks lintian.
Checksums-Sha1:
ce6100db1d8b640420f1eacd8e4e6e32f2d636c3 1923 debian-edu-config_2.11.16.dsc
3430b97c8ff63499b2bbf68f7ce6d7c793c202db 340392
debian-edu-config_2.11.16.tar.xz
68f0a88aae533eb29e0cbd8e0c400d20eb6728ca 5446
debian-edu-config_2.11.16_source.buildinfo
Checksums-Sha256:
3d4870cd8dd609a510674cff2ff1944f040650f9004430f95f6b228b14286df4 1923
debian-edu-config_2.11.16.dsc
dd11dbece9da2c8da42cfdf4fa5527a86dbdc5fe72c7933417947b5b4932a976 340392
debian-edu-config_2.11.16.tar.xz
526ab20d7dd1be5283534030ff94670898b8876251aca59014ed13952c31064c 5446
debian-edu-config_2.11.16_source.buildinfo
Files:
d31ce24268ff12a9e2da06b3bddaf9f0 1923 misc optional
debian-edu-config_2.11.16.dsc
71878ff8405881f7e6cc9d0619b46af1 340392 misc optional
debian-edu-config_2.11.16.tar.xz
c8a0aee1724f1c0fd413f0063788c30a 5446 misc optional
debian-edu-config_2.11.16_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAl5jYSQACgkQCRq4Vgaa
qhzLOQ/9FsF5cj/GDQOPFlnO17jf/yvjr998I1gElkJSrSz5H8/ZZP0efKHQKD29
Uy/eTLbtxCD/CLUl+aU9ad9msg05HMwVhD+q2RD3Umna3qqUEQetWpXfiZ1leshP
BQo1stgEcHZMnd9ryKGeRj4+0K9fcw7w1RxHOn/YdStnhLxehJEofMWJxY0K6oYM
bNpSHj9AVAwBLNAQli6NJtYXljUkbjehfC6O+pi5LCumOfRYGVKg25U8PGEO4Nj/
Dlh6z+O5exp+kCQNKADGPR3IQxwxNDpd0CKxaWbn6J75wRq9MbDnqWeNOo8kBWfM
MayzYJ3PqMI6SLyofaqwTqhCoOldHYV7A3Ejsw1Pj6bdQnL2b1b+VXdxwPpWeI5v
0sFbcY6eSWaiNAvzI3VLUNX8Kcwn8bDwqrs7rk3VtUSOnPafIXw+Nx66KZ68RhAX
rs/kliReeeWbyjJFheJcjZ8xwSlbOk/7wwqoZ680DWAdst9Q74ylPlFN6aYYCVmi
GhWeWYHRy9/BnPbpqAt7qt232KDzwb3XsbD2o1xuJaxHHx5ClMKFABCjUcJgy8NV
hpsa+CKhOFyFvPBDA1Viu3ta4zjQ73Kwo7wVmnvr6/zF1mCCE5neAaB/b7lysiEp
DF6w9D3ld2HP+YHWAjSHL7OizEcxWMG6k8M7TN6Fxj6aVv0dTv8=
=qnMd
-----END PGP SIGNATURE-----
--- End Message ---