If a symlink to a combined cgroup hierarchy already exists and points to
the right path, skip it. This avoids an error when the cgroups are set
manually before calling nspawn.
---
src/nspawn/nspawn.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git
Patchset imported to github.
Pull request:
https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1431508540-3855-3-git-send-email-iago%40endocode.com
--
Generated by https://github.com/haraldh/mail2git
___
systemd-devel mailing
On Wed, 13.05.15 11:15, Iago López Galeiras (i...@endocode.com) wrote:
-if (symlink(combined, target) 0)
+if (symlink(combined, target) 0) {
+if (errno == EEXIST) {
+r =