integ/extended/systemd/centos/meta_patches/0012-Add-patch-for-restricting-tmpfs-size.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 508f3f3f6b114fe081cc2c0594912fd6451d1045 Mon Sep 17 00:00:00 2001
From: Kam Nasim <kam.nasim@windriver.com>
Date: Thu, 12 Oct 2017 18:22:33 -0400
Subject: meta patch for restricting tmpfs size
---
SPECS/systemd.spec | 1 +
1 file changed, 1 insertion(+)
diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec
index 9e5ac92..66df00b 100644
--- a/SPECS/systemd.spec
+++ b/SPECS/systemd.spec
@@ -462,6 +462,7 @@ Patch0504: 0504-Configure-journald-rate-limit.patch
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
%global num_patches %{lua: c=0; for i,p in ipairs(patches) do c=c+1; end; print(c);}
--
1.8.3.1