<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nft add element fails when preceded by nft get element or nft delete element commands"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1451#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nft add element fails when preceded by nft get element or nft delete element commands"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1451">bug 1451</a>
from <span class="vcard"><a class="email" href="mailto:oliver@urbanotter.com" title="Oliver O'Boyle <oliver@urbanotter.com>"> <span class="fn">Oliver O'Boyle</span></a>
</span></b>
<pre>And just to close the loop, if I insert a nft delete command in between the nft
get and nft add commands, I get an error saying the element doesn't exist but
then the nft add still fails. Logs below (IN REVERSE ORDER, bottom up):
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED ADD OPERATION #1 BELOW - add
13.225.226.203 to report_cb_4
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Error: Could not process rule: File
exists
Aug 20 15:16:14 lab-migw bash[863800]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863800]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863800]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863800]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate add
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED DEL OPERATION #1 BELOW - get
13.225.226.203 from report_cb_4
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Error: Could not process rule: No such
file or directory
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Error: interval not found in set
Aug 20 15:16:14 lab-migw bash[863799]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863799]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863799]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863799]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate delete
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED GET OPERATION #1 BELOW - get
13.225.226.203 from report_cb_4
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Error: Could not process rule: No such
file or directory
Aug 20 15:16:14 lab-migw bash[863798]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863798]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863798]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863798]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate get</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>