FS#60062 - [iptables] Missing ebtables-save, ebtables-restore scripts
Attached to Project:
Arch Linux
Opened by Deposite Pirate (dpirate) - Friday, 14 September 2018, 17:28 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 24 September 2018, 07:39 GMT
Opened by Deposite Pirate (dpirate) - Friday, 14 September 2018, 17:28 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 24 September 2018, 07:39 GMT
|
Details
Description:
The ebtables packages was recently obsoleted and ebtables is now part of the iptables packages. The packages does include '/usr/lib/systemd/system/ebtables.service' and '/usr/lib/systemd/scripts/ebtables' which require 'ebtables-restore' and 'ebtables-save' to work. These are missing from the package. Furthermore, the /etc/ebtables.conf file is also missing. The existing /etc/ebtables.conf after upgrade has .pacsave appended to it. This is a critical bug that can easily break hosts making them completely unreachable without physical access to them. Some people using ebtables (for example BROUTING) are going to have a nasty surprise if they restart their router before this gets fixed. Additional info: iptables-1.8.0-1 iptables-1.8.0-2 |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Monday, 24 September 2018, 07:39 GMT
Reason for closing: Fixed
Additional comments about closing: Downgraded to 1.6.x.
Monday, 24 September 2018, 07:39 GMT
Reason for closing: Fixed
Additional comments about closing: Downgraded to 1.6.x.
I'll add the latest 1.8 back to testing after.
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community-testing is up to date
community is up to date
multilib-testing is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: installing iptables (1:1.6.2-3) breaks dependency 'ebtables' required by docker-machine-driver-kvm2
:: installing iptables (1:1.6.2-3) breaks dependency 'ebtables' required by docker-machine-kvm
:: installing iptables (1:1.6.2-3) breaks dependency 'ebtables' required by firewalld
So, it breaks the dependency.
The solution is to pacman -Syu ebtables
Or pacman -Syu firewalld (or any other package which in the general case is missing such a dependency), which will *reinstall* firewalld while at the same time, re-pulling all its dependencies, thereby adding extra/ebtables to the "to-be-installed" list. Which causes the dependencies to match, and the upgrade can go through.
There's really no way to solve this outside of that, though.
# pacman -S iptables arptables ebtables
...
# pacman -Ss ^iptables
testing/iptables 1:1.6.2-3 [installed]
Linux kernel packet control tool
core/iptables 1.8.0-1 [installed: 1:1.6.2-3]
Linux kernel packet control tool
# pacman -Su
:: Starting full system upgrade...
:: Replace arptables with core/iptables? [Y/n]
:: Replace ebtables with core/iptables? [Y/n]
resolving dependencies...
looking for conflicting packages...
Package (3) Old Version New Version Net Change
arptables 0.0.4-5 -0,07 MiB
ebtables 2.0.10_4-6 -0,23 MiB
core/iptables 1:1.6.2-3 1.8.0-1 0,16 MiB
Total Installed Size: 2,36 MiB
Net Upgrade Size: -0,14 MiB
:: Proceed with installation? [Y/n]
I think we should not let both packages too long in the repos.
For the time being, excluding the iptables-1.8.0 package works as expected until the fix gets pushed in a subsequent version.
Apparently, iptables-1.8.0-1 and 1.8.0-2 have not resolved the issue, as far as I understand it.