[systemd-devel] SELinux type transition rule not working

Ian Pilcher arequipeno at gmail.com
Wed Mar 1 23:51:01 UTC 2017


On 03/01/2017 05:28 PM, Ian Pilcher wrote:
> Per Lennart's response, systemd *should* be honoring the file context
> rules when creating the directory.  It's almost as if the directory is
> being created with the proper context, but something is changing it
> after the fact.  I have absolutely no idea what that might be, though.

Hmm.  Just for grins, I created a tmpfiles config file:

d /run/squoxy 0755 nobody nobody - -

This gives me the correct context on the directory:

drwxr-xr-x. nobody nobody system_u:object_r:squoxy_var_run_t:s0 /run/squoxy

-- 
========================================================================
Ian Pilcher                                         arequipeno at gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================


More information about the systemd-devel mailing list