aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-03-17 10:31:29 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-03-17 10:31:32 +0100
commitcc57b88f774c0509a8e4e362861b8d2caeb5039a (patch)
treeb9908728640f7d65dfe4db8cdfac27bf712eaec4 /libpod
parent2b2996d09d1d99c41a5c944b597e6b0c83ab23ee (diff)
downloadpodman-cc57b88f774c0509a8e4e362861b8d2caeb5039a.tar.gz
podman-cc57b88f774c0509a8e4e362861b8d2caeb5039a.tar.bz2
podman-cc57b88f774c0509a8e4e362861b8d2caeb5039a.zip
config: make warning clearer
make clearer that the warning could also happen because the logger is set to use systemd. Closes: https://github.com/containers/libpod/issues/5443 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod')
-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")