Bug 512732 - osad SELinux Build Error on Fedora 11
Summary: osad SELinux Build Error on Fedora 11
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-07-20 15:43 UTC by Devan Goodwin
Modified: 2009-09-10 12:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:06:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Devan Goodwin 2009-07-20 15:43:14 UTC
Description of problem:

osad fails to build for Fedora 11 due to selinux issue.

Version-Release number of selected component (if applicable):

osad-5.9.16-1

How reproducible:

Very.

Steps to Reproduce:
1. Submit osad build to spacewalk Koji.
  
Actual results:

make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/builddir/build/BUILD/osad-5.9.16/logrotate'
+ /usr/bin/perl -i -pe 'BEGIN { $VER = join ".", grep /^\d+$/, split /\./, "5.9.16.1.fc11"; } s!\@\@VERSION\@\@!$VER!g;' osa-dispatcher-selinux/osa-dispatcher.te
+ for selinuxvariant in mls strict targeted
+ make -C osa-dispatcher-selinux NAME=mls -f /usr/share/selinux/devel/Makefile
cat: /selinux/mls: No such file or directory
make: Entering directory `/builddir/build/BUILD/osad-5.9.16/osa-dispatcher-selinux'
Compiling mls osa-dispatcher module
osa-dispatcher.te:34: Warning: corecmd_exec_sbin() has been deprecated, please use corecmd_exec_bin() instead.
osa-dispatcher.te":56:ERROR 'syntax error' at token 'corenet_udp_bind_lo_node' on line 5114:
corenet_udp_bind_lo_node(osa_dispatcher_t)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
/usr/bin/checkmodule:  loading policy configuration from tmp/osa-dispatcher.tmp
make: *** [tmp/osa-dispatcher.mod] Error 1
make: Leaving directory `/builddir/build/BUILD/osad-5.9.16/osa-dispatcher-selinux'
error: Bad exit status from /var/tmp/rpm-tmp.hIaWxF (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.hIaWxF (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/osad.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do
    raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/osad.spec']
LEAVE do --> EXCEPTION RAISED

Comment 1 Jan Pazdziora 2009-07-27 13:29:09 UTC
Fixed in master, f2ebf211b1c34f2456bbd38c6715c29b15e97ebc.

Built as osad-5.9.19-1.*.

Comment 2 Miroslav Suchý 2009-09-10 12:06:36 UTC
Spacewalk 0.6 released


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