[oneiric] ufw ftbfs
Bug #812516 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge | ||
Oneiric |
Fix Released
|
High
|
Jamie Strandboge |
Bug Description
ufw FTBFS with:
Performing tests 'good/reports'
- installing
- result:
Command 'show listening' exited with '1', but expected '0'
** FAIL **
Reproducer in a schroot:
$ schroot -c oneiric-amd64 -u root
# apt-get update
# apt-get -y --force-yes dist-upgrade
# apt-get install build-dep ufw
# su jamie
$ apt-get source ufw
$ cd ufw-0.30.1
$ make devel
$ PYTHONPATH=
Changed in ufw (Ubuntu Oneiric): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → High |
milestone: | none → oneiric-alpha-3 |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
Changed in ufw (Ubuntu Oneiric): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This is the failing line in src/util.py: fd_path) :
for j in os.listdir(
It dies with: ufw/usr/ sbin/ufw" , line 111, in <module> pr.action, "", "", pr.force) jamie/ubuntu/ sbuild/ ufw/oneiric/ test3/ufw- 0.30.1/ tmp/ufw/ lib/python/ ufw/frontend. py", line 587, in do_action show_listening( ) jamie/ubuntu/ sbuild/ ufw/oneiric/ test3/ufw- 0.30.1/ tmp/ufw/ lib/python/ ufw/frontend. py", line 271, in get_show_listening parse_netstat_ output( self.backend. use_ipv6( )) jamie/ubuntu/ sbuild/ ufw/oneiric/ test3/ufw- 0.30.1/ tmp/ufw/ lib/python/ ufw/util. py", line 657, in parse_netstat_ output output( v6) jamie/ubuntu/ sbuild/ ufw/oneiric/ test3/ufw- 0.30.1/ tmp/ufw/ lib/python/ ufw/util. py", line 875, in get_netstat_output jamie/ubuntu/ sbuild/ ufw/oneiric/ test3/ufw- 0.30.1/ tmp/ufw/ lib/python/ ufw/util. py", line 786, in _get_proc_inodes fd_path) :
Traceback (most recent call last):
File "./tmp/
res = ui.do_action(
File "/home/
res = self.get_
File "/home/
d = ufw.util.
File "/home/
netstat_output = get_netstat_
File "/home/
inodes = _get_proc_inodes()
File "/home/
for j in os.listdir(
OSError: [Errno 13] Permission denied: '/proc/1/fd'
Simply wrapping that in a 'try' in enough to fix the bug. I'm guessing this is a result of the following in fakeroot:
fakeroot (1.16-1) unstable; urgency=low
* Patch from Jonathan Nieder to add access() support.
closes: #629956.