@tulip🌷 do you know the best way to change the selinux context of uupd? Do we need to add a policy
@tulip
do you know the best way to change the selinux context of uupd? Do we need to add a policy file?
/etc/hostname is mounted in distrobox-create here: https://github.com/89luca89/distrobox/blob/3b9f0e8d3d8bd102e1636a22afffafe00777d30b/distrobox-create#L908/etc/hostname given that it's going to be used by glibc's gethostname()--hostname foo then the mount is skipped, which means even if /etc/hostname is missing, that won't bother the containeruupduupd[Unit]
Description=Universal Blue Update Oneshot Service
[Service]
Type=oneshot
ExecStart=/usr/bin/uupd --log-level debug --json --hw-check
SELinuxContext=system_u:unconfined_r:unconfined_t:s0