From 2fadbb4535108406384a5d63c1ad3082f845c646 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Fri, 3 Jul 2020 19:13:08 +1000 Subject: [PATCH] core: set private section name for automount units Because this was left unset, the unit_write_setting() function was refusing to write out the automount-specific TimeoutIdleSec= and DirectoryMode= settings when creating transient automount units. Set it to the proper value in line with other unit types. --- src/core/automount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/automount.c b/src/core/automount.c index 77420b929fd..1f051987665 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -1085,6 +1085,7 @@ const UnitVTable automount_vtable = { "Unit\0" "Automount\0" "Install\0", + .private_section = "Automount", .can_transient = true, .can_fail = true, -- 2.39.2