bugzilla-daemon at netfilter.org
2018-Jun-01 01:03 UTC
[Bug 1259] New: Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade
https://bugzilla.netfilter.org/show_bug.cgi?id=1259
Bug ID: 1259
Summary: Handling of EPROTONOSUPPORT in ebtables breaking
Ubuntu 18.04 apt-get upgrade
Product: netfilter/iptables
Version: linux-2.6.x
Hardware: x86_64
OS: Ubuntu
Status: NEW
Severity: normal
Priority: P5
Component: bridging
Assignee: netfilter-buglog at lists.netfilter.org
Reporter: redbeardesq at outlook.com
Updating ebtables on Ubuntu 18.04 on WSL broke routine apt upgrades.
https://github.com/Microsoft/WSL/issues/1761#issuecomment-380287716
The ebtables stop script called as part of the ebtables upgrade returns an
error to apt and halts the apt upgrade.
https://bugs.launchpad.net/ubuntu/+source/ebtables/+bug/1774120/comments/1
The error seems to come from ebtables mishandling of a EPROTONOSUPPORT syscall
in communication.c in ebtables.
https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2018-May/018072.html
WSL fully supports EPROTONOSUPPORT syscalls, has since 2017.
https://github.com/Microsoft/WSL/issues/1451
The fix for ebtables for now has been to work around the ebtables error message
in the stop script, basically to ignore the error.
https://launchpadlibrarian.net/372611750/lp1774120-cosmic.debdiff
https://github.com/Microsoft/WSL/issues/1761#issuecomment-392575807
I think the long-term fix will be to fix ebtables handling of EPROTONOSUPPORT
calls.
Thank you.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180601/7b1209a6/attachment.html>
bugzilla-daemon at netfilter.org
2018-Jun-01 01:21 UTC
[Bug 1259] Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade
https://bugzilla.netfilter.org/show_bug.cgi?id=1259 --- Comment #1 from redbeardesq at outlook.com --- eading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: ebtables 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/79.9 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 84358 files and directories currently installed.) Preparing to unpack .../ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb ... invoke-rc.d: could not determine current runlevel * Error: insufficient privileges to access the ebtables rulesets. invoke-rc.d: initscript ebtables, action "stop" failed. dpkg: warning: old ebtables package pre-removal script subprocess returned error exit status 1 dpkg: trying script from the new package instead ... invoke-rc.d: could not determine current runlevel * Error: insufficient privileges to access the ebtables rulesets. invoke-rc.d: initscript ebtables, action "stop" failed. dpkg: error processing archive /var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb (--unpack): new ebtables package pre-removal script subprocess returned error exit status 1 update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel Errors were encountered while processing: /var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Contrary to the error messages though I do not believe it's a permissions error because I can reproduce the error as root. On the other hand, someone has suggested that apt doesn't care if you are root. https://github.com/Microsoft/WSL/issues/1761#issuecomment-371246054 -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180601/c851d758/attachment.html>
bugzilla-daemon at netfilter.org
2018-Jun-01 01:21 UTC
[Bug 1259] Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade
https://bugzilla.netfilter.org/show_bug.cgi?id=1259
redbeardesq at outlook.com changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://github.com/Microsof
| |t/WSL/issues/1761
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180601/1715171e/attachment.html>
bugzilla-daemon at netfilter.org
2018-Jun-01 01:22 UTC
[Bug 1259] Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade
https://bugzilla.netfilter.org/show_bug.cgi?id=1259
redbeardesq at outlook.com changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://launchpad.net/bugs/
| |1774120
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180601/f02113ab/attachment.html>
Reasonably Related Threads
- [Bug 1432] New: ebtables ebtables-2.0.11 buffer overflow on getting kernel data ( ebtables compiled with address sanitizer)
- [Bug 1481] New: [ebtables-nft] ebtables -E gives error
- [Bridge] Re: [RESEND][PATCH] ebtables: clean up vmalloc usage in net/bridge/netfilter/ebtables.c
- [ANNOUNCE] ebtables 2.0.11 release
- [Bug 1723] New: ebtables-nft help output woes