mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-19 06:47:51 +00: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:
parent
2ea88f0573
commit
0904bab01e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue