Re: How to make SELinux file context permanent?

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

 



On Mon, 2006-04-03 at 19:22 -0400, Ignacio Vazquez-Abrams wrote:

> In FC5 it's to create a policy module and load it during %post.
Ok let's say I have to do the following:
semanage fcontext -a -t textrel_shlib_t
'/usr/lib/xorg/modules/extensions/nvidia/.*\.so(\.[^/]*)*'
which is necessary for prop. nvidia glx from livna to work.
1. How do I create a module from this?
2. What do I package with the RPM, and where should I put it (location
in the filesystem)?
3. What do I do in %post?
   I presume the module is loaded in %post, and unloaded in %postun.
4. Does the module survive a policy update?
Maybe one could put a tutorial together for packagers.
-- 
Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux