bugzilla-daemon at netfilter.org
2019-Nov-20 12:45 UTC
[Bug 1383] New: When using include, nft shows the wrong file name in errors
https://bugzilla.netfilter.org/show_bug.cgi?id=1383
Bug ID: 1383
Summary: When using include, nft shows the wrong file name in
errors
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Debian GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: arturo at netfilter.org
Original bug report: https://bugs.debian.org/944759
I reproduced this error locally with latest nftables from git.
=== 8< ==$ cat > nftables.conf <<EOF
include "./nftables-inc.conf"
(
EOF
$ touch nftables-inc.conf
$ /usr/sbin/nft --check --file nftables.conf
In file included from nftables.conf:1:1-30:
./nftables-inc.conf:1:2-2: Error: syntax error, unexpected '('
Notice how nftables is complaining about a syntax error in the
included file, even though the error is actually in the main file.
=== 8< ==
--
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/20191120/18caa59f/attachment.html>
bugzilla-daemon at netfilter.org
2019-Nov-20 12:47 UTC
[Bug 1383] When using include, nft shows the wrong file name in errors
https://bugzilla.netfilter.org/show_bug.cgi?id=1383
Arturo Borrero Gonzalez <arturo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
--
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/20191120/1d2b4968/attachment.html>
bugzilla-daemon at netfilter.org
2019-Dec-31 19:55 UTC
[Bug 1383] When using include, nft shows the wrong file name in errors
https://bugzilla.netfilter.org/show_bug.cgi?id=1383
kfm at plushkava.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kfm at plushkava.net
--
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/20191231/f7341ba9/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jan-05 15:14 UTC
[Bug 1383] When using include, nft shows the wrong file name in errors
https://bugzilla.netfilter.org/show_bug.cgi?id=1383
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Fixed upstream, thanks for reporting.
http://git.netfilter.org/nftables/commit/?id=4441c0233cbcb74b08a53720557e76bf0b26c998
--
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/20200105/680a042a/attachment.html>
Seemingly Similar Threads
- [Bug 1196] New: nft does not allow comments within sets: Error: syntax error, unexpected newline
- [Bug 1347] New: ebtables-nft: regression in -o option
- [Bug 1438] New: nft generates wrong intervals for sets with auto-merge
- [Bug 1361] New: nft segfault on overlapping intervals
- [Bug 1298] New: Issue with REJECT in custom chains