Bug 512721 - jabberd-selinux Fedora 11 Build Failure
Summary: jabberd-selinux Fedora 11 Build Failure
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 (Red Hat)
QA Contact: Devan Goodwin
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-07-20 14:43 UTC by Devan Goodwin
Modified: 2009-09-10 12:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:06:35 UTC
Embargoed:


Attachments (Terms of Use)

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

Syntax error encountered while building jabberd-selinux for Fedora 11.

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

jabberd-selinux-1.4.6-1.fc11.src.rpm

How reproducible:

Very

Steps to Reproduce:
1. Submit build to Spacewalk Koji.
  
Actual results:

Fedora 11 build will fail.


Additional info:

+ make NAME=mls -f /usr/share/selinux/devel/Makefile
cat: /selinux/mls: No such file or directory
jabber.if:13: Error: duplicate definition of jabber_tcp_connect(). Original definition on 13.
jabber.if:58: Error: duplicate definition of jabber_admin(). Original definition on 34.
Compiling mls jabber module
jabber.te:106: Warning: corenet_non_ipsec_sendrecv(jabberd_t) has been deprecated, use corenet_all_recvfrom_unlabeled() instead.
/usr/bin/checkmodule:  loading policy configuration from tmp/jabber.tmp
jabber.te":86:ERROR 'syntax error' at token 'userdom_dontaudit_search_sysadm_home_dirs' on line 6918:
userdom_dontaudit_search_sysadm_home_dirs(jabberd_t)
 	
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/jabber.mod] Error 1
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.TgZ4PK (%build)
    Bad exit status from /var/tmp/rpm-tmp.TgZ4PK (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/jabberd-selinux.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/jabberd-selinux.spec']
LEAVE do --> EXCEPTION RAISED

Comment 1 Jan Pazdziora (Red Hat) 2009-07-27 12:32:30 UTC
On Fedora 11, the jabber SELinux module comes from the core SELinux policy:

# semodule -l | grep jabber
jabber	1.7.1
# rpm -qf /usr/share/selinux/targeted/jabber.pp.bz2
selinux-policy-targeted-3.6.12-62.fc11.noarch

So we will not want to build jabberd-selinux, and we shall just use the jabber package and corresponding SELinux policy module from the distribution.

Comment 2 Devan Goodwin 2009-07-27 13:21:33 UTC
Disabled in spacewalk.git: 657617c5fc9c3589e821fa75d16bcd922b8b2edc

Will get rel-eng to remove the package from build tags.

Comment 3 Devan Goodwin 2009-07-29 16:35:40 UTC
Verified, no more jabberd-selinux installed on F11.

Comment 4 Miroslav Suchý 2009-09-10 12:06:35 UTC
Spacewalk 0.6 released


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