You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Containers with systemctl fail to start if an override systemd unit file exists in /etc/systemd/system that is not zero-length for any unit file that is typically masked by distrobox.
At this point the container will not start and cannot be entered to fix.
Expected behavior
Container starts and gets to a prompt. The pre-existing service unit in /etc/systemd/system/unit.service is not masked or overwritten.
It's probably safe to ignore errors when performing systemctl mask "$(basename "${unit}")". The other option is to check for existence of /etc/systemd/system/"$(basename "${unit}")" before trying to mask.
Describe the bug
Containers with
systemctl
fail to start if an override systemd unit file exists in /etc/systemd/system that is not zero-length for any unit file that is typically masked by distrobox.To Reproduce
At this point the container will not start and cannot be entered to fix.
Expected behavior
Container starts and gets to a prompt. The pre-existing service unit in /etc/systemd/system/unit.service is not masked or overwritten.
Logs
distrobox-enter-sysd-mask.log
podman-logs-sysd-mask.log
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: