[systemd-devel] [PATCH] build-sys: remove commented-out m4 from user at .service

Mantas Mikul─Śnas grawity at gmail.com
Sun Dec 14 09:12:34 PST 2014


Otherwise this actually remains in the generated unit in /usr/lib.

If you want to keep it commented out, a m4-compatible way would be:

    m4_ifdef(`HAVE_SMACK',
    dnl Capabilities=cap_mac_admin=i
    dnl SecureBits=keep-caps
    )
---
 units/user at .service.m4.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/units/user at .service.m4.in b/units/user at .service.m4.in
index 0daa43a..1e21d51 100644
--- a/units/user at .service.m4.in
+++ b/units/user at .service.m4.in
@@ -17,7 +17,3 @@ ExecStart=- at rootlibexecdir@/systemd --user
 Slice=user-%i.slice
 KillMode=mixed
 Delegate=yes
-#m4_ifdef(`HAVE_SMACK',
-#Capabilities=cap_mac_admin=i
-#SecureBits=keep-caps
-#)
-- 
2.2.0



More information about the systemd-devel mailing list