[refpolicy] [PATCH]: clarify the file_contexts.subs_dist configuration file usage

Guido Trentalancia guido at trentalancia.com
Fri Aug 10 08:13:54 CDT 2012

Add a comment at the top of the configuration file file_contexts.subs_dist
to clarify that it performs aliasing and not substitutions in the
strict sense of the word.

A name change might be considered too, if it proves to lead to further

There might be pieces of documentation that could benefit from similar

Also note that a specific manual page is missing.

Signed-off-by: Guido Trentalancia <guido at trentalancia.com>
  config/file_contexts.subs_dist |   10 ++++++++++
  1 file changed, 10 insertions(+)

diff -pruN refpolicy-08092012/config/file_contexts.subs_dist 
--- refpolicy-08092012/config/file_contexts.subs_dist	2012-06-21 
20:10:29.011803405 +0200
2012-08-10 17:01:36.045451839 +0200
@@ -1,3 +1,13 @@
+# This file can is used to configure base path aliases as in:
+# /aliased_path /original_path_as_configured_in_file_contexts
+# where original_path_as_configured_in_file_contexts is a base
+# path being used in the main file_contexts configuration file.
+# It does not perform substitutions as done by sed(1), for
+# example, but aliasing.
  /lib32 /lib
  /lib64 /lib
  /run /var/run

More information about the refpolicy mailing list