Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest release 2.20190609 missing could not recognize sctp #85

Closed
wenhuizhang opened this issue Sep 2, 2019 · 5 comments
Closed

latest release 2.20190609 missing could not recognize sctp #85

wenhuizhang opened this issue Sep 2, 2019 · 5 comments

Comments

@wenhuizhang
Copy link

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 deny base.conf -o tmp/base.mod
/usr/bin/checkmodule:  loading policy configuration from base.conf
policy/modules/kernel/ubac.te:2490:ERROR 'unrecognized protocol sctp' at token 'portcon' on line 28914:
portcon sctp 512-1023 system_u:object_r:hi_reserved_port_t
portcon sctp 1024-65535 system_u:object_r:unreserved_port_t
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
Rules.modular:102: recipe for target 'tmp/base.mod' failed
make: *** [tmp/base.mod] Error 1
wenhui@wenhui:~/Downloads$ uname -a
Linux wenhui 4.18.0 #1 SMP Sun Aug 25 22:09:08 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux

@wenhuizhang wenhuizhang changed the title latest release missing could not recognize sctp latest release 2.20190609 missing could not recognize sctp Sep 2, 2019
@ghost
Copy link

ghost commented Sep 2, 2019 via email

@wenhuizhang
Copy link
Author

On Mon, Sep 02, 2019 at 12:02:26PM -0700, Wenhui Zhang wrote: 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 deny base.conf -o tmp/base.mod /usr/bin/checkmodule: loading policy configuration from base.conf policy/modules/kernel/ubac.te:2490:ERROR 'unrecognized protocol sctp' at token 'portcon' on line 28914: portcon sctp 512-1023 system_u:object_r:hi_reserved_port_t portcon sctp 1024-65535 system_u:object_r:unreserved_port_t /usr/bin/checkmodule: error(s) encountered while parsing configuration Rules.modular:102: recipe for target 'tmp/base.mod' failed make: *** [tmp/base.mod] Error 1 ***@***.***:~/Downloads$ uname -a Linux wenhui 4.18.0 #1 SMP Sun Aug 25 22:09:08 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
What version of SELinux user space do you use?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: #85
-- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift

### 2.20190609

@ghost
Copy link

ghost commented Sep 2, 2019 via email

@ghost
Copy link

ghost commented Sep 2, 2019 via email

@wenhuizhang
Copy link
Author

On Mon, Sep 02, 2019 at 09:06:23PM +0200, Dominick Grift wrote: On Mon, Sep 02, 2019 at 12:02:26PM -0700, Wenhui Zhang wrote: > > 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 deny base.conf -o tmp/base.mod > /usr/bin/checkmodule: loading policy configuration from base.conf > policy/modules/kernel/ubac.te:2490:ERROR 'unrecognized protocol sctp' at token 'portcon' on line 28914: > portcon sctp 512-1023 system_u:object_r:hi_reserved_port_t > portcon sctp 1024-65535 system_u:object_r:unreserved_port_t > /usr/bin/checkmodule: error(s) encountered while parsing configuration > Rules.modular:102: recipe for target 'tmp/base.mod' failed > make: *** [tmp/base.mod] Error 1 > > > > > ***@***.***:~/Downloads$ uname -a > Linux wenhui 4.18.0 #1 SMP Sun Aug 25 22:09:08 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux > > >
We should probably add more clarity about the minimum requirements: Linux v4.16 + SELinux v2.8

-- > You are receiving this because you are subscribed to this thread. > Reply to this email directly or view it on GitHub: > #85 -- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift
-- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift

Oh, that makes sense, I am using libselinux1 is already the newest version (2.7-2build2). Thanks!
I will update it then.
Thanks Dominick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant