2019-01-19 18:15:10

by Russell Coker

[permalink] [raw]
Subject: [PATCH] map systemd private dirs


Index: refpolicy-2.20180701/config/file_contexts.subs_dist
===================================================================
--- refpolicy-2.20180701.orig/config/file_contexts.subs_dist
+++ refpolicy-2.20180701/config/file_contexts.subs_dist
@@ -23,6 +23,9 @@
/usr/local/lib32 /usr/lib
/usr/local/lib64 /usr/lib
/usr/local/lib /usr/lib
+/var/lib/private /var/lib
+/var/cache/private /var/cache
+/var/log/private /var/log

# backward compatibility
# not for refpolicy intern, but for /var/run using applications,


2019-01-19 18:19:46

by Dac Override

[permalink] [raw]
Subject: Re: [PATCH] map systemd private dirs

Russell Coker <[email protected]> writes:

If anyone is interested in knowing more about how this works (and how
dssp2-standard implemented support for it) here's a 60 minute demo:

https://www.youtube.com/watch?v=iiiuyUKJG_w

> Index: refpolicy-2.20180701/config/file_contexts.subs_dist
> ===================================================================
> --- refpolicy-2.20180701.orig/config/file_contexts.subs_dist
> +++ refpolicy-2.20180701/config/file_contexts.subs_dist
> @@ -23,6 +23,9 @@
> /usr/local/lib32 /usr/lib
> /usr/local/lib64 /usr/lib
> /usr/local/lib /usr/lib
> +/var/lib/private /var/lib
> +/var/cache/private /var/cache
> +/var/log/private /var/log
>
> # backward compatibility
> # not for refpolicy intern, but for /var/run using applications,

--
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02
https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02
Dominick Grift

2019-01-21 08:40:16

by Chris PeBenito

[permalink] [raw]
Subject: Re: [PATCH] map systemd private dirs

On 1/19/19 1:15 PM, Russell Coker wrote:
>
> Index: refpolicy-2.20180701/config/file_contexts.subs_dist
> ===================================================================
> --- refpolicy-2.20180701.orig/config/file_contexts.subs_dist
> +++ refpolicy-2.20180701/config/file_contexts.subs_dist
> @@ -23,6 +23,9 @@
> /usr/local/lib32 /usr/lib
> /usr/local/lib64 /usr/lib
> /usr/local/lib /usr/lib
> +/var/lib/private /var/lib
> +/var/cache/private /var/cache
> +/var/log/private /var/log
>
> # backward compatibility
> # not for refpolicy intern, but for /var/run using applications,

Merged.

--
Chris PeBenito