<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1259">1259</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade
</td>
</tr>
<tr>
<th>Product</th>
<td>netfilter/iptables
</td>
</tr>
<tr>
<th>Version</th>
<td>linux-2.6.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>Ubuntu
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>bridging
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>redbeardesq@outlook.com
</td>
</tr></table>
<p>
<div>
<pre>Updating ebtables on Ubuntu 18.04 on WSL broke routine apt upgrades.
<a href="https://github.com/Microsoft/WSL/issues/1761#issuecomment-380287716">https://github.com/Microsoft/WSL/issues/1761#issuecomment-380287716</a>
The ebtables stop script called as part of the ebtables upgrade returns an
error to apt and halts the apt upgrade.
<a href="https://bugs.launchpad.net/ubuntu/+source/ebtables/+bug/1774120/comments/1">https://bugs.launchpad.net/ubuntu/+source/ebtables/+bug/1774120/comments/1</a>
The error seems to come from ebtables mishandling of a EPROTONOSUPPORT syscall
in communication.c in ebtables.
<a href="https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2018-May/018072.html">https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2018-May/018072.html</a>
WSL fully supports EPROTONOSUPPORT syscalls, has since 2017.
<a href="https://github.com/Microsoft/WSL/issues/1451">https://github.com/Microsoft/WSL/issues/1451</a>
The fix for ebtables for now has been to work around the ebtables error message
in the stop script, basically to ignore the error.
<a href="https://launchpadlibrarian.net/372611750/lp1774120-cosmic.debdiff">https://launchpadlibrarian.net/372611750/lp1774120-cosmic.debdiff</a>
<a href="https://github.com/Microsoft/WSL/issues/1761#issuecomment-392575807">https://github.com/Microsoft/WSL/issues/1761#issuecomment-392575807</a>
I think the long-term fix will be to fix ebtables handling of EPROTONOSUPPORT
calls.
Thank you.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>