Project

Profile

Help

Issue #5993

SELinux policy does not compile on CentOS7

Added by evgeni about 1 month ago. Updated about 1 month ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello-P2, SELinux
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

While trying to compile https://github.com/pulp/pulp-selinux on EL7, it fails:

[root@03c623636932 pulp-selinux]# make
make -f /usr/share/selinux/devel/Makefile pulp.pp
make[1]: Entering directory `/tmp/pulp-selinux'
Compiling targeted pulp module
pulp.te:63: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead.
/usr/bin/checkmodule:  loading policy configuration from tmp/pulp.tmp
pulp.te:52:ERROR 'syntax error' at token 'corenet_tcp_bind_pulp_port' on line 4311:

corenet_tcp_bind_pulp_port(pulpcore_t)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make[1]: *** [tmp/pulp.mod] Error 1
make[1]: Leaving directory `/tmp/pulp-selinux'
make: *** [pulp.pp] Error 2
# rpm -qa |grep selinux
libselinux-devel-2.5-14.1.el7.x86_64
libselinux-python-2.5-14.1.el7.x86_64
libselinux-utils-2.5-14.1.el7.x86_64
selinux-policy-3.13.1-252.el7_7.6.noarch
libselinux-2.5-14.1.el7.x86_64
selinux-policy-devel-3.13.1-252.el7_7.6.noarch

Works fine on Fedora 31, though.

History

#1 Updated by bmbouter about 1 month ago

  • Tags Katello-P2 added

Adding P2 label to identify the work priority w.r.t. Katello.

#2 Updated by fabricio.aguiar about 1 month ago

  • Triaged changed from No to Yes

#3 Updated by bmbouter about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter

I reproduced this issue.

#4 Updated by bmbouter about 1 month ago

  • Status changed from ASSIGNED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF