Public bug reported:
Right after upgrading a laptop from 18.04 to 20.04, blueman fails with
the following Python stack trace:
GDBus.Error:org.freedesktop.DBus.Error.Failed: Traceback (most recent call
last):
File "/usr/lib/python3/dist-packages/blueman/main/DbusService.py", line 124,
in _handle_method_call
ok(method(*args))
File "/usr/lib/python3/dist-packages/blueman/plugins/mechanism/Network.py",
line 56, in _reload_network
nc.apply_settings()
File "/usr/lib/python3/dist-packages/blueman/main/NetConf.py", line 384, in
apply_settings
self.del_ipt_rules()
File "/usr/lib/python3/dist-packages/blueman/main/NetConf.py", line 329, in
del_ipt_rules
call(["/sbin/iptables", "-t", table, "-D", chain] + rule.split(" "))
File "/usr/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/sbin/iptables'
The issue is caused by the hardcoded path "/sbin/iptables" in
"/usr/lib/python3/dist-packages/blueman/main/NetConf.py". The iptables
path has been changed to "/usr/sbin/iptables" on Ubuntu 20.04.
** Affects: blueman (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878996
Title:
Blueman uses incorrect hardcoded path to iptables binary
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blueman/+bug/1878996/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs