but whatever works, it's been three days so whatever gets them green so it unblocks you for bazzite
but whatever works, it's been three days so whatever gets them green so it unblocks you for bazzite
label=nested context= flag and this causes the selinux operations to fail because the selinux context is hardcoded by podman and can't be modified in the overlayfs layerrootcontext= instead which only sets the selinux context of the rootfs inode--privileged if you want thiscontext= stuff aboveid -Z and ls -lZ /etc/sudoers /etc/shadowlabel=nestedcontext=context=rootcontext=--privilegedbash-5.2# cat podmansh.container
[Unit]
Description=The podmansh container
After=local-fs.target
ExecStartPre=-/bin/mkdir -p %h/data
[Container]
Image=quay.io/toolbx-images/ubuntu-toolbox:latest
ContainerName=podmansh
RemapUsers=keep-id
PodmanArgs=--security-opt=unmask=/sys/fs/selinux \
--privileged
RunInit=yes
Volume=%h/data:%h:Z
Volume=/etc/selinux:/etc/selinux
WorkingDir=%h
Exec=sleep infinity
Network=host
[Service]
ExecStartPre=/usr/bin/mkdir -p %h/data
TimeoutStartSec=900
[Install]
RequiredBy=default.targetid -Zls -lZ /etc/sudoers /etc/shadow