Accepting request 660562 from network:time

- Read runtime servers from /var/run/netconfig/chrony.servers to
  fix bsc#1099272.
- Move chrony-helper to /usr/lib/chrony/helper, because there
  should be no executables in /usr/share.

- Make sure to generate correct sysconfig file (boo#1117147)
- Update clknetsim to revision 8b48422

OBS-URL: https://build.opensuse.org/request/show/660562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2018-12-26 23:25:18 +00:00 committed by Git OBS Bridge
commit babc6b92da
6 changed files with 23 additions and 9 deletions

View File

@ -4,7 +4,7 @@
PIDFile=/var/run/chrony/chronyd.pid
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStart=/usr/sbin/chronyd $OPTIONS
+ExecStartPost=/usr/share/chrony-helper update-daemon
+ExecStartPost=/usr/lib/chrony/helper update-daemon
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Dec 20 16:48:14 UTC 2018 - Reinhard Max <max@suse.com>
- Read runtime servers from /var/run/netconfig/chrony.servers to
fix bsc#1099272.
- Move chrony-helper to /usr/lib/chrony/helper, because there
should be no executables in /usr/share.
-------------------------------------------------------------------
Fri Dec 14 08:05:35 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Make sure to generate correct sysconfig file (boo#1117147)
- Update clknetsim to revision 8b48422
-------------------------------------------------------------------
Thu Nov 22 09:27:58 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -9,7 +9,7 @@ helper_dir=/var/run/chrony-helper
added_servers_file=$helper_dir/added_servers
network_sysconfig_file=/etc/sysconfig/network
dhclient_servers_files=/var/lib/dhclient/chrony.servers.*
dhclient_servers_files=/var/run/netconfig/chrony.servers
dnssrv_servers_files=$helper_dir/dnssrv@*
dnssrv_timer_prefix=chrony-dnssrv@

View File

@ -17,7 +17,7 @@
%define vendorzone opensuse.
%global clknetsim_ver cdf5e85
%global clknetsim_ver 8b48422
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
@ -170,7 +170,7 @@ echo 'chronyd.service' > \
install -Dpm 0644 %{SOURCE2} \
%{buildroot}%{_fillupdir}/sysconfig.chrony
install -Dpm 755 %{SOURCE4} \
%{buildroot}%{_datadir}/chrony-helper
%{buildroot}%{_libexecdir}/%name/helper
install -d %{buildroot}%{_localstatedir}/log/chrony
touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
@ -193,7 +193,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%service_del_preun chronyd.service chrony-wait.service
%post
%fillup_only %{name}
%fillup_only -n chronyd
%tmpfiles_create %{name}.conf
%service_add_post chronyd.service chrony-wait.service
@ -214,7 +214,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
%{_bindir}/chronyc
%{_sbindir}/chronyd
%{_datadir}/chrony-helper
%{_libexecdir}/%name
%{_mandir}/man1/chronyc.1%{?ext_man}
%{_mandir}/man5/chrony.conf.5%{?ext_man}
%{_mandir}/man8/chronyd.8%{?ext_man}

3
clknetsim-8b48422.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d12ea5345b68c3e18da4a4e18af5ccbe138f1832cb20d807a1ed0aaea7b8055e
size 42144

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:780aff25c66537ee30e2b3c5a3fa10afeda5b8b55dc6c326bcd193e0a210bccc
size 42027