SELinuxProject / refpolicy

SELinux Reference Policy v2
https://github.com/SELinuxProject/refpolicy/wiki
GNU General Public License v2.0
298 stars 129 forks source link

Configuration warnings #760

Closed cgzones closed 4 months ago

cgzones commented 6 months ago

During make conf two warnings are shown:

support/segenxml.py: warning: cannot open file doc/tmp/iftemplates/userdom_security_admin_template.iftemplate for read, bailing out
support/segenxml.py: warning: cannot open file doc/tmp/iftemplates/userdom_security_admin_template.iftemplate for read, bailing out

They are caused since userdom_security_admin_template() is an interface (not a template)(changed in https://github.com/SELinuxProject/refpolicy/commit/6c5928d65a340fe423b9b163dfe1b312a1c5fd5b), but segenxml.py matches for calls including the string template.

The resolutions might be to rename the interface into userdom_security_admin(), or revert to declaring it as template (and add a SELint override).

github-actions[bot] commented 4 months ago

This issue has not had any recent activity. It will be closed in 7 days if it makes no further progress.

github-actions[bot] commented 4 months ago

Closing stale PR.