Skip to content

Instantly share code, notes, and snippets.

@cjeanner
Created August 22, 2018 14:27
Show Gist options
  • Save cjeanner/456a4f606d22d39874498cffc6f86e94 to your computer and use it in GitHub Desktop.
Save cjeanner/456a4f606d22d39874498cffc6f86e94 to your computer and use it in GitHub Desktop.
podman-ovs
module podman-ovs 1.0;
require {
type openvswitch_t;
type container_t;
class unix_stream_socket connectto;
}
#============= container_t ==============
#!!!! The file '/run/openvswitch/db.sock' is mislabeled on your system.
#!!!! Fix with $ restorecon -R -v /run/openvswitch/db.sock
allow container_t openvswitch_t:unix_stream_socket connectto;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment