net-misc/chrony: Fix paths to config file

OpenRC only; systemd unaffected by issue.
New "capsified" versions will use new config file, current stable
chrony now has a fixed file.

Revbump is complicated here given -r3, ..., already exists.
This should not have affected many users so this seems like
the simplest solution.

Closes: https://bugs.gentoo.org/719876
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
Sam James (sam_c)
2020-05-02 12:43:27 +02:00
committed by Thomas Deutschmann
parent f940f574df
commit c3d88f8545
6 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ src_prepare() {
doc/* examples/* || die
# Copy for potential user fixup
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
cp examples/chronyd.service "${T}"/chronyd.service
# Set config for privdrop
+1 -1
View File
@@ -53,7 +53,7 @@ src_prepare() {
doc/* examples/* || die
# Copy for potential user fixup
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
cp examples/chronyd.service "${T}"/chronyd.service
# Set config for privdrop
+1 -1
View File
@@ -53,7 +53,7 @@ src_prepare() {
doc/* examples/* || die
# Copy for potential user fixup
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
cp examples/chronyd.service "${T}"/chronyd.service
# Set config for privdrop
+1 -1
View File
@@ -50,7 +50,7 @@ src_prepare() {
doc/* examples/* || die
# Copy for potential user fixup
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
cp examples/chronyd.service "${T}"/chronyd.service
# Set config for privdrop
+1 -1
View File
@@ -9,4 +9,4 @@ CFGFILE="/etc/chrony/chrony.conf"
# The combination of "-s -r" allows chronyd to perform long term averaging of
# the gain or loss rate across system reboots and shutdowns.
ARGS="-u ntp -F 1"
ARGS=""
+12
View File
@@ -0,0 +1,12 @@
# /etc/conf.d/chronyd
CFGFILE="/etc/chrony/chrony.conf"
# Configuration dependant options :
# -s - Set system time from RTC if rtcfile directive present
# -r - Reload sample histories if dumponexit directive present
#
# The combination of "-s -r" allows chronyd to perform long term averaging of
# the gain or loss rate across system reboots and shutdowns.
ARGS="-u ntp -F 1"