summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-31 07:53:58 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-04 14:47:54 -0500
commit5a032acff6e6906cfb5533ec135f177b696d7154 (patch)
treeaa8348ddefd55ee74d64aeac6b6b1affcaf08211 /nix
parentab273a9cbd08e25e3794c606a863644eb3a06e30 (diff)
downloadpodman-5a032acff6e6906cfb5533ec135f177b696d7154.tar.gz
podman-5a032acff6e6906cfb5533ec135f177b696d7154.tar.bz2
podman-5a032acff6e6906cfb5533ec135f177b696d7154.zip
Only use container/storage/pkg/homedir.Get()
We are resolving the homedir of the user in many different places. This Patch consolodates them to use container/storage version. This PR also fixes a failure mode when the homedir does not exists, and the user sets a root path. In this situation podman should continue to work. Podman does not require a users homedir to exist in order to run. Finally the rootlessConfigHomeDirOnce and rootlessRuntimeDirOnce were broken, because if an error ever happened, they would not be recorded the second time, and "" would be returned as the path. Fixes: https://github.com/containers/podman/issues/8131 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions