Set config environment variables early in Podman init

Fixes: https://github.com/containers/podman/issues/12296

[NO NEW TESTS NEEDED] because there is no easy way to test this.
Tests are in containers/common.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2021-11-15 11:48:28 -05:00
parent cca6df428c
commit 364b242b70
7 changed files with 40 additions and 19 deletions

View File

@ -66,6 +66,7 @@ func ValidateVolumeOpts(options []string) ([]string, error) {
// are intended to be always safe to use, even not on OS
// X).
continue
case "idmap":
default:
return nil, errors.Errorf("invalid option type %q", opt)
}