Your message dated Tue, 17 Dec 2019 13:20:42 +0000
with message-id <e1ihcmi-0006tw...@fasolo.debian.org>
and subject line Bug#946219: fixed in nftables 0.9.3-2
has caused the Debian Bug report #946219,
regarding python3-nftables non-functional without libnftables-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
946219: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946219
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-nftables
Version: 0.9.3-1
Severity: serious

Hi Arturo,

thanks for packaging 0.9.3 so promptly.

Today I wanted to update firewalld to 0.8.0, which makes use of
python3-nftables. Unfortunately, I ran into problems. At first I
suspected that firewalld is buggy, but then it turned out, that
python3-nftables is the culprit. When running firewalld 0.8.0 in debug
mode, the problem became apparent:

# /usr/sbin/firewalld --nofork --nopid --debug
2019-12-05 19:44:13 DEBUG1: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/firewall/server/decorators.py", line 53, 
in handle_exceptions
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/firewall/server/firewalld.py", line 77, 
in __init__
    self.fw = Firewall()
  File "/usr/lib/python3/dist-packages/firewall/core/fw.py", line 88, in 
__init__
    self.nftables_backend = nftables.nftables(self)
  File "/usr/lib/python3/dist-packages/firewall/core/nftables.py", line 173, in 
__init__
    self.nftables = Nftables()
  File "/usr/lib/python3/dist-packages/nftables/nftables.py", line 77, in 
__init__
    lib = cdll.LoadLibrary(sofile)
  File "/usr/lib/python3.7/ctypes/__init__.py", line 442, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libnftables.so: cannot open shared object file: No such file or 
directory


It seems, that python3-nftables tries to load the .so symlink, not the
actual soversioned library.
Installing libnftables-dev, which provides the symlink, made
python3-nftables functional, but this is of course not a proper fix.

python3-nftables should load libnftables.so.1 instead.

Regards,
Michael



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-nftables depends on:
ii  libnftables1  0.9.3-1
ii  python3       3.7.5-3

python3-nftables recommends no packages.

python3-nftables suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: nftables
Source-Version: 0.9.3-2

We believe that the bug you reported is fixed in the latest version of
nftables, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 946...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arturo Borrero Gonzalez <art...@debian.org> (supplier of updated nftables 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 17 Dec 2019 13:49:23 +0100
Source: nftables
Architecture: source
Version: 0.9.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Netfilter Packaging Team 
<pkg-netfilter-t...@lists.alioth.debian.org>
Changed-By: Arturo Borrero Gonzalez <art...@debian.org>
Closes: 946219 946332
Changes:
 nftables (0.9.3-2) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Use secure URI in Homepage field.
   * Set debhelper-compat version in Build-Depends.
   * Re-export upstream signing key without extra signatures.
   * debian/copyright: use spaces rather than tabs to start continuation
     lines.
   * Drop unnecessary dependency on dh-autoreconf.
   * Use canonical URL in Vcs-Git.
 .
   [ Chris Lamb ]
   * [24184a4] nftables: don't install example Makefile (Closes: #946332)
 .
   [ Arturo Borrero Gonzalez ]
   * [7d2cf78] d/patches: add 0001-upstream-py-load-soname.patch
     (Closes: #946219)
Checksums-Sha1:
 16b08d0d95cdba13feb3e8035ace87a581a0c781 2716 nftables_0.9.3-2.dsc
 e1f5cae4dbefeb9e465efb3566ca55461ba6e948 20008 nftables_0.9.3-2.debian.tar.xz
 fdf7fb9cd9fdb26590eec167cb50b3504d5424e7 8046 nftables_0.9.3-2_amd64.buildinfo
Checksums-Sha256:
 d680a0fcd729a4500765289086c65eb094f45e2f43f6a5a7574f1f21c3cc2e81 2716 
nftables_0.9.3-2.dsc
 6f4e9d5aa79f3adc1b79f2ab49680e675ae5e263dff9e59447c010a7bef5d4b9 20008 
nftables_0.9.3-2.debian.tar.xz
 e092371498825f3835ec4afb533efd17792dc49f89406d79ed43c078f5bd2b03 8046 
nftables_0.9.3-2_amd64.buildinfo
Files:
 ffad4d5b241ef3b9acac59645fd8e271 2716 net important nftables_0.9.3-2.dsc
 06d3c2fd86af62e1aa4022a79d61c8b3 20008 net important 
nftables_0.9.3-2.debian.tar.xz
 bf5bb156beda8c91e26b279eed96e30e 8046 net important 
nftables_0.9.3-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3ZhhqyPcMzOJLgepaOcTmB0VFfgFAl34z9sACgkQaOcTmB0V
Ffh2yRAAoLOzXdoqKyY5wZ6EUXSrqYc5Ge0KY+8fFYpBWz+AOEBqOpNvwWLolzVp
tP5cs8trHxEpjNN3YREWPk0ZsHVdC5D9xZgpd+49VqJ+pC4692C1U5Tjm6bLM6fS
8dcQhW8OmsWYs6PEMoJU3mXOau9riEWVlyni1S61XhumvLMoeM54L3qodOj132uM
yasaqbZ1hcvGMA9T3/yvdjCB2aiqjAWXpltkTWr09LQ7awUxdxjNVqs2Lk6UuMdF
w3OkbVOTizI8jt+0+xj3RHU6dD4bPcs48Iml2xHbumuA9zK5zDbDsUwEsTb2AAwJ
mULHFYKXOyCUH72mr38sIVlcsL2Ey8c4tarB+NSS/yl5/oIYNLECLa0z7fUmf6Ga
rl7k+uqUTIwk6ZQ4/1IFpBV6Q2AOy1u632RztNLn/GkeWa8S5ow0Lv/zvuWzQD2E
ggPzoTdG3CQGDNAsq7OxWkJs3eiN+LVextLpUHVwmmTSnxav7NksH8K20WxDqkmm
MP5ghWVemfAbyqIJhg8GcQu+KHweNtpju2yuMrBFGTu/z9Y0PDUNQ+uYlmB2grk2
/LD0e+dJCb9tIbfViAn0r4f/k0V1MeeZzVGWeFJnljMUDAzZ7nrMd5DTjJFnlBqd
LXW7gmNCTJ8tYr6qEUCu8m+p5ed/k8HCqmy0qyFyZyBCE4aTXww=
=nN4y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to