From af12e6534e9c84f392a5e1ed5fdbd17394deb619 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 19 Sep 2018 18:35:58 -0500 Subject: report when rootless when running as rootless, report as such. resolves: #1509 Signed-off-by: baude Closes: #1514 Approved by: rhatdan --- cmd/podman/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/podman') diff --git a/cmd/podman/main.go b/cmd/podman/main.go index a532bc26e..840650a3f 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -147,6 +147,8 @@ func main() { if err := syscall.Setrlimit(syscall.RLIMIT_NOFILE, rlimits); err != nil { return errors.Wrapf(err, "error setting new rlimits") } + } else { + logrus.Info("running as rootless") } if logLevel == "debug" { -- cgit v1.2.3-54-g00ecf