]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: mention why we do migration for everything but ConfigurationDirectory=
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Jun 2019 08:39:52 +0000 (10:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Jun 2019 08:47:46 +0000 (10:47 +0200)
src/core/execute.c

index 09a09aadc0e609e9c9dda65fc0cc43771f881f3e..37ecc30d6bb274214f72cc3849ec2139e828bc1e 100644 (file)
@@ -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) {