From: Timothy Wood <timothy@hallcomp.com>
To: SELinux <SELinux@tycho.nsa.gov>
Subject: stripped mount point
Date: 20 Aug 2002 09:51:58 -0400 [thread overview]
Message-ID: <1029851518.9543.30.camel@phobos> (raw)
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.
next reply other threads:[~2002-08-20 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-20 13:51 Timothy Wood [this message]
2002-08-20 14:08 ` stripped mount point Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1029851518.9543.30.camel@phobos \
--to=timothy@hallcomp.com \
--cc=SELinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.