[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Disable cf-execd on installation
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Fri Aug 18 15:41:49 BST 2023
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
75b4e3f7 by Guido Berhoerster at 2023-08-18T08:16:28+02:00
Disable cf-execd on installation
Currently cf-execd is enabled by default if systemd is used (see #1043353) but
the agent should only be run on installation. (Closes #1041323)
- - - - -
3 changed files:
- Makefile
- + cf3/cf.cf-execd
- cf3/promises.cf
Changes:
=====================================
Makefile
=====================================
@@ -52,6 +52,7 @@ wwwdir = /etc/debian-edu/www
CF3FILES = \
cf.adduser \
cf.apache2 \
+ cf.cf-execd \
cf.cups \
cf.desktop-networked \
cf.dhcpserver \
=====================================
cf3/cf.cf-execd
=====================================
@@ -0,0 +1,15 @@
+bundle agent cf_execd
+{
+# Disable cf-execd which is enabled by default when systemd is used (#1043353)
+
+services:
+
+ debian.systemd.(server|ltspserver).installation::
+
+ "cf-execd.service"
+ service_policy => "stop";
+
+ "cf-execd.service"
+ service_policy => "disable";
+
+}
=====================================
cf3/promises.cf
=====================================
@@ -28,6 +28,7 @@ body common control
bundlesequence => {
edu,
+ cf_execd,
permission_homes,
editline_homes,
editline_bind,
@@ -70,9 +71,11 @@ body common control
"lib/common.cf",
"lib/commands.cf",
"lib/files.cf",
+ "lib/services.cf",
"debian-edu/cf.adduser",
"debian-edu/cf.apache2",
"debian-edu/cf.bind",
+ "debian-edu/cf.cf-execd",
"debian-edu/cf.chromium",
"debian-edu/cf.cups",
"debian-edu/cf.samba",
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/75b4e3f770b476d222ce244bff1fb210716bcaa5
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/75b4e3f770b476d222ce244bff1fb210716bcaa5
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/20230818/d5d1c2bf/attachment-0001.htm>
More information about the debian-edu-commits
mailing list