Custom uCore build fails on semanage step (`libsemanage.semanage_make_sandbox: Could not copy files to sandbox`)

Hello,
I have a custom image derived from uCore (ghcr.io/ublue-os/ucore-hci:lts). My Containerfile hasn’t changed, but today my build started to fail on a step where I configure SELinux:

STEP 7/8: RUN semanage port -a -t ssh_port_t -p tcp 122
libsemanage.semanage_make_sandbox: Could not copy files to sandbox /etc/selinux/targeted/tmp. (File exists).
FileExistsError: File exists
Error: building at STEP "RUN semanage port -a -t ssh_port_t -p tcp 122": while running runtime: exit status 1

When I get time I will try to figure out what has changed to cause this to fail now, but sharing here incase someone already knows. :slight_smile:

I didn’t get around to digging into this to try and fix it, and in the meantime it has fixed itself. :person_shrugging:

I’m guessing there was a transient issue with the upstream image .. ?