Re: SELinux, F8, and httpd
- From: Nathan Grennan <fedora-list@xxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 20:37:29 -0800
Daniel J Walsh wrote:
chcon is just like chown or chmod, and actually change a file context toWould other contexts survive though? httpd_sys_content_t is really here nor there in that situation, because it is the default policy.
httpd_sys_content_t will survive a relabel, which you really should not
need to do. If you cp the contents of the directory they should adopt
the context of the destination directory. Also you could use restorecond
to watch for the creation of files in the directory.
So I could custom configure restorecond, but why does it even have to be a daemon. Why couldn't the kernel just to it automatically during the move?
*_disable_trans was removed because it caused as many problems as itThis makes sense.
solved. When you disable trans on one domain, you can cause other
domains to to blow up because file context gets screwed up.
If you really want to disable trans you could change the context ofThat it wouldn't survive a relabel makes it pretty worthless.
httpd to bin_t. chcon -t bin_t /usr/sbin/httpd, but this will not
survive a relabel. We are hoping to add permissive domains pretty soon,
where you define httpd as a permissive domain, and it would only report
access problems and not enforce them.
I was thinking about permissive domains when I was writing the original e-mail. Good to hear it is being worked on.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: SELinux, F8, and httpd
- From: Daniel J Walsh
- Re: SELinux, F8, and httpd
- References:
- SELinux, F8, and httpd
- From: Nathan Grennan
- Re: SELinux, F8, and httpd
- From: Daniel J Walsh
- SELinux, F8, and httpd
- Prev by Date: Re: Network Mangler assigns other IP to eth0??
- Next by Date: Re: Problem with hard drive lock out
- Previous by thread: Re: SELinux, F8, and httpd
- Next by thread: Re: SELinux, F8, and httpd
- Index(es):