Re: runcon: invalid context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 running it

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

Here is the entire policy:

http://pastebin.com/N7n9PgAZ

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.

-- 
Tracy Reed

Attachment: pgpYG1QLQFag6.pgp
Description: PGP signature

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux