On Thu, Apr 30, 2015 at 12:21:38PM PDT, Tracy Reed spake thusly:
I want to manually run an app within a certain context. When I try
I should also point out that p16001_u:myapp_r:myapp_t:s0:c1 is all defined in a
custom policy which I have written.
# runcon p16001_u:myapp_r:myapp_t:s0:c1 /myapp/startup.sh
runcon: invalid context: p16001_u:myapp_r:myapp_t:s0:c1: Invalid argument
Unfortunately, SELinux doesn't tell me what part of any of this it is unhappy
Here is the entire policy:
It's a bit messy from all of the hacking I've done on it, especially fumbling
around with transitions and everything. When what I expect should work doesn't
work I started to try all kinds of things which shouldn't matter.