How to get a .te file from an existing .pp file?
Gabriele Pohl
gp at dipohl.com
Mon Apr 9 21:21:24 UTC 2012
Hi Jason and all who answered,
many thanks for your immediate help!
The infos are all very interesting and useful :-)
On 04/09/2012 07:52 PM, Jason L Tibbitts III wrote:
>>>>>> "GP" == Gabriele Pohl writes:
>
> GP> BackupPC-3.2.1-7.fc15.src.rpm I would like to use the wisdom from
> GP> the existing policy module:
> GP> /usr/share/selinux/packages/BackupPC/BackupPC.pp
>
> In this case it is almost certainly easier to just look at the package
> source. The .te file is in the spec file, on line 110:
>
> http://pkgs.fedoraproject.org/gitweb/?p=BackupPC.git;a=blob;f=BackupPC.spec;h=4e60b3d378105b3e55bfeeedf90d2e003cf03225;hb=HEAD
That is a nice solution :-)
I extracted the .te File from the source package
and built the policy module from it.
Thanks again and kind regards
Gabriele
More information about the selinux
mailing list