Skip to content
Snippets Groups Projects
Commit 4dc61926 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

infra/image/shcontainer: Ensure '/ect/shadow' is readable

The shadow file in a Fedora or CentOS Stream container is not readable
any more using Ubuntu 24.04.

An extra call to ensure that the shadow file is readable again has been
added to container_start.
parent e9435410
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ container_start() {
log info "= Starting ${name} ="
podman start "${name}"
# Ensure /etc/shadow is readable
podman exec "${name}" bash -c "chmod u+r /etc/shadow"
echo
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment