selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* runcon in enforcing mode
@ 2019-01-30 21:21 Ian Pilcher
  2019-01-30 21:38 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Pilcher @ 2019-01-30 21:21 UTC (permalink / raw)
  To: selinux

Does $SUBJECT ever work?

I am trying to figure out why a script is failing when run by
certmonger (system_u:system_r:certmonger_t:s0), but attempting to run
any executable is giving me a denial.

$ sudo runcon system_u:system_r:certmonger_t:s0 /bin/true
runcon: ‘/bin/true’: Permission denied

type=AVC msg=audit(1548883146.502:300): avc:  denied  { entrypoint } for 
  pid=12697 comm="runcon" path="/usr/bin/true" dev="dm-3" ino=2190 
scontext=system_u:system_r:certmonger_t:s0 
tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0

Am I doing something wrong?

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

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

end of thread, other threads:[~2019-01-30 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 21:21 runcon in enforcing mode Ian Pilcher
2019-01-30 21:38 ` Stephen Smalley

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).