Actions
Issue #5993
closedSELinux policy does not compile on CentOS7
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello, SELinux
Sprint:
Quarter:
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.
Updated by bmbouter over 4 years ago
- Tags Katello-P2 added
Adding P2 label to identify the work priority w.r.t. Katello.
Updated by bmbouter about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
I reproduced this issue.
Updated by bmbouter about 4 years ago
- Status changed from ASSIGNED to CLOSED - CURRENTRELEASE
PR available at: https://github.com/pulp/pulp-selinux/pull/6#issuecomment-576819280
Updated by ggainey almost 4 years ago
- Tags Katello added
- Tags deleted (
Katello-P2)
Actions