Discussion:
restorecon: Warning no default label for foo
Christian Göttsche
2017-09-11 06:03:34 UTC
Permalink
Hi list,

in the 2.7 release, restorecon changed its behavior regarding warnings
of no default labels.

With a refpolicy file context definition `/run/.* <<none>>` previously
the behavior was:

$ touch /run/test.pid
$ restoreon -v -R -n /run
Warning no default label for /run/test.pid

Now the warning has disappeared. Is there a switch to toggle it back,
cause for policy development it's quite helpful.

Regards,
Christian Göttsche

Loading...