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

Re: If you are maintinaing of developing a Fedora Package.



On Tue, 2007-10-16 at 10:59 +0200, Lubomir Kundrak wrote:
> On Mon, 2007-10-15 at 23:31 +0200, Karel Zak wrote:
> >  Couldn't be better to maintain default selinux labels like others
> >  file attributes?
> > 
> >      %attr(4755,root,root) %selinux(foo_t)  /bin/foo
> 
> I was thinking many times why don't we already do it this way. Much more
> elegant and maintainable than restorecon in scriptlets.
And how does that take care of updating file_contexts so the labels are
not lost on the next filesystem relabel? This only means that the
initial labelling information is duplicated on two places and that
doesn't seem to me like a good idea.

-- 
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb


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