#33 Permissive mode is needed while building the container
Opened 3 years ago by glb. Modified 3 years ago

file modified
+1
@@ -5,6 +5,7 @@ 

  ```

  $ sudo semanage permissive -a container_t

  $ buildah unshare ./build.sh zinebot

+ $ sudo semanage permissive -d container_t

  $ sudo make selinux-policy

  $ touch $HOME/.local/opt/zinebot/config

  $ chmod 600 $HOME/.local/opt/zinebot/config

It shouldn't be necessary to set container_t to permissive to build the container. But I haven't been able to find a better way to get it to work. This hack will have to do for now.

Metadata