add debian symbols tracking for libnftables1 package
Bug #1965464 reported by
Steve Beattie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nftables (Debian) |
Fix Released
|
Unknown
|
|||
nftables (Ubuntu) |
Fix Released
|
High
|
Steve Beattie |
Bug Description
As part of the MIR for nftables, the addition of symbols tracking in the debian packaging for nftables is a requirement.
Changed in nftables (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Steve Beattie (sbeattie) |
Changed in nftables (Debian): | |
status: | Unknown → New |
Changed in nftables (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
One concern with this is that the upstream symbol versioning is broken; generating the debian symbols file looks like so:
libnftables.so.1 libnftables1 #MINVER# add_include_ path@Base 0.9.2 add_var@ Base 1.0.0 buffer_ error@Base 0.9.2 buffer_ output@ Base 0.9.2 clear_include_ paths@Base 0.9.2 clear_vars@ Base 1.0.0 get_dry_ run@Base 0.9.2 get_error_ buffer@ Base 0.9.2 get_optimize@ Base 1.0.2 get_output_ buffer@ Base 0.9.2 output_ get_debug@ Base 0.9.2 output_ get_flags@ Base 0.9.2 output_ set_debug@ Base 0.9.2 output_ set_flags@ Base 0.9.2 set_dry_ run@Base 0.9.2 set_error@ Base 0.9.2 set_optimize@ Base 1.0.2 set_output@ Base 0.9.2 unbuffer_ error@Base 0.9.2 unbuffer_ output@ Base 0.9.2 cmd_from_ buffer@ Base 0.9.2 cmd_from_ filename@ Base 0.9.2
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_free@Base 0.9.2
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_new@Base 0.9.2
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_ctx_
nft_run_
nft_run_
@Base is used because of: symbol- versions --defined-only /usr/lib/ x86_64- linux-gnu/ libnftables. so.1.1. 0 add_include_ path buffer_ error buffer_ output clear_include_ paths get_error_ buffer get_optimize get_output_ buffer output_ get_debug output_ get_flags output_ set_debug output_ set_flags set_optimize unbuffer_ error unbuffer_ output cmd_from_ buffer cmd_from_ filename
$ nm -D --with-
000000000005ad10 T nft_ctx_
000000000005abe0 T nft_ctx_add_var
000000000005b150 T nft_ctx_
000000000005b050 T nft_ctx_
000000000005ad90 T nft_ctx_
000000000005acb0 T nft_ctx_clear_vars
000000000005b2e0 T nft_ctx_free
000000000005b590 T nft_ctx_get_dry_run
000000000005b2a0 T nft_ctx_
000000000005b5b0 T nft_ctx_
000000000005b270 T nft_ctx_
000000000005add0 T nft_ctx_new
000000000005b5f0 T nft_ctx_
000000000005b5d0 T nft_ctx_
000000000005b600 T nft_ctx_
000000000005b5e0 T nft_ctx_
000000000005b5a0 T nft_ctx_set_dry_run
000000000005b550 T nft_ctx_set_error
000000000005b5c0 T nft_ctx_
000000000005b510 T nft_ctx_set_output
000000000005b200 T nft_ctx_
000000000005b0f0 T nft_ctx_
000000000005b610 T nft_run_
000000000005b960 T nft_run_
This despite the symbol map in the upstream project: https:/ /git.netfilter. org/nftables/ tree/src/ libnftables. map