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
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.
Disabled in spacewalk.git: 657617c5fc9c3589e821fa75d16bcd922b8b2edc Will get rel-eng to remove the package from build tags.
Verified, no more jabberd-selinux installed on F11.
Spacewalk 0.6 released