]> 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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 16 Jun 2025 13:02:30 +0000 (22:02 +0900)
commit752cdf5051d4de17864e7b2dbfec0023207a3d4e
tree77f85473f890f56dde142179b6b8ba84dc9a11b4
parent9ed99b0793eac9d9af0be659dd084ddfaaef4fae
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.
src/resolve/resolved-manager.c
src/resolve/resolved.c