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
During
make conf
two warnings are shown: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).