Bug 751830 - pull selinux policy into subpackage
Summary: pull selinux policy into subpackage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Fabian Deutsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-07 17:35 UTC by Joey Boggs
Modified: 2015-12-02 13:35 UTC (History)
5 users (show)

Fixed In Version: ovirt-node-3.0.3
Clone Of:
Environment:
Last Closed: 2013-11-28 11:57:59 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 952352 0 unspecified CLOSED During livecd run: ERROR: policydb magic number 0x000008 does not match expected magic number 0xf97cff8c or 0xf97cff8d 2021-02-22 00:41:40 UTC

Internal Links: 952352

Description Joey Boggs 2011-11-07 17:35:12 UTC
selinux policies should be packaged separately and handled on installation rather than in the kickstart

Comment 1 Fabian Deutsch 2013-04-17 19:16:17 UTC
dwalsh suggested to build the selinux module during build and just install it in %post and pull it completely out of the -post ks script.

That's a good reason why we should create the policy subpackage.

Comment 2 Fabian Deutsch 2013-04-18 11:30:47 UTC
Mike,

is there a reason why the ovirt policy is compiled and installed during post part of the KS file?
I wonder if there are any constraints I have to take care of when pulling the policy into a separate package. Moving the module into a subpackage means that we will be building the module at buildtime (which is a good thing IMHO) and that we install it like a regular rpm.

Comment 3 Mike Burns 2013-04-18 13:16:28 UTC
No reason I can think of.

Comment 4 Fabian Deutsch 2013-04-18 14:44:40 UTC
The following patch pulls out the selinux policy module compilation out of the post KS part into the node build process (actually into the package build process). The policy module is the installed during %install and activated during %post.

http://gerrit.ovirt.org/14052


Note You need to log in before you can comment on or make changes to this bug.