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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user