Bug 181439

Summary: Can't build WITH_SELINUX 0 (ie. with selinux disabled)
Product: [Fedora] Fedora Reporter: Kenneth Porter <shiva>
Component: vixie-cronAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-30 06:40:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Changes to spec to support WITH_SELINUX 0
none
Modified patch13 for use when WITH_SELINUX is 0
none
Modifed patch46 for use when WITH_SELINUX is 0 none

Description Kenneth Porter 2006-02-14 04:04:34 UTC
Applies to vixie-cron-4.1-51.FC5.1.src.rpm.

Use command:

rpmbuild --define 'WITH_SELINUX 0' -ba vixie-cron.spec

Several patches assume selinux patches have already been applied, including
patch13, patch46, and patch48. 13 and 46 can be dealt with by creating copies of
those patches and removing selinux from the "-" lines. 48 looks more
complicated, as it has some interaction with prior selinux-related patches that
are not applied in the WITH_SELINUX 0 case.

(I'm attempting to install the latest Development Mailman SRPM on FC2 and it has
a dependency on a recent vixie-cron, which in turn is dependent on
selinux-devel. I don't want to upgrade selinux but am willing to update vixie-cron.)

Comment 1 Kenneth Porter 2006-02-14 04:04:35 UTC
Created attachment 124595 [details]
Changes to spec to support WITH_SELINUX 0

Comment 2 Kenneth Porter 2006-02-14 04:07:01 UTC
Created attachment 124596 [details]
Modified patch13 for use when WITH_SELINUX is 0

This does NOT obsolete patch 13.

Comment 3 Kenneth Porter 2006-02-14 04:08:41 UTC
Created attachment 124597 [details]
Modifed patch46 for use when WITH_SELINUX is 0

This does NOT obsolete patch 46.

Comment 4 Jason Vas Dias 2006-02-14 21:15:37 UTC
Thanks - this bug is now fixed with vixie-cron-4.1-52.FC5 in rawhide-20060215.

Comment 5 Kenneth Porter 2006-02-20 08:29:34 UTC
Same command, fails to note my lack of the audit package, and fails when
building misc.c (which includes libaudit.h). We need a BuildRequires on
audit-libs-devel.

The package builds successfully with

rpmbuild -ba --define 'WITH_SELINUX 0' --define 'WITH_AUDIT 0' vixie-cron.spec


Comment 6 Marcela Mašláňová 2006-08-30 06:40:37 UTC
Thanks for report. It's ok now.