mirror of
https://github.com/containers/podman.git
synced 2026-03-26 10:32:58 -04:00
add trailing newline to subgid due to shadow-utils 4.19.0 regression
Fedora 44 come with shadow-utils 4.19.0, This is a POSIX compliance fix - text files need end with a newline. 1. https://github.com/containers/podman-machine-os/issues/226 2. https://github.com/shadow-maint/shadow/issues/1581 Signed-off-by: Tim Zhou <tizhou@redhat.com>
This commit is contained in:
@@ -283,7 +283,7 @@ pids_limit=0
|
||||
if uid >= subUID && uid < (subUID+subUIDs) {
|
||||
subUID = uid + 1
|
||||
}
|
||||
etcSubUID := fmt.Sprintf(`%s:%d:%d`, usrName, subUID, subUIDs)
|
||||
etcSubUID := fmt.Sprintf("%s:%d:%d\n", usrName, subUID, subUIDs)
|
||||
|
||||
// Set containers.conf up for core user to use networks
|
||||
// by default
|
||||
|
||||
Reference in New Issue
Block a user