Merge pull request #5520 from giuseppe/make-warning-clearer

config: make warning clearer
This commit is contained in:
OpenShift Merge Robot 2020-03-17 15:42:14 +01:00 committed by GitHub
commit c4a62733ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ func (c *Config) checkCgroupsAndLogger() {
} }
if !hasSession { 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("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("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") logrus.Warningf("Falling back to --cgroup-manager=cgroupfs and --events-backend=file")