-
Notifications
You must be signed in to change notification settings - Fork 92
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
SELinux is preventing /usr/sbin/nft from open access on the fifo_file fifo_file #147
Comments
Not intentional. @wrabcak Should we fix this hear or in SELinux Policy? |
It can be both. It is more closely related to containers and (apart from virt) we have very few rules calling container interfaces in selinux-policy, so if you don't mind, add it to container-selinux. There are already a few rules for iptables_t there. |
rhatdan
added a commit
to rhatdan/container-selinux
that referenced
this issue
Sep 10, 2021
Also allow container_domains to use inherited unix_stream_sockets from userdomains. Fixes: containers#147 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
EdDev
added a commit
to EdDev/go-nft
that referenced
this issue
Sep 12, 2021
Using a buffer to pass the nftables configuration to `stdin` has been unintentionally blocked by one of the latest SELinux policies [1]. While the policy issue is fixed, this change introduces an alternative way to pass the configuration data using a temporary file. The workaround can be removed once the SELinux policy is fixed. [1] containers/container-selinux#147 Signed-off-by: Edward Haas <edwardh@redhat.com>
EdDev
added a commit
to EdDev/go-nft
that referenced
this issue
Sep 12, 2021
Using a buffer to pass the nftables configuration to `stdin` has been unintentionally blocked by one of the latest SELinux policies [1]. While the policy issue is fixed, this change introduces an alternative way to pass the configuration data using a temporary file. The workaround can be removed once the SELinux policy is fixed. [1] containers/container-selinux#147 Signed-off-by: Edward Haas <edwardh@redhat.com>
EdDev
added a commit
to EdDev/go-nft
that referenced
this issue
Sep 12, 2021
Using a buffer to pass the nftables configuration to `stdin` has been unintentionally blocked by one of the latest SELinux policies [1]. While the policy issue is fixed, this change introduces an alternative way to pass the configuration data using a temporary file. The workaround can be removed once the SELinux policy is fixed. [1] containers/container-selinux#147 Signed-off-by: Edward Haas <edwardh@redhat.com>
EdDev
added a commit
to networkplumbing/go-nft
that referenced
this issue
Sep 13, 2021
Using a buffer to pass the nftables configuration to `stdin` has been unintentionally blocked by one of the latest SELinux policies [1]. While the policy issue is fixed, this change introduces an alternative way to pass the configuration data using a temporary file. The workaround can be removed once the SELinux policy is fixed. [1] containers/container-selinux#147 Signed-off-by: Edward Haas <edwardh@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been encountering this issue recently after updating CentOS Stream (8).
I've been working on calling
nft
executable from a CNI plugin (bridge) on a Kubernetes deployment.The data is passed from the CNI plugin to
nft
through stdin (see here the implementation).I'm trying to figure out if this is an intentional restriction added or a problem that should be resolved.
The text was updated successfully, but these errors were encountered: