All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Stefan Schulze Frielinghaus <stefan@seekline.net>,
	selinux@tycho.nsa.gov,
	"Christopher J. PeBenito" <cpebenito@tresys.com>
Subject: Re: Propper labeling of files under /var/www
Date: Wed, 19 Dec 2007 10:05:55 -0500	[thread overview]
Message-ID: <47693353.7070809@redhat.com> (raw)
In-Reply-To: <1198073575.19081.1.camel@moss-spartans.epoch.ncsc.mil>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen Smalley wrote:
> On Wed, 2007-12-19 at 10:13 +0000, Stefan Schulze Frielinghaus wrote:
>> On Tue, 2007-12-18 at 13:55 -0500, Stephen Smalley wrote:
>> [...]
>>> Try restorecon -FRv /var/www
>> Yeah that solved the problem. The -F option is a little bit tricky ;-)
>> Never expected something like that.
> 
> /etc/selinux/targeted/contexts/customizable_types was created to allow
> programs like restorecon to omit files with certain types from being
> relabeled by default, so that admin customizations wouldn't be lost.
> The httpd-related types are a common case of this, where the admin wants
> to manually manage the type under the web root and not have them
> clobbered.  As to whether it still makes sense when we have semanage
> fcontext, I'm not sure.
> 
Yes I would like to remove it, it is more trouble then it is worth at
this point.   semanage is the way things should be customized.  We
should remove it from Fedora 9 and going forward.

Added munin cgi defitions to rawhide, but update does not fix them since
they were already labeled httpd_sys_content_t.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHaTNSrlYvE4MpobMRAqADAKDXIKh9MxP0V+D/W23Y/mGXgUtTsACgpZXt
rrcNGgAnKeHFWxPk4n/U7do=
=dt6Y
-----END PGP SIGNATURE-----

--
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.

  reply	other threads:[~2007-12-19 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 18:45 Propper labeling of files under /var/www Stefan Schulze Frielinghaus
2007-12-18 18:55 ` Stephen Smalley
2007-12-19 10:13   ` Stefan Schulze Frielinghaus
2007-12-19 14:12     ` Stephen Smalley
2007-12-19 15:05       ` Daniel J Walsh [this message]
2007-12-19 15:29         ` Stephen Smalley
2007-12-20  8:43       ` Stefan Schulze Frielinghaus

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=47693353.7070809@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=cpebenito@tresys.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=stefan@seekline.net \
    /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.