Debian Bug report logs - #855400
gufw should depend on net-tools (crashes without it)

version graph

Package: gufw; Maintainer for gufw is Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>; Source for gufw is src:gui-ufw (PTS, buildd, popcon).

Reported by: João Pirralha <joaopirralha@gmail.com>

Date: Fri, 17 Feb 2017 13:45:02 UTC

Severity: serious

Found in version gui-ufw/17.04.1-1

Fixed in version gui-ufw/17.04.1-1.1

Done: Adrian Bunk <bunk@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, joaopirralha@gmail.com, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>:
Bug#855400; Package gufw. (Fri, 17 Feb 2017 13:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to João Pirralha <joaopirralha@gmail.com>:
New Bug report received and forwarded. Copy sent to joaopirralha@gmail.com, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>. (Fri, 17 Feb 2017 13:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: João Pirralha <joaopirralha@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gufw should depend on net-tools (crashes without it)
Date: Fri, 17 Feb 2017 13:40:55 +0000
Package: gufw
Version: 17.04.1-1
Severity: normal

Dear Maintainer,

Installing gufw on a fresh Debian stretch system (installed from a DI RC2
image) doesn't install net-tools, causing gufw to crash when starting.

Installing net-tools fixes this problem.


Traceback (most recent call last):
  File "/usr/share/gufw/gufw/gufw.py", line 30, in <module>
    gufw = Gufw(controler.get_frontend())
  File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 81, in __init__
    self.winadd = Add(self)
  File "/usr/share/gufw/gufw/gufw/view/add.py", line 43, in __init__
    self._set_initial_values()
  File "/usr/share/gufw/gufw/gufw/view/add.py", line 101, in
_set_initial_values
    for ifaceName in self.gufw.fw.get_net_interfaces():
  File "/usr/share/gufw/gufw/gufw/model/frontend.py", line 126, in
get_net_interfaces
    return self.firewall.get_net_interfaces(exclude_iface)
  File "/usr/share/gufw/gufw/gufw/model/firewall.py", line 251, in
get_net_interfaces
    all_faces = self.backend.get_net_interfaces()
  File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 462, in
get_net_interfaces
    cmd = self._run_cmd(cmd_ifaces)
  File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 37, in _run_cmd
    proc = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
  File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: 'netstat'



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_PT.utf8, LC_CTYPE=pt_PT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gufw depends on:
ii  gir1.2-gtk-3.0      3.22.7-2
ii  gir1.2-webkit2-4.0  2.14.3-1
ii  policykit-1         0.105-17
ii  python3-gi          3.22.0-2
pn  python3:any         <none>
ii  ufw                 0.35-4

gufw recommends no packages.

gufw suggests no packages.

-- no debconf information

Information forwarded to debian-bugs-dist@lists.debian.org, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>:
Bug#855400; Package gufw. (Sun, 07 May 2017 14:39:15 GMT) (full text, mbox, link).


Acknowledgement sent to Lee Garrett <debian@rocketjump.eu>:
Extra info received and forwarded to list. Copy sent to Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>. (Sun, 07 May 2017 14:39:16 GMT) (full text, mbox, link).


Message #10 received at 855400@bugs.debian.org (full text, mbox, reply):

From: Lee Garrett <debian@rocketjump.eu>
To: 855400@bugs.debian.org
Subject: gufw should depend on net-tools (crashes without it)
Date: Sun, 7 May 2017 16:27:34 +0200
Hi,

> usr@host:~$ gufw
> Traceback (most recent call last):
>   File "/usr/share/gufw/gufw/gufw.py", line 30, in <module>
>     gufw = Gufw(controler.get_frontend())
>   File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 81, in __init__
>     self.winadd = Add(self)
>   File "/usr/share/gufw/gufw/gufw/view/add.py", line 43, in __init__
>     self._set_initial_values()
>   File "/usr/share/gufw/gufw/gufw/view/add.py", line 101, in _set_initial_values
>     for ifaceName in self.gufw.fw.get_net_interfaces():
>   File "/usr/share/gufw/gufw/gufw/model/frontend.py", line 126, in get_net_interfaces
>     return self.firewall.get_net_interfaces(exclude_iface)
>   File "/usr/share/gufw/gufw/gufw/model/firewall.py", line 251, in get_net_interfaces
>     all_faces = self.backend.get_net_interfaces()
>   File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 462, in get_net_interfaces
>     cmd = self._run_cmd(cmd_ifaces)
>   File "/usr/share/gufw/gufw/gufw/model/ufw_backend.py", line 37, in _run_cmd
>     proc = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>   File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
>     restore_signals, start_new_session)
>   File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
>     raise child_exception_type(errno_num, err_msg)
> FileNotFoundError: [Errno 2] No such file or directory: 'netstat'
> usr@host:~$ 

