From: pebenito@ieee.org (Chris PeBenito) Date: Tue, 23 Jan 2018 19:49:24 -0500 Subject: [refpolicy] Compilation error at nis_use_ypbind In-Reply-To: <6d22bdee-1073-22f8-3685-b749e45552d3@suse.de> References: <6d22bdee-1073-22f8-3685-b749e45552d3@suse.de> Message-ID: To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 01/23/2018 02:56 PM, Goldwyn Rodrigues via refpolicy wrote: > 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? Did you do a recursive checkout to get the refpolicy-contrib submodule? > 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. > -- Chris PeBenito