mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
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.
This commit is contained in:
@@ -47,6 +47,8 @@ container_start() {
|
|||||||
|
|
||||||
log info "= Starting ${name} ="
|
log info "= Starting ${name} ="
|
||||||
podman start "${name}"
|
podman start "${name}"
|
||||||
|
# Ensure /etc/shadow is readable
|
||||||
|
podman exec "${name}" bash -c "chmod u+r /etc/shadow"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user