Commit Graph

300 Commits

Author SHA1 Message Date
Miroslav Lichvar
cdae473dfc harden chronyd and chrony-wait services 2021-09-29 16:20:36 +02:00
Miroslav Lichvar
49d1a1fef3 4.1-3 2021-08-09 15:54:11 +02:00
Miroslav Lichvar
e7d17261da update seccomp filter for new glibc 2021-08-09 15:52:20 +02:00
Miroslav Lichvar
eeb5738583 remove unnecessary build requirement 2021-08-05 09:26:45 +02:00
Miroslav Lichvar
db7c1c4450 update out-of-date comment about NM DHCP script 2021-08-05 09:26:45 +02:00
Fedora Release Engineering
41461a14e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:26:44 +00:00
Fedora Release Engineering
1fbbda2376 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:29:32 +00:00
Miroslav Lichvar
f1723893df 4.1-1 2021-05-13 16:55:54 +02:00
Miroslav Lichvar
eeffcafda9 enable seccomp filter by default
Add -F 2 to default /etc/sysconfig/chronyd to enable a filter blocking a
small number of specific system calls. The filter is incompatible with
the mailonchange directive.
2021-05-13 16:55:34 +02:00
Miroslav Lichvar
c6a8172473 add bcond for seccomp 2021-05-13 16:35:50 +02:00
Miroslav Lichvar
7065ea6b2d update to 4.1 2021-05-13 16:03:51 +02:00
Miroslav Lichvar
3353132ff7 4.1-0.1.pre1 2021-04-22 14:55:09 +02:00
Miroslav Lichvar
f9f7cf22a9 update to 4.1-pre1 2021-04-22 14:52:16 +02:00
Miroslav Lichvar
ba7e409249 rework NM-dispatcher/dhclient detection
The packaged NM dispatcher and dhclient scripts provide the same
functionality. Only one should be active depending on the system
configuration.

Instead of guessing in the NM dispatcher script whether the dhclient
script is executed, check in the dhclient script whether it is called
from a NM dispatcher script (the 11-dhclient script included in the
dhcp-client package).

This is simpler and it removes dependency on the 11-dhclient script.
2021-04-22 13:21:39 +02:00
Miroslav Lichvar
c3c3f0c2dd enable LTO on s390x
Update clknetsim to fix test failure on s390x with enabled LTO.
2021-04-22 11:03:05 +02:00
Zbigniew Jędrzejewski-Szmek
b1f5ca1523 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:14:05 +01:00
Miroslav Lichvar
ed6f12d1c1 4.0-3 2021-02-02 10:48:16 +01:00
Christian Glombek
7f89c4666b update NM DHCP dispatcher script
Updates the patch with downstream changes from
https://github.com/openshift/os/pull/486
and https://github.com/openshift/os/pull/494
2021-02-02 10:46:27 +01:00
Miroslav Lichvar
a565083d9b fix spec indentation 2021-02-02 10:46:27 +01:00
Fedora Release Engineering
65b8f20ff6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:57:12 +00:00
Tom Stellard
dbe22151e2 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:13:45 +00:00
Miroslav Lichvar
0fb07c271c drop dnssrv service and timer
They no longer work as they rely on the chrony-helper script, which was
dropped in 4.0-1.
2020-11-04 15:59:53 +01:00
Miroslav Lichvar
38e248d337 4.0-1 2020-10-07 18:34:12 +02:00
Miroslav Lichvar
2baf9594ab update to 4.0 2020-10-07 18:33:19 +02:00
Miroslav Lichvar
1fd00dcac3 update directory permissions to follow upstream 2020-09-24 11:13:22 +02:00
Miroslav Lichvar
960e995c53 4.0-0.9.pre3 2020-09-16 12:55:14 +02:00
Miroslav Lichvar
252f14c474 update to 4.0-pre4 2020-09-16 12:36:57 +02:00
Miroslav Lichvar
8b2e77bb85 4.0-0.8.pre3 2020-08-26 09:39:23 +02:00
Miroslav Lichvar
4578c8d659 move default paths in /var/run to /run 2020-08-26 09:39:23 +02:00
Miroslav Lichvar
3b687e3ada drop old migration code from scriptlet 2020-08-26 09:39:23 +02:00
Robert Fairley
9bae83fd80 patch DHCP NM dispatcher for distribution
Patch the upstream example `nm-dispatcher.dhcp` with
Fedora/RHEL-specific behavior including exiting if a dhclient
install is detected, and using the /etc/sysconfig paths.

Originally part of work for fixing integration between the
NetworkManager internal DHCP client and chrony:
https://bugzilla.redhat.com/show_bug.cgi?id=1800901
2020-08-26 09:39:23 +02:00
Miroslav Lichvar
0ecc1e4fe9 switch to sourcedir directive for loading servers from DHCP
Drop the chrony-helper script in favor of the new sourcedir directive.

Modify the dhclient script to save NTP servers from DHCP to
/run/chrony-dhcp/$interface.sources and configure chronyd to (re)load
the sources from files in that directory on start and the "reload
sources" command.

Other functionality of the helper script is dropped with no
replacemement.
2020-08-26 09:39:23 +02:00
Miroslav Lichvar
304dad1ba3 update to 4.0-pre3 2020-08-25 12:59:54 +02:00
Jeff Law
26e6c4a46d Disable LTO on s390x for now 2020-08-10 14:51:17 -06:00
Fedora Release Engineering
42541fd056 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:22:10 +00:00
Fedora Release Engineering
e041600a11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:57:34 +00:00
Tom Stellard
26ef0d15b0 use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 08:41:13 +02:00
Miroslav Lichvar
58c7956c63 4.0-0.3.pre2 2020-05-04 09:44:41 +02:00
Miroslav Lichvar
069897be45 4.0-0.2.pre2 2020-04-20 16:54:47 +02:00
Miroslav Lichvar
6e0c18861d update to 4.0-pre2 2020-04-20 16:54:04 +02:00
Miroslav Lichvar
14baaf0f8f fix testing on ppc64le and s390x 2020-03-18 12:49:50 +01:00
Miroslav Lichvar
7c4c641397 4.0-0.1.pre1 2020-03-17 15:27:44 +01:00
Miroslav Lichvar
3292ab8a8e update to 4.0-pre1 2020-03-17 15:27:42 +01:00
Miroslav Lichvar
eff127108e add net-tools to build requirements for testing 2020-03-17 15:06:54 +01:00
Miroslav Lichvar
127d88dd27 add missing dependency on coreutils 2020-03-17 15:06:31 +01:00
Fedora Release Engineering
680f8eded3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:01:03 +00:00
Miroslav Lichvar
b4ceda5f40 3.5-7 2020-01-20 12:21:29 +01:00
Miroslav Lichvar
1e0baf8ccb fix testing with new glibc (#1792854) 2020-01-20 12:20:42 +01:00
Miroslav Lichvar
718aa8464c 3.5-6 2019-10-09 17:05:15 +02:00
Miroslav Lichvar
ae57c18ced drop timedatex recommendation
systemd-timedated has obsoleted timedatex in F31.
2019-10-09 17:04:42 +02:00