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

Bug#994627: marked as done (bullseye-pu: package debian-edu-config/2.11.56+deb11u1)



Your message dated Sat, 09 Oct 2021 12:09:40 +0100
with message-id <81741a2f4e370c14a3bec08b7fe6e2b10c32267b.camel@adam-barratt.org.uk>
and subject line Closing p-u bugs for updates in 11.1
has caused the Debian Bug report #994627,
regarding bullseye-pu: package debian-edu-config/2.11.56+deb11u1
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.)


-- 
994627: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994627
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.1

Hi,

The updates relating to these bugs were included in this morning's 11.1
point release for bullseye.

Regards,

Adam

--- End Message ---

Reply to: