forked from pool/chrony
- 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:
parent
bba6f7b831
commit
67288b2a86
@ -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>
|
Sun Sep 13 20:22:46 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
|
||||||
|
|
||||||
- Update to 3.5.1:
|
- 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>
|
Sun Aug 2 21:27:45 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||||
|
@ -30,7 +30,7 @@ License: GPL-2.0-only
|
|||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
URL: https://chrony.tuxfamily.org/
|
URL: https://chrony.tuxfamily.org/
|
||||||
Source: https://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
|
Source: https://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
|
||||||
Source2: chrony.sysconfig
|
Source2: chronyd.sysconfig
|
||||||
Source3: chrony.dhclient
|
Source3: chrony.dhclient
|
||||||
Source4: chrony.helper
|
Source4: chrony.helper
|
||||||
Source5: chrony-dnssrv@.service
|
Source5: chrony-dnssrv@.service
|
||||||
@ -218,7 +218,7 @@ echo 'chronyd.service' > \
|
|||||||
%{buildroot}%{_systemdutildir}/ntp-units.d/50-chronyd.list
|
%{buildroot}%{_systemdutildir}/ntp-units.d/50-chronyd.list
|
||||||
|
|
||||||
install -Dpm 0644 %{SOURCE2} \
|
install -Dpm 0644 %{SOURCE2} \
|
||||||
%{buildroot}%{_fillupdir}/sysconfig.chrony
|
%{buildroot}%{_fillupdir}/sysconfig.chronyd
|
||||||
install -Dpm 755 %{SOURCE4} \
|
install -Dpm 755 %{SOURCE4} \
|
||||||
%{buildroot}%{_libexecdir}/%name/helper
|
%{buildroot}%{_libexecdir}/%name/helper
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
|
|||||||
%{_unitdir}/chrony*.timer
|
%{_unitdir}/chrony*.timer
|
||||||
%{_sbindir}/rcchrony*
|
%{_sbindir}/rcchrony*
|
||||||
%{_tmpfilesdir}/%{name}.conf
|
%{_tmpfilesdir}/%{name}.conf
|
||||||
%{_fillupdir}/sysconfig.chrony
|
%{_fillupdir}/sysconfig.chronyd
|
||||||
%dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony
|
%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/drift
|
||||||
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc
|
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc
|
||||||
|
@ -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
9
chronyd.sysconfig
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## Path: Network/Chrony
|
||||||
|
## Description: Chrony time synchronization settings
|
||||||
|
## Type: string
|
||||||
|
## Default: ""
|
||||||
|
## ServiceRestart: chronyd
|
||||||
|
#
|
||||||
|
# Command line options for chronyd
|
||||||
|
#
|
||||||
|
OPTIONS=""
|
Loading…
x
Reference in New Issue
Block a user