Commit a7601e7a by Jamie Strandboge

Merge branch 'chrony-in-package' into 'master'

chrony profile is now in the Ubuntu 18.04 (and Debian) package

See merge request !11
parents 9cea2e6d 42bb9532
# Last Modified: Sat Jan 20 10:45:05 2018
#include <tunables/global>
#include <tunables/sys>
This profile is now included as part of the chrony source package.
To contribute to the profile or to report bugs against it, please
see "How to file a bug" in the Ubuntu wiki:
/usr/sbin/chronyd (attach_disconnected) {
#include <abstractions/base>
#include <abstractions/nameservice>
capability sys_time,
capability net_bind_service,
capability setuid,
capability setgid,
capability sys_nice,
capability sys_resource,
/usr/sbin/chronyd mr,
/etc/chrony/{,**} r,
/{,var/}run/ w,
/{,var/}run/chrony/{,*} rw,
/var/lib/chrony/{,*} r,
/var/lib/chrony/* w,
/var/log/chrony/{,*} r,
/var/log/chrony/* w,
# Using the "tempcomp" directive gives chronyd the ability to improve
# the stability and accuracy of the clock by compensating the temperature
# changes measured by a sensor close to the oscillator.
@{sys}/class/hwmon/hwmon[0-9]*/temp[0-9]*_input r,
# rtc
/etc/adjtime r,
/dev/rtc{,[0-9]*} r,
# gps devices
/dev/pps[0-9]* r,
/dev/ptp[0-9]* r,
# For use with clocks that report via shared memory (e.g. gpsd),
# you may need to give ntpd access to all of shared memory, though
# this can be considered dangerous. See
# for details. To enable, add this to local/usr.sbin.chronyd:
# capability ipc_owner,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.chronyd>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment