]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: also restart stub listner on reload
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Jun 2025 08:55:11 +0000 (17:55 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 25 Jun 2025 12:36:10 +0000 (13:36 +0100)
commitc2eda0d71b16d85c05c2e318027f74e46b3bac10
treeb3cf2327b1ad2fc49e214c20f23ee53e64a47151
parent1b0706a9e5094a40e9d185eb92ad5b58de36a21e
manager: also restart stub listner on reload

Previously, the extra stub listners were stopped but new ones were not
started. Also, the main stub listners were not restarted, hence the
new settings were not applied. This fixes the above two issues.

Note, to fix the issue, we need to keep CAP_NET_BIND_SERVICE capability
to make it allow to bind stub listner later.

Fixes #37843.

(cherry picked from commit 752cdf5051d4de17864e7b2dbfec0023207a3d4e)
src/resolve/resolved-manager.c
src/resolve/resolved.c