Enable again binding to device

It seems binding to device would work on normal machines. It seems only
systemd-nspawn has problem with that. Fix it by commenting out BintsTo=
line on containers now (reported on rhbz#1941458).
This commit is contained in:
Petr Menšík 2021-03-22 08:56:02 +01:00
parent 6ea6558ed4
commit 7ef4cc1b1a
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: dhcpcd Name: dhcpcd
Version: 9.4.0 Version: 9.4.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A minimalistic network configuration daemon with DHCPv4, rdisc and DHCPv6 support Summary: A minimalistic network configuration daemon with DHCPv4, rdisc and DHCPv6 support
License: BSD License: BSD
URL: http://roy.marples.name/projects/%{name}/ URL: http://roy.marples.name/projects/%{name}/
@ -85,6 +85,9 @@ install -d %{buildroot}%{_sharedstatedir}/%{_name}
%{_sharedstatedir}/%{name} %{_sharedstatedir}/%{name}
%changelog %changelog
* Mon Mar 22 2021 Petr Menšík <pemensik@redhat.com> - 9.4.0-2
- Reenable net device binding
* Fri Mar 19 2021 Petr Menšík <pemensik@redhat.com> - 9.4.0-1 * Fri Mar 19 2021 Petr Menšík <pemensik@redhat.com> - 9.4.0-1
- Update to 9.4.0 - Update to 9.4.0

View File

@ -2,6 +2,8 @@
Description=dhcpcd on %I Description=dhcpcd on %I
Wants=network.target Wants=network.target
Before=network.target Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service] [Service]
Type=forking Type=forking