integ/extended/systemd/centos/meta_patches/0013-fix-systemd-tmpfiles-ACL-warnings.patch
Andy Ning ae3017bd63 fix systemd tmpfiles ACL warnings in daemon log
After systemd was upversioned as part of PIKE rebase, its tmpfiles
configuration file changed.  The new tmpfiles configuration
(/usr/lib/tmpfiles/systemd.conf) introduced a few new ACLs that
tries to give group "adm" access to log directories, but group "adm" doesn't
exist in TC system.

This patch fixed the warnings the same as the original by replacing group "adm"
with "wrs_protected" in systemd tmpfiles configuration.

Change-Id: I39972ed41b299be5a3b6482ec2fba176c0742ded
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2018-06-27 14:12:53 -04:00

25 lines
789 B
Diff

From 9c5837d4d7a60653e418157e3a9552ddcc36d29e Mon Sep 17 00:00:00 2001
From: Andy Ning <andy.ning@windriver.com>
Date: Wed, 28 Mar 2018 14:20:39 -0400
Subject: fix systemd tmpfiles ACL warnings
---
SPECS/systemd.spec | 1 +
1 file changed, 1 insertion(+)
diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec
index 55e44a5..f1dea1e 100644
--- a/SPECS/systemd.spec
+++ b/SPECS/systemd.spec
@@ -547,6 +547,7 @@ Patch0505: 0505-remove-id-sas-path-symlink.patch
Patch0506: 0506-fix-ACL-warnings-from-systemd-tmpfiles-set.patch
Patch0507: 0507-move-vartmp-to-tmpfs.patch
Patch0508: 0508-set-a-1GB-size-restriction-on-tpmfs.patch
+Patch0509: 0509-fix-systemd-tmpfiles-ACL-warnings.patch
%global num_patches %{lua: c=0; for i,p in ipairs(patches) do c=c+1; end; print(c);}
--
1.8.3.1