[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm and SElinux attributes
- From: Valery Reznic <valery_reznic yahoo com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: rpm and SElinux attributes
- Date: Wed, 21 Mar 2007 06:37:49 -0700 (PDT)
--- Jeff Johnson <n3npq jbj gmail com> wrote:
>
> On Mar 21, 2007, at 8:58 AM, Valery Reznic wrote:
>
> > Hello.
> >
> > In the rpm spec file one can use %attr directive
> to
> > specify permission/owner/group.
> > Is it something similar to specify files SELinux
> > attributes, or the only way to do it is set them
> on
> > the files in the BUILDDIR ?
> >
>
> File contexts are attached to files through SELinux
> regex's, so there
> is no %attr syntax.
>
> Truly, there is no way to determine what attribute a
> file should have
> without carefully
> examining the entire SELinux policy.
>
> The idea of attaching a file context statically to a
> path in a *.rpm
> is naive.
You mind there is no such information in the *.rpm ?
And rpm just use current SELinux policy to set files'
contents during install ?
If yes, what are FILECONTEXTS/FSCONTEXTS/RECONTEXTS
tags about ?
Valery
>
> 73 de Jeff
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]