From: Dan Callaghan Date: Fri, 3 Jul 2020 09:13:08 +0000 (+1000) Subject: core: set private section name for automount units X-Git-Tag: v246-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fadbb4535108406384a5d63c1ad3082f845c646;p=thirdparty%2Fsystemd.git 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. --- 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,