All of lore.kernel.org
 help / color / mirror / Atom feed
* stripped mount point
@ 2002-08-20 13:51 Timothy Wood
  2002-08-20 14:08 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy Wood @ 2002-08-20 13:51 UTC (permalink / raw)
  To: SELinux

I just relabeled the files on my system and now my apache processes can
not read from the doc root nor can they append to the logs.  Now I
noticed when I relabeled the fs that each mount point was done
independently whereas before it would just label everything as being
under / (eg it labeled /, then it labeled /var, then /tmp, etc., etc.).
The files are all labeled correctly but the avc messages have the mount
points stripped from the path section (eg apache isn't denied access to
/var/www/html it is denied access to /www/html).  Now I can see how this
is causing a problem the question is why is it doing this?

Timothy,

avc:  denied  { read } for  pid=1598 exe=/usr/sbin/httpd
path=/www/html/index.php dev=03:08 ino=60255
scontext=system_u:system_r:initrc_t
tcontext=system_u:object_r:httpd_sys_content_t tclass=file

avc:  denied  { append } for  pid=1598 exe=/usr/sbin/httpd
path=/log/httpd/access_log dev=03:08 ino=50210
scontext=system_u:system_r:initrc_t
tcontext=system_u:object_r:httpd_log_files_t tclass=file



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2002-08-20 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-20 13:51 stripped mount point Timothy Wood
2002-08-20 14:08 ` Stephen Smalley

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.