This package fails to run on a default installation, due to the missing
dependency. Raising the severity accordingly.

Regards,
Lee



Severity set to 'serious' from 'normal' Request was from Lee Garrett <debian@rocketjump.eu> to control@bugs.debian.org. (Sun, 07 May 2017 14:39:17 GMT) (full text, mbox, link).


Reply sent to Adrian Bunk <bunk@debian.org>:
You have taken responsibility. (Sat, 13 May 2017 10:51:04 GMT) (full text, mbox, link).


Notification sent to João Pirralha <joaopirralha@gmail.com>:
Bug acknowledged by developer. (Sat, 13 May 2017 10:51:04 GMT) (full text, mbox, link).


Message #17 received at 855400-close@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: 855400-close@bugs.debian.org
Subject: Bug#855400: fixed in gui-ufw 17.04.1-1.1
Date: Sat, 13 May 2017 10:48:45 +0000
Source: gui-ufw
Source-Version: 17.04.1-1.1

We believe that the bug you reported is fixed in the latest version of
gui-ufw, 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 855400@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated gui-ufw 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 13 May 2017 13:23:39 +0300
Source: gui-ufw
Binary: gufw
Architecture: source
Version: 17.04.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
 gufw       - graphical user interface for ufw
Closes: 855400
Changes:
 gui-ufw (17.04.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add the missing dependency on net-tools, thanks to João Pirralha
     for the bug report. (Closes: #855400)
Checksums-Sha1:
 9b949f040a9d79f69c76a9254c0a7646755f2523 2027 gui-ufw_17.04.1-1.1.dsc
 f498a6547fba04ec293cb13a34c7014f8ad6c9f7 4072 gui-ufw_17.04.1-1.1.debian.tar.xz
Checksums-Sha256:
 a325f3427bd76f6c6a9559b0d62c794e93a3aa136103fccb87de22943dd30066 2027 gui-ufw_17.04.1-1.1.dsc
 a95d183f1e611c9297ba3a747bdecc22f99642bbe380393b88ab75a13e558e21 4072 gui-ufw_17.04.1-1.1.debian.tar.xz
Files:
 b78de8b49acabf33629b69e455cbd90a 2027 admin optional gui-ufw_17.04.1-1.1.dsc
 606ee471bbda5d0b9778a7f7694aa7b0 4072 admin optional gui-ufw_17.04.1-1.1.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlkW4NYACgkQiNJCh6LY
mLECrg/7BKryEeBbFYByQ7vk6317nydklyGZbIsjSJXIoiZZ3KMN9Ag/nwlU38uU
m1jWfGyr0rtCVwtlnswu+7ZiDny7ecsM185Q6S3UwKZKjjDpT91TSVE2tJrIDsaw
N+zGT6zfQQfYBFmodC63adad3vbqZG7wKJao1yqxZd4ox14ViP5UGiB13r6p0t6w
yCTB/XJ2XZP0nMjdgcJpBbWqDGx2LFOpbhaExi4FJGy8906vsnAHrDjSbNdh7xEQ
eqxn3SnugFMm5yFP8zEK8AofT5l0Kgnzj9fgMQ2gYXjcy+JW5dX9gsGPYOrZh0OW
cEOoS0KI2jy1zUvzxsJemWxpetacpjimnZl/Jdlc/rrIu6QVO41nXIoFina9m2wY
4ZFDFUkUkbRMPfuNdsZ8mA9Z+R206ARQ2dkB1hNRG6uD5Stpsdo1fNp0/EXElBtj
tdTbLu3/CfkMqLn0kGk21gbQpNBFRel2JnhU19qh0VAgkl/Fn9inbYI11vbUuQN/
s6fj89yzjG67vp5ukgjjvF7yomkjoj/md4Y/24+Vq/oxysfbktyetczGF8742jNz
54jlei0vgd6gtD0aRgwt3H6WBbt8gsoe39B601UMfYf1vMYDR6kBwpebTm6Fwu3n
rlOO1gONRdnlT089lp/0pDE5E/whTmjwCqERXa20fNVze1WiX5k=
=vBBt
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 Jun 2017 07:24:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 04:12:35 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.