Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu Hi, Bug #993935 (Netboot image exposes private data and crypto keys) has already been fixed in unstable, but should also be fixed in stable. [ Reason ] This bug has been introduced while integrating the re-written LTSP into Debian Edu 11 (bullseye). The bug shows up in case someone installs a system with both Main-Server and LTSP-Server profiles on the same machine (aka combined server). The manual recommends to use separate machines but the turnkey solution 'combined server' seems to be used quite often. [ Impact ] Skilled users on the internal Debian Edu network would be able to get access to sensible data. [ Tests ] Manual tests have been done for both existent and new installations. [ Risks ] No actual risks, the fix is trivial and only Debian Edu installations are involved. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in stable [x] the issue is verified as fixed in unstable [ Changes ] Add sensible data concerning directories and files to the main server related exclude list for the SquashFS image. Mask slapd and make sure autofs is configured correctly to ensure home directory access after this change. Also mask xrdp-sesman to avoid a useless (false) failure message during client boot. [ Other info ] Holger Levsen will upload the package in case of approval. Thanks for caring, Wolfgang diff -Nru debian-edu-config-2.11.56/debian/changelog debian-edu-config-2.11.56+deb11u1/debian/changelog --- debian-edu-config-2.11.56/debian/changelog 2021-06-05 00:06:13.000000000 +0200 +++ debian-edu-config-2.11.56+deb11u1/debian/changelog 2021-09-09 12:52:03.000000000 +0200 @@ -1,3 +1,13 @@ +debian-edu-config (2.11.56+deb11u1) UNRELEASED; urgency=medium + + * Adjust sbin/debian-edu-ltsp-install. (Closes: #993935) + Thanks to Dominik George for spotting and reporting the issue. + - Extend main server related exclude list. + - Add slapd and xrdp-sesman to the list of masked services. + - Ensure home directory access after above changes. + + -- Wolfgang Schweer <wschweer@arcor.de> Thu, 09 Sep 2021 12:52:03 +0200 + debian-edu-config (2.11.56) unstable; urgency=medium [ Wolfgang Schweer ] diff -Nru debian-edu-config-2.11.56/sbin/debian-edu-ltsp-install debian-edu-config-2.11.56+deb11u1/sbin/debian-edu-ltsp-install --- debian-edu-config-2.11.56/sbin/debian-edu-ltsp-install 2021-06-05 00:06:13.000000000 +0200 +++ debian-edu-config-2.11.56+deb11u1/sbin/debian-edu-ltsp-install 2021-09-09 12:52:03.000000000 +0200 @@ -17,7 +17,7 @@ # Author/Copyright: Wolfgang Schweer <wschweer@arcor.de> # Licence: GPL2+ # first edited: 2019-11-21 -# last edited: 2021-04-26 +# last edited: 2021-09-14 set -e @@ -197,6 +197,27 @@ # FIXME: On the main server even more additional excludes might be useful. if echo "$PROFILE" | grep -Eq 'Main-Server' ; then cat <<EOF >> /etc/ltsp/image-local.excludes +etc/apache2 +etc/bind +etc/dbconfig-common +etc/dovecot +etc/etckeeper +etc/gosa +etc/freeradius +etc/icinga +etc/icinga2 +etc/icingaweb2 +etc/krb5kdc +etc/krb5.keytab.imap +etc/krb5.keytab.ldap +etc/krb5.keytab.smtp +etc/mysql +etc/nagios +etc/nagios-plugins +etc/nagios3 +etc/samba +etc/slbackup +etc/slbackup-php usr/lib/apache2 usr/lib/exim4 usr/lib/icinga @@ -219,9 +240,12 @@ var/lib/dpkg/* var/lib/exim4/* var/lib/icinga/* +var/lib/ldap/* var/lib/munin/* var/lib/munin-node/* var/lib/nfs/* +var/lib/samba/* +var/log/apache2/* var/log/cfengine/* var/log/installer/* var/log/munin/* @@ -470,10 +494,11 @@ # is disabled, but it is needed for diskless workstations. # OTOH some services need to be disabled, i.e. 'masked'. cat <<EOF >> /etc/ltsp/ltsp.conf +PRE_INIT_AUTOFS="echo 'LDAPURI=ldap://ldap' >> /etc/default/autofs" PRE_INIT_MAIN_SERVER="systemctl enable autofs" POST_INIT_USE_FQDN="sed -i '/10.0.2.2/ s/server/tjener.intern tjener/' /etc/hosts" MASK_SYSTEM_SERVICES="apache2 named cups dovecot etckeeper exim4 squid tftpd-hpa \ -icinga2 nmbd smbd systemd-journald xrdp krb5-kdc mariadb cfengine3 isc-dhcp-server" +icinga2 nmbd slapd smbd systemd-journald xrdp xrdp-sesman krb5-kdc mariadb cfengine3 isc-dhcp-server" EOF else cat <<EOF >> /etc/ltsp/ltsp.conf @@ -500,6 +525,7 @@ fi # Clean up ltsp.conf from specific items. sed -i '/PRE_INIT_MAIN/d' /etc/ltsp/ltsp.conf + sed -i '/PRE_INIT_AUTOFS/d' /etc/ltsp/ltsp.conf sed -i '/MASK_SYSTEM/d' /etc/ltsp/ltsp.conf fi
Attachment:
signature.asc
Description: PGP signature