[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] debian/debian-edu-config.fetch-ldap-cert: Retrieve TJENER's PKI server...
Mike Gabriel
gitlab at salsa.debian.org
Fri Jul 5 21:17:13 BST 2019
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
f8f436e8 by Mike Gabriel at 2019-07-05T20:16:50Z
debian/debian-edu-config.fetch-ldap-cert: Retrieve TJENER's PKI server certificate only once per host. With the intention of fixedly attaching a Debian Edu workstation to a specific Debian Edu network. This re-introduces the behaviour of fetch-ldap-cert (and thus, of Debian Edu workstations) in stretch and earlier. (Closes: #931413).
- - - - -
2 changed files:
- debian/changelog
- debian/debian-edu-config.fetch-ldap-cert
Changes:
=====================================
debian/changelog
=====================================
@@ -25,6 +25,11 @@ debian-edu-config (2.10.66) UNRELEASED; urgency=medium
* debian/debian-edu-config.fetch-ldap-cert: Make the script (and with it
Debian Edu buster workstations) work in a Debian Edu environment where
the main server (TJENER) is still on Debian Edu 8 or 9.
+ * debian/debian-edu-config.fetch-ldap-cert: Retrieve TJENER's PKI server
+ certificate only once per host. With the intention of fixedly attaching a
+ Debian Edu workstation to a specific Debian Edu network. This re-introduces
+ the behaviour of fetch-ldap-cert (and thus, of Debian Edu workstations) in
+ stretch and earlier. (Closes: #931413).
-- Petter Reinholdtsen <pere at debian.org> Sat, 20 Apr 2019 07:53:26 +0200
=====================================
debian/debian-edu-config.fetch-ldap-cert
=====================================
@@ -79,7 +79,13 @@ do_start() {
case "$1" in
start)
- do_start
+ # do absolutely nothing, if this host is already "attached" to
+ # a Debian Edu network
+ if [ -e /etc/ssl/certs/debian-edu-server.crt ]; then
+ :
+ else
+ do_start
+ fi
;;
stop)
;;
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/f8f436e8fd41994149bf6426f56c75ed590e460f
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/f8f436e8fd41994149bf6426f56c75ed590e460f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20190705/a3baedfa/attachment-0001.html>
More information about the debian-edu-commits
mailing list