From: Luca Boccassi Date: Tue, 20 May 2025 10:27:34 +0000 (+0100) Subject: core: Also refresh confext extensions when reloading notify-reload service (#33995) X-Git-Tag: v258-rc1~570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6946eed3fac39f56e228d3d0648d9a11243d8b8e;p=thirdparty%2Fsystemd.git core: Also refresh confext extensions when reloading notify-reload service (#33995) `ExtensionImages=` and `ExtensionDirectories=` now let you specify vpick-named extensions; however, since they just get set up once when the service is started, you can't see newer versions without restarting the service entirely. Here, also reload confext extensions when you reload a service. This allows you to deploy a new version of some configuration and have it picked up at reload time without interruption to your workload. Right now, we would only reload confext extensions and leave the sysext ones behind, since it didn't seem prudent to swap out what is likely program code at reload. This is made possible by only going for the `SYSTEMD_CONFEXT_HIERARCHIES` overlays (which only contains `/etc`). This PR: - Adjusts `service.c` to also refresh extensions when needed. - Adds integration tests to check that a confext reload actually occurred. - Adds to the `systemd.exec` man pages to document this behavior. This is a follow up to #24864 and #31364. Thank you to @bluca and @goenkam for help in getting this up. --- 6946eed3fac39f56e228d3d0648d9a11243d8b8e