summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-17 15:42:14 +0100
committerGitHub <noreply@github.com>2020-03-17 15:42:14 +0100
commitc4a62733aeb6334c755d1deb2ccd0cd7e2d47702 (patch)
treeb9908728640f7d65dfe4db8cdfac27bf712eaec4
parent2b2996d09d1d99c41a5c944b597e6b0c83ab23ee (diff)
parentcc57b88f774c0509a8e4e362861b8d2caeb5039a (diff)
downloadpodman-c4a62733aeb6334c755d1deb2ccd0cd7e2d47702.tar.gz
podman-c4a62733aeb6334c755d1deb2ccd0cd7e2d47702.tar.bz2
podman-c4a62733aeb6334c755d1deb2ccd0cd7e2d47702.zip
Merge pull request #5520 from giuseppe/make-warning-clearer
config: make warning clearer
-rw-r--r--libpod/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/config/config.go b/libpod/config/config.go
index 5d59f1bf2..b94c1b20b 100644
--- a/libpod/config/config.go
+++ b/libpod/config/config.go
@@ -554,7 +554,7 @@ func (c *Config) checkCgroupsAndLogger() {
}
if !hasSession {
- logrus.Warningf("The cgroups manager is set to systemd but there is no systemd user session available")
+ logrus.Warningf("The cgroup manager or the events logger is set to use systemd but there is no systemd user session available")
logrus.Warningf("For using systemd, you may need to login using an user session")
logrus.Warningf("Alternatively, you can enable lingering with: `loginctl enable-linger %d` (possibly as root)", rootless.GetRootlessUID())
logrus.Warningf("Falling back to --cgroup-manager=cgroupfs and --events-backend=file")