[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] share/d-e-c/tools/copy-host-keytab: Correct order of parameters, must be:...

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Wed Dec 22 21:31:29 GMT 2021



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
4e687918 by Mike Gabriel at 2021-12-22T22:30:08+01:00
share/d-e-c/tools/copy-host-keytab: Correct order of parameters, must be: service <service> <action> (not other way round).

- - - - -


2 changed files:

- debian/changelog
- share/debian-edu-config/tools/copy-host-keytab


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,8 @@ debian-edu-config (2.12.15) UNRELEASED; urgency=medium
   * share/d-e-c/tools/copy-host-keytab: Restart nfs-common/rpc-gssd after
     having copied over /etc/krb5.keytab. This avoids rebooting for applying
     the copied over changes.
+  * share/d-e-c/tools/copy-host-keytab: Correct order of parameters, must be:
+    service <service> <action> (not other way round).
 
  -- Mike Gabriel <sunweaver at debian.org>  Mon, 20 Dec 2021 22:35:39 +0100
 


=====================================
share/debian-edu-config/tools/copy-host-keytab
=====================================
@@ -8,8 +8,8 @@ if [ -f /srv/ltsp/dlw/etc/ltsp/ltsp.conf ] ; then
 	cp /etc/krb5.keytab /srv/ltsp/dlw/etc/krb5.keytab
 fi
 
-if service status nfs-common 1>/dev/null 2>/dev/null; then
+if service nfs-common status 1>/dev/null 2>/dev/null; then
 	service nfs-common restart
-elif service status rpc-gssd 1>/dev/null 2>/dev/null; then
+elif service rpc-gssd status 1>/dev/null 2>/dev/null; then
 	service rpc-gssd restart
 fi



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/4e6879182f0fbaf32ea89c12d48af09a46db1a22

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/4e6879182f0fbaf32ea89c12d48af09a46db1a22
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/20211222/008fdd8c/attachment-0001.htm>


More information about the debian-edu-commits mailing list