diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-06 13:01:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-06 13:01:17 +0200 |
commit | 01a8b4675739463b8d6abf0931099b244c6f072b (patch) | |
tree | 5ff5f5e08acf07169d427d5c741eaf162fc27011 /src/core/hostname-setup.c | |
parent | d24e561d96ba4a2272e26f6a245f032b32aa6992 (diff) |
core: don't implicit open missing socket fds on daemon reload
Previously, when the daemon was reloaded and the configuration of a socket unit
file was changed so that a different set of socket ports was defined for the
socket we'd simply reopen the socket fds not yet open. This is problematic
however, as this means the SOCKET_CHOWN state is not run for them, and thus
their UID/GID is not corrected.
With this change, don't open the missing file descriptors, but log about this
issue, and ask the user to restart the socket explicit, to make sure all
missing fds are opened.
Fixes: #3171
Diffstat (limited to 'src/core/hostname-setup.c')
0 files changed, 0 insertions, 0 deletions