aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorcgzones <cgzones@googlemail.com>2016-12-16 21:07:56 +0100
committerJason Zaman <jason@perfinion.com>2017-01-02 00:26:28 +0800
commit04f212b3c1def7579e2f96aea8dc547c0c52e7dc (patch)
tree0f5f1d50dc08aef44b58dfaabf5e1caa73e28e13 /config
parentModule version bumps for patches from Guido Trentalancia. (diff)
downloadhardened-refpolicy-04f212b3c1def7579e2f96aea8dc547c0c52e7dc.tar.gz
hardened-refpolicy-04f212b3c1def7579e2f96aea8dc547c0c52e7dc.tar.bz2
hardened-refpolicy-04f212b3c1def7579e2f96aea8dc547c0c52e7dc.zip
transition file contexts to /run
Remove file context aliases and update file context paths to use the /run filesystem path. Add backward compatibility file context alias for /var/run using applications like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783321 Lock files are still seated at /var/lock
Diffstat (limited to 'config')
-rw-r--r--config/file_contexts.subs_dist7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist
index c7050e82..ade78dc6 100644
--- a/config/file_contexts.subs_dist
+++ b/config/file_contexts.subs_dist
@@ -12,7 +12,6 @@
/lib/systemd /usr/lib/systemd
/lib32 /lib
/lib64 /lib
-/run /var/run
/run/lock /var/lock
/usr/lib32 /usr/lib
/usr/lib64 /usr/lib
@@ -20,4 +19,8 @@
/usr/local/lib64 /usr/lib
/usr/local/lib /usr/lib
/var/lib/krb5kdc /var/kerberos/krb5kdc
-/var/run/lock /var/lock
+
+# backward compatibility
+# not for refpolicy intern, but for /var/run using applications,
+# like systemd tmpfiles or systemd socket configurations
+/var/run /run