[debian-edu-commits] debian-edu/ 01/01: Drop sbin/debian-edu-nscd-netgroup-cache as it's obsolete since Stretch. See #791562.
Holger Levsen
holger at layer-acht.org
Mon Aug 14 23:12:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository debian-edu-config.
commit f7d1ede41fa5e3f7cbf979b0066c40d9bf248515
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Aug 14 19:12:00 2017 -0400
Drop sbin/debian-edu-nscd-netgroup-cache as it's obsolete since Stretch. See #791562.
---
Makefile | 1 -
debian/changelog | 1 +
sbin/debian-edu-nscd-netgroup-cache | 32 --------------------------------
3 files changed, 1 insertion(+), 33 deletions(-)
diff --git a/Makefile b/Makefile
index b9963a7..c0e5a7e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,6 @@ PROGS = \
SPROGS = cfengine-debian-edu \
debian-edu-fsautoresize \
debian-edu-ltsp \
- debian-edu-nscd-netgroup-cache \
debian-edu-pxeinstall \
debian-edu-restart-services \
debian-edu-test-install \
diff --git a/debian/changelog b/debian/changelog
index 562752f..9b5bda0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ debian-edu-config (1.931) UNRELEASED; urgency=medium
(commented out) reference in cf/cf.squid as squid is back since Stretch.
* testsuite/cups: drop now useless reference to Jessie in comment.
* Drop share/debian-edu-config/tools/ldap-migrate-squeeze-wheezy.
+ * Drop sbin/debian-edu-nscd-netgroup-cache as it's obsolete since Stretch. See #791562.
-- Holger Levsen <holger at debian.org> Sat, 05 Aug 2017 17:37:04 -0400
diff --git a/sbin/debian-edu-nscd-netgroup-cache b/sbin/debian-edu-nscd-netgroup-cache
deleted file mode 100755
index f0987af..0000000
--- a/sbin/debian-edu-nscd-netgroup-cache
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash -e
-# debian-edu-nscd-netgroup-cache
-#
-# 2016-23-05, workaround for bug #791562
-
-if [ -z $1 ] ; then
- echo "usage: $0 (disable|enable)"
- exit 0
-fi
-
-# Get profile.
-. /etc/debian-edu/config
-
-# Disable/enable nscd netgroup caching.
-if echo "$PROFILE" | grep -q 'Main-Server' ; then
- systemctl stop nscd.service
- sleep 1
- case "$1" in
- disable)
- if [ -e /var/cache/nscd/netgroup ] ; then
- rm /var/cache/nscd/netgroup
- fi
- sed -i '/netgroup/ s=yes=no=' /etc/nscd.conf
- ;;
- enable)
- sed -i '/netgroup/ s=no=yes=' /etc/nscd.conf
- ;;
- esac
- systemctl start nscd.service
-fi
-
-# Further information: https://wiki.debian.org/DebianEdu/Status/Jessie
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list