From Fedora Project Wiki
(Created page with "Couple items: * Would it be possible to generate the selinux module man page without installing the policy? It would be nice to be able to build that along with the package....")
 
 
Line 1: Line 1:
 
Couple items:
 
Couple items:
  
 +
* This is redundant:
 +
Requires: selinux-policy-targeted
 +
Requires(post): selinux-policy-targeted
 +
Simply keep the second line.
 
* Would it be possible to generate the selinux module man page without installing the policy?  It would be nice to be able to build that along with the package.  This would also allow use of the install rule in the example Makefile.
 
* Would it be possible to generate the selinux module man page without installing the policy?  It would be nice to be able to build that along with the package.  This would also allow use of the install rule in the example Makefile.
 
* The %post script can generate:
 
* The %post script can generate:

Latest revision as of 03:21, 4 February 2020

Couple items:

  • This is redundant:
Requires: selinux-policy-targeted
Requires(post): selinux-policy-targeted

Simply keep the second line.

  • Would it be possible to generate the selinux module man page without installing the policy? It would be nice to be able to build that along with the package. This would also allow use of the install rule in the example Makefile.
  • The %post script can generate:
   libsemanage.semanage_direct_install_info: Overriding fail2ban module at lower priority 100 with module at priority 200.

if overriding system policy. Scriptlets shouldn't generate output so probably want a >/dev/null 2>&1 added.