Files
podman/libpod
Paul Holzinger 5198209269 fix incorrect permissions for /etc/resolv.conf in userns
The files /etc/hosts, /etc/hostname and /etc/resolv.conf should always
be owned by the root user in the container. This worked correct for
/etc/hostname and /etc/hosts but not for /etc/resolv.conf.

A container run with --userns keep-id would have the reolv.conf file
owned by the current container user which is wrong.

Consolidate some common code in a new helper function to make the code more
cleaner.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-04-29 15:30:55 +02:00
..
2022-03-22 13:04:35 +01:00
2022-01-18 12:47:07 +01:00
2022-04-21 13:43:58 +02:00
2017-11-01 11:24:59 -04:00
2022-04-22 15:12:33 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-04-26 18:12:22 +02:00
2022-04-25 13:23:20 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-04-22 12:51:29 +02:00
2022-04-26 18:12:22 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-04-21 13:43:58 +02:00
2022-04-22 12:51:29 +02:00
2022-01-18 12:47:07 +01:00
2022-04-25 13:23:20 +02:00
2022-04-26 18:12:22 +02:00
2022-04-26 18:12:22 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-04-28 13:29:01 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-02-03 13:14:07 +01:00
2022-02-22 11:05:26 -05:00
2022-04-25 13:23:20 +02:00
2022-02-22 11:05:26 -05:00
2022-04-25 13:23:20 +02:00
2022-02-22 11:05:26 -05:00
2022-02-22 11:05:26 -05:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-12 17:07:30 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-04-28 13:29:01 +02:00