containers/container-selinux

make error

ningmingxiao opened this issue · 1 comments

use make on centos8 will show

[root@host33 container-selinux]# make
make -f /usr/share/selinux/devel/Makefile container.pp
make[1]: Entering directory '/home/nmx/container-selinux'
Compiling targeted container module
container.te:474:ERROR 'syntax error' at token 'systemd_chat_resolved' on line 19280:
systemd_chat_resolved(container_runtime_domain)

/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make[1]: *** [/usr/share/selinux/devel/include/Makefile:157: tmp/container.mod] Error 1
make[1]: Leaving directory '/home/nmx/container-selinux'
make: *** [Makefile:12: container.pp] Error 2

This means you do not have an up2date fedora container policy. So you can comment out the systemd line if you like. But this is not an upstream issue.