mirror of
https://github.com/containers/podman.git
synced 2025-09-26 16:25:00 +08:00
Add Security information to podman info
When debugging issues, it would be helpful to know the security settings of the system running into the problem. Adding security info to `podman info` is also useful to users. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
2
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
@ -380,7 +380,7 @@ default_sysctls = [
|
||||
|
||||
# Directory for temporary files. Must be tmpfs (wiped after reboot)
|
||||
#
|
||||
# tmp_dir = "/var/run/libpod"
|
||||
# tmp_dir = "/run/libpod"
|
||||
|
||||
# Directory for libpod named volumes.
|
||||
# By default, this will be configured relative to where containers/storage
|
||||
|
2
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
2
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
@ -320,7 +320,7 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
|
||||
|
||||
func defaultTmpDir() (string, error) {
|
||||
if !unshare.IsRootless() {
|
||||
return "/var/run/libpod", nil
|
||||
return "/run/libpod", nil
|
||||
}
|
||||
|
||||
runtimeDir, err := getRuntimeDir()
|
||||
|
10
vendor/github.com/containers/common/pkg/seccomp/seccomp_unsupported.go
generated
vendored
10
vendor/github.com/containers/common/pkg/seccomp/seccomp_unsupported.go
generated
vendored
@ -1,10 +1,10 @@
|
||||
// +build !seccomp
|
||||
// +build !linux !seccomp
|
||||
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2013-2018 Docker, Inc.
|
||||
|
||||
package seccomp
|
||||
package seccomp
|
||||
|
||||
import (
|
||||
"errors"
|
||||
@ -38,3 +38,9 @@ func LoadProfileFromConfig(config *Seccomp, specgen *specs.Spec) (*specs.LinuxSe
|
||||
func IsEnabled() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IsSupported returns true if the system has been configured to support
|
||||
// seccomp.
|
||||
func IsSupported() bool {
|
||||
return false
|
||||
}
|
||||
|
2
vendor/github.com/containers/common/pkg/seccomp/supported.go
generated
vendored
2
vendor/github.com/containers/common/pkg/seccomp/supported.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// +build !windows
|
||||
// +build linux,seccomp
|
||||
|
||||
package seccomp
|
||||
|
||||
|
2
vendor/github.com/containers/common/version/version.go
generated
vendored
2
vendor/github.com/containers/common/version/version.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
package version
|
||||
|
||||
// Version is the version of the build.
|
||||
const Version = "0.31.2-dev"
|
||||
const Version = "0.31.2"
|
||||
|
Reference in New Issue
Block a user