Re: rpm and SElinux attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Jeff Johnson <n3npq.jbj@xxxxxxxxx> 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@xxxxxxxxxx
> 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/

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux