diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-08-25 23:21:47 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-08-26 15:40:15 +0200 |
commit | daa78907af9ea3bfdce937ffd4df2a87dd720fcf (patch) | |
tree | 68a0e66edd7800baec06817d63ca6b6ee5e3c83e /NEWS | |
parent | core: move check for combination of PAMName= + KillMode= to unit_verify_conte... (diff) | |
download | systemd-daa78907af9ea3bfdce937ffd4df2a87dd720fcf.tar.xz systemd-daa78907af9ea3bfdce937ffd4df2a87dd720fcf.zip |
core: honor FileDescriptorName= too for Accept=yes sockets
So far we manually hardcoded $LISTEN_FDNAMES to "varlink" in various
varlink service units we ship, even though FileDescriptorName=varlink
is specified in associated socket units already, because
FileDescriptorName= is currently silently ignored when combined with
Accept=yes. Let's step away from this, which seems saner.
Note that this is technically a compat break, but a mostly negligible
one as there shall be few users setting FileDescriptorName= but
still expecting LISTEN_FDNAMES=connection in the actual executable.
Preparation for #34080
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ CHANGES WITH 257 in spe: by default when combined with --scope, will be changed in a future release to be enabled by default. + * The FileDescriptorName= setting for socket units is now honored by + Accept=yes sockets too, where it was previously silently ignored and + "connection" was used unconditionally. + * systemd-logind now always obeys inhibitor locks, where previously it ignored locks taken by the caller or when the caller was root. A privileged caller can always close the other sessions, remove the |