Commit Graph

337 Commits

Author SHA1 Message Date
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
Lubomir Rintel
58f87738ea Move the NetworkManager dispatcher script out of /etc
It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.
2019-08-29 16:31:35 +02:00
Miroslav Lichvar
3a97d2952c upload new sources 2019-08-27 15:37:42 +02:00
Miroslav Lichvar
c0f3bfcbcd verify upstream signatures 2019-08-27 15:34:56 +02:00
Fedora Release Engineering
e6d617a744 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:14:40 +00:00
Miroslav Lichvar
3364ee9583 3.5-3 2019-07-16 15:39:26 +02:00
Miroslav Lichvar
06bbe31ce3 3.5-2 2019-05-23 09:52:48 +02:00
Miroslav Lichvar
cafc2b7a75 fix shellcheck warnings in helper scripts 2019-05-23 09:50:28 +02:00
Miroslav Lichvar
b0ec18c672 3.5-1 2019-05-14 14:48:24 +02:00
Miroslav Lichvar
63544d16c4 update to 3.5 2019-05-14 14:47:30 +02:00
Miroslav Lichvar
52c0bdd69b 3.5-0.1.pre1 2019-05-02 16:36:26 +02:00
Miroslav Lichvar
409ca2664e update to 3.5-pre1 2019-05-02 16:29:14 +02:00
Fedora Release Engineering
3b217375b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:34:46 +00:00
Igor Gnatenko
d403b1ea39 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00