chrony/examples
Miroslav Lichvar 83f96efdfd examples: harden systemd services
Add various settings to the example chronyd and chrony-wait services to
decrease the exposure reported by the "systemd-analyze security"
command. The original exposure was high as the analyzer does not check
the actual process (e.g. that it dropped the root privileges or that it
has its own seccomp filter).

Limit read-write access to /run, /var/lib/chrony, and /var/spool.
Access to /run (instead of /run/chrony) is needed for the refclock
socket expected by gpsd.

The mailonchange directive is most likely to break as it executes
/usr/sbin/sendmail, which can do unexpected operations depending on the
implementation. It should work with a setuid/setgid binary, but it is
not expected to write outside of /var/spool and the private /tmp.
2021-09-29 15:56:55 +02:00
..
chrony-wait.service examples: harden systemd services 2021-09-29 15:56:55 +02:00
chrony.conf.example1 examples: improve configuration examples 2017-01-31 11:22:11 +01:00
chrony.conf.example2 doc+examples: update http links to https 2020-09-23 15:10:43 +02:00
chrony.conf.example3 examples: add leapsecmode to chrony.conf examples 2020-08-06 11:34:32 +02:00
chrony.keys.example examples: improve description in chrony.keys example 2018-09-12 11:38:08 +02:00
chrony.logrotate examples: update for removed cmdmon authentication 2015-08-26 10:19:33 +02:00
chrony.nm-dispatcher.dhcp examples: add dispatcher for NTP servers from DHCP 2020-06-29 17:43:49 +02:00
chrony.nm-dispatcher.onoffline examples: align onoffline with DHCP NM dispatcher 2020-06-29 17:43:49 +02:00
chronyd.service examples: harden systemd services 2021-09-29 15:56:55 +02:00