Hi,

If I have in /etc/passwd

splunk:x:101:101:Splunk User:/opt/splunkdashboards/var/lib/splunk:/sbin/nologin

and in splunkdashboards.fc:

/opt/splunkdashboards/var/lib(/.*)? gen_context(system_u:object_r:splunkdashboards_var_lib_t,s0)

then following label:

guest_u:object_r:usr_home_dir_t.

If in /etc/passwd

splunk:x:101:101:Splunk User:/nonexistant:/sbin/nologin

then label as expected.

I see Apache and Postfix have homedirs in various directories and are labelled correctly.

Please why?

Thank you.