core: wrap cgroup path with empty_to_root() in log messages v248.7
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Aug 2021 18:14:41 +0000 (03:14 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 Aug 2021 14:42:23 +0000 (16:42 +0200)
commit4aae057d6445eec0d50adec643310d167416bf52
tree65221899c7bd11baeb3a22cfbd4cb5d8dae826dd
parent8bfd8d4e286ff3bfe8822867c11fe6982215078e
core: wrap cgroup path with empty_to_root() in log messages

This fixes e.g. the following log message:
---
systemd[1]: -.slice: Failed to migrate controller cgroups from , ignoring: Read-only file system
---

(cherry picked from commit 6178e2f88956e1900f445908ed053865cc22e879)
(cherry picked from commit 24a40953d3d6ad8b1429d19da2f66399ae3f7e0b)
src/core/bpf-devices.c
src/core/cgroup.c
src/core/unit.c