Compilation error at nis_use_ypbind
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.
Signature · 1 line
Goldwyn
Quoted 6 lines · Goldwyn Rodrigues via refpolicy
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?
Quoted 27 lines
cat
tmp/pre_te_files.conftmp/all_attrs_types.conftmp/global_bools.conftmp/only_te_rules.conftmp/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 1Commenting out the part does not help because it would fail with a similar error on another keyword such as
plymouth_read_lib_filesorrpc_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. makeI am trying to update the refpolicy package for opensuse.
Signature · 1 line
Chris PeBenito
Quoted 9 lines · Chris PeBenito
Quoted 6 lines · Goldwyn Rodrigues via refpolicy
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?
Yes, and I linked it to refpolicy/policy/modules/contrib
Signature · 1 line
Goldwyn