selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* File context rule not working
@ 2020-07-26 15:03 Ian Pilcher
  2020-07-26 16:01 ` Nicolas Iooss
  2020-07-26 16:03 ` Dominick Grift
  0 siblings, 2 replies; 5+ messages in thread
From: Ian Pilcher @ 2020-07-26 15:03 UTC (permalink / raw)
  To: SElinux list

I'm tearing my hair out trying to figure out why this rule isn't
matching.

   /usr(/local)?/bin/raidcheck    system_u:object_r:raidcheck_exec_t:s0

The rule shows up in the output of 'semanage fcontext -l', so it's
loaded, but either /usr/bin/raidcheck and /usr/local/bin/raidcheck  are
still being set to bin_t.

Is there any way to get restorecon to show the steps that it takes to
determine the context for a file?

-- 
========================================================================
                  In Soviet Russia, Google searches you!
========================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-26 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 15:03 File context rule not working Ian Pilcher
2020-07-26 16:01 ` Nicolas Iooss
2020-07-26 18:01   ` Ian Pilcher
2020-07-26 18:52     ` Nicolas Iooss
2020-07-26 16:03 ` Dominick Grift

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).