All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Error when using refpolicy with apache httpd service
@ 2011-10-12 12:08 Thuận Đinh
  2011-10-12 12:20 ` Dominick Grift
  0 siblings, 1 reply; 7+ messages in thread
From: Thuận Đinh @ 2011-10-12 12:08 UTC (permalink / raw)
  To: refpolicy

Hi,

I'm new to SELinux general and try to research refpolicy. When I apply
refpolicy on Fedora 15 with Apache httpd service, and config the
build.config to type mcs. When I install and load to system, I touch
.autorelabel and reboot the system.
After that, I started the httpd service and
checked the command: ps-axZ | grep httpd and saw that this service is run by
type kernel_t:s0
I think it must something wrong. It must be run by httpd_t but it not. I
checked the audit log file and saw that have a log file

denied { ioctl } for pid=28591 comm=httpd path="/run/httpd/httpd.pid"
ino=927572 dev=tmpfs scontext=system_u:system_r:kernel_t:s0
tcontext=system_u:object_r:httpd_var_run_t:s0:c0.c15 tclass=file

Do you have any ideal? Please help me to fix this.

Regard,
Quang Thuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20111012/bcc08cfc/attachment.html 

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

end of thread, other threads:[~2011-10-24 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 12:08 [refpolicy] Error when using refpolicy with apache httpd service Thuận Đinh
2011-10-12 12:20 ` Dominick Grift
2011-10-12 14:58   ` Guido Trentalancia
     [not found]   ` <CAP+-i3CDciFhdjN_uC_GeKavheskc_hCJnDnVxOV2NB4LCTk8g@mail.gmail.com>
     [not found]     ` <1318425414.1949.6.camel@x220.mydomain.internal>
     [not found]       ` <CAP+-i3Bz7NXpQc7uEGiP2n=U-g2R4itj=H38i9cfD6HrCU9Nyg@mail.gmail.com>
2011-10-12 15:15         ` Dominick Grift
2011-10-12 15:39           ` Guido Trentalancia
2011-10-24  4:25             ` Justin Mattock
2011-10-24 14:53               ` Justin Mattock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.