[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: cf3/cf.cfengine3: In fact, cfengine3 in a D-I chroot fails to mask systemd...

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Sun Nov 8 22:48:13 GMT 2026



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


Commits:
11f2a272 by Mike Gabriel at 2026-11-08T23:46:02+01:00
cf3/cf.cfengine3: In fact, cfengine3 in a D-I chroot fails to mask systemd services, so providing an alternative via shell during D-I / FAI installation. (Closes: #1153457).

Also, mask the services, not just disable.

- - - - -
6d3b444b by Mike Gabriel at 2026-11-08T23:48:02+01:00
d/changelog: update from Git history

- - - - -


2 changed files:

- cf3/cf.cfengine3
- debian/changelog


Changes:

=====================================
cf3/cf.cfengine3
=====================================
@@ -1,10 +1,10 @@
 bundle agent cfengine3
 {
-# Disable cfengine3 services which are enabled by default when systemd is used (#1043353)
+# Mask cfengine3 services which are enabled by default when systemd is used (#1043353)
 
 services:
 
-  debian.systemd.installation::
+  debian.systemd.!(di|fai).installation::
 
     "cf-apache.service"
       service_policy => "stop";
@@ -22,21 +22,28 @@ services:
       service_policy => "stop";
     "cfengine3.service"
       service_policy => "stop";
-
     "cf-apache.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-execd.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-hub.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-monitord.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-postgres.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-reactor.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cf-serverd.service"
-      service_policy => "disable";
+      service_policy => "mask";
     "cfengine3.service"
-      service_policy => "disable";
+      service_policy => "mask";
+
+commands:
+
+  debian.systemd.(di|fai).installation::
+
+    "/bin/systemctl mask cfengine3.service cf-apache.service cf-execd.service cf-hub.service cf-monitord.service cf-postgres.services cf-reactor.service cf-serverd.service"
+      contain => in_shell;
+
 }


=====================================
debian/changelog
=====================================
@@ -37,9 +37,12 @@ debian-edu-config (2.13.7) UNRELEASED; urgency=medium
       itself. (Closes: #1153454).
   * cf3/cf.cfengine3:
     - Ensure better that all cfengine3 related sub-services get stopped and
-      disabled during finish-install. (Closes: #1153457).
+      disabled during finish-install.
+    - In fact, cfengine3 in a D-I chroot fails to mask systemd services, so
+      providing an alternative via shell during D-I / FAI installation.
+      (Closes: #1153457). Also, mask the services, not just disable.
 
- -- Mike Gabriel <sunweaver at debian.org>  Sun, 08 Nov 2026 21:54:03 +0100
+ -- Mike Gabriel <sunweaver at debian.org>  Sun, 08 Nov 2026 23:46:21 +0100
 
 debian-edu-config (2.13.6) unstable; urgency=medium
 



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/a3cd67ce10205fe09ac94353914d7821cc95ac71...6d3b444b677d8ceb58df65770a935dc58f9a69a8

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/a3cd67ce10205fe09ac94353914d7821cc95ac71...6d3b444b677d8ceb58df65770a935dc58f9a69a8
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20261108/61ea5c77/attachment-0001.htm>


More information about the debian-edu-commits mailing list