http process running as initrc_t

Michael Bunk bunk at iat.uni-leipzig.de
Thu Sep 17 08:29:01 UTC 2015


Yes, but I think run_init is supposed to be run with init scripts, not
the respective daemon:

run_init /etc/init.d/httpd

On the other hand, httpd's init script doesn't have initrc_exec_t, but
its own "initrc_exec_t subtype":

# ls -Z /etc/init.d/httpd
-rwxr-xr-x. root root system_u:object_r:httpd_initrc_exec_t:s0
/etc/init.d/httpd

So best would be to just do "service httpd start", which will call the
corresponding init script, where the proper transitions will happen.

Best regards,
 Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4172 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/selinux/attachments/20150917/bf410da1/attachment.p7s>


More information about the selinux mailing list