From 2193f17c08f547598d95fb0eab2cc253bbb301e0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Jun 2019 10:39:52 +0200 Subject: [PATCH] core: mention why we do migration for everything but ConfigurationDirectory= --- src/core/execute.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/execute.c b/src/core/execute.c index 09a09aadc0..37ecc30d6b 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -2182,7 +2182,11 @@ static int setup_exec_directory( _cleanup_free_ char *q = NULL; /* This already exists and is a symlink? Interesting. Maybe it's one created - * by DynamicUser=1 (see above)? */ + * by DynamicUser=1 (see above)? + * + * We do this for all directory types except for ConfigurationDirectory=, + * since they all support the private/ symlink logic at least in some + * configurations, see above. */ q = path_join(params->prefix[type], "private", *rt); if (!q) {