- Adjust and rename the sysconfig file, so that it matches the

expectations of chronyd.service (bsc#1173277).
  * Create new file when writing pidfile (CVE-2020-14367, bsc#1174911)

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=90
This commit is contained in:
Reinhard Max 2020-09-14 12:52:37 +00:00 committed by Git OBS Bridge
parent bba6f7b831
commit 67288b2a86
4 changed files with 19 additions and 30 deletions

View File

@ -1,8 +1,14 @@
-------------------------------------------------------------------
Mon Sep 14 10:41:58 UTC 2020 - Reinhard Max <max@suse.com>
- Adjust and rename the sysconfig file, so that it matches the
expectations of chronyd.service (bsc#1173277).
-------------------------------------------------------------------
Sun Sep 13 20:22:46 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
- Update to 3.5.1:
* Create new file when writing pidfile (CVE-2020-14367)
* Create new file when writing pidfile (CVE-2020-14367, bsc#1174911)
-------------------------------------------------------------------
Sun Aug 2 21:27:45 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>

View File

@ -30,7 +30,7 @@ License: GPL-2.0-only
Group: Productivity/Networking/Other
URL: https://chrony.tuxfamily.org/
Source: https://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
Source2: chrony.sysconfig
Source2: chronyd.sysconfig
Source3: chrony.dhclient
Source4: chrony.helper
Source5: chrony-dnssrv@.service
@ -218,7 +218,7 @@ echo 'chronyd.service' > \
%{buildroot}%{_systemdutildir}/ntp-units.d/50-chronyd.list
install -Dpm 0644 %{SOURCE2} \
%{buildroot}%{_fillupdir}/sysconfig.chrony
%{buildroot}%{_fillupdir}/sysconfig.chronyd
install -Dpm 755 %{SOURCE4} \
%{buildroot}%{_libexecdir}/%name/helper
@ -277,7 +277,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%{_unitdir}/chrony*.timer
%{_sbindir}/rcchrony*
%{_tmpfilesdir}/%{name}.conf
%{_fillupdir}/sysconfig.chrony
%{_fillupdir}/sysconfig.chronyd
%dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/drift
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc

View File

@ -1,26 +0,0 @@
## Path: Network/Chrony
## Description: Chrony time synchronization settings
## Type: yesno
## Default: "yes"
## ServiceRestart: chronyd
#
# Resolve hostnames with IPv4
#
CHRONY_IPV4="yes"
## Type: yesno
## Default: "yes"
## ServiceRestart: chronyd
#
# Resolve hostnames with IPv6
#
CHRONY_IPV6="yes"
## Type: yesno
## Default: "yes"
## ServiceRestart: chronyd
#
# Lock the chrony daemon process into RAM, preventing it from swapping out
#
CHRONY_LOCK_IN_RAM="no"

9
chronyd.sysconfig Normal file
View File

@ -0,0 +1,9 @@
## Path: Network/Chrony
## Description: Chrony time synchronization settings
## Type: string
## Default: ""
## ServiceRestart: chronyd
#
# Command line options for chronyd
#
OPTIONS=""