Idiomatic solution for tiny systemd "services"?

Robin Lee Powell rlpowell at digitalkingdom.org
Thu Feb 12 01:51:07 UTC 2015


Hey all.  I have a tiny web service that I'm running with a ruby
script in ~/.rvm/ , and I'd like to run it out of systemd (just to
keep it running always), but init_t can't read or execute
user_home_t.

Nor can init_t run runcon.

Basically, I can't figure out any way to transition from systemd's
init_t to my user's type (staff_t).

So what's the idiomatic way to handle that sort of thing?

-- 
http://intelligence.org/ :  Our last, best hope for a fantastic future.
.i ko na cpedu lo nu stidi vau loi jbopre .i dafsku lu na go'i li'u .e
lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e
lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni li'u


More information about the selinux mailing list