Files
chrony/test/unit
Luke Valenta e6a0476eb7 socket: add support for systemd sockets
Before opening new IPv4/IPv6 server sockets, chronyd will check for
matching reusable sockets passed from the service manager (for example,
passed via systemd socket activation:
https://www.freedesktop.org/software/systemd/man/latest/sd_listen_fds.html)
and use those instead.

Aside from IPV6_V6ONLY (which cannot be set on already-bound sockets),
the daemon sets the same socket options on reusable sockets as it would
on sockets it opens itself.

Unit tests test the correct parsing of the LISTEN_FDS environment
variable.

Add 011-systemd system test to test socket activation for DGRAM and
STREAM sockets (both IPv4 and IPv6).  The tests use the
systemd-socket-activate test tool, which has some limitations requiring
workarounds discussed in inline comments.
2023-11-13 17:05:26 +01:00
..
2023-03-02 10:41:28 +01:00
2020-07-09 14:47:33 +02:00
2022-08-29 15:04:33 +02:00
2020-03-05 16:02:15 +01:00
2020-03-05 16:02:15 +01:00
2020-03-05 16:02:15 +01:00
2017-06-27 15:29:01 +02:00
2022-08-29 15:04:33 +02:00
2023-04-13 16:22:50 +02:00
2021-03-11 11:47:31 +01:00