From: rgoldwyn@suse.de (Goldwyn Rodrigues) Date: Tue, 23 Jan 2018 13:56:29 -0600 Subject: [refpolicy] Compilation error at nis_use_ypbind Message-ID: <6d22bdee-1073-22f8-3685-b749e45552d3@suse.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Hi, When I compile the refpolicy from the git sources, I get the following error. Is there any package/source missing which is required which would have the definitions? cat tmp/pre_te_files.conf tmp/all_attrs_types.conf tmp/global_bools.conf tmp/only_te_rules.conf tmp/all_post.conf > base.conf Compiling refpolicy base module /usr/bin/checkmodule -U allow base.conf -o tmp/base.mod /usr/bin/checkmodule: loading policy configuration from base.conf policy/modules/kernel/kernel.te:387:ERROR 'syntax error' at token 'nis_use_ypbind' on line 18613: #line 387 nis_use_ypbind(kernel_t) /usr/bin/checkmodule: error(s) encountered while parsing configuration make: *** [Rules.modular:103: tmp/base.mod] Error 1 Commenting out the part does not help because it would fail with a similar error on another keyword such as plymouth_read_lib_files or rpc_manage_nfs_ro_content. Environment: opensuse tumbleweed running 4.14.12-1 selinux compiled from git, latest git master branch To compile, I: 1. Changed build.conf to TYPE=standard, DISTRO=suse, UNK_PERMS=allow 2. make bare 3. make conf 4. make I am trying to update the refpolicy package for opensuse. -- Goldwyn