diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-07-17 13:58:22 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-07-22 14:05:20 -0400 |
commit | e21a6368f9308292641ed5ce58321b1cd46abdc9 (patch) | |
tree | 3965dc2cfc5cea33cb04b10cf528f7570f3b38f5 /cmd/podman/root.go | |
parent | 92186cbd28df57bda027c90eb3715c8a636c1037 (diff) | |
download | podman-e21a6368f9308292641ed5ce58321b1cd46abdc9.tar.gz podman-e21a6368f9308292641ed5ce58321b1cd46abdc9.tar.bz2 podman-e21a6368f9308292641ed5ce58321b1cd46abdc9.zip |
abi: set default umask and rlimits
the code got lost in the migration to podman 2.0, reintroduce it.
Closes: https://github.com/containers/podman/issues/6989
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
<MH: Fixed build>
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman/root.go')
-rw-r--r-- | cmd/podman/root.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/root.go b/cmd/podman/root.go index 7c54da91a..b2c9f9c2c 100644 --- a/cmd/podman/root.go +++ b/cmd/podman/root.go @@ -77,6 +77,7 @@ func init() { cobra.OnInitialize( loggingHook, syslogHook, + earlyInitHook, ) rootFlags(rootCmd, registry.PodmanConfig()) |