[Bug 1898362] Re: bluetooth not connecting to bluetooth headset

Ken Sharp 1898362 at bugs.launchpad.net
Mon Sep 19 06:01:08 UTC 2022


On upgrade from Bionic to Focal, this now pops up at every desktop log
in.

/sbin/iptables indeed does not exist. iptables has been moved to
/usr/sbin/iptables for some reason. This has obviously been hardcoded
into Blueman and really should have been spotted during testing.

$ sudo ln -s /usr/sbin/iptables /sbin/iptables
should be a workaround.

** Package changed: ubuntu-release-upgrader (Ubuntu) => blueman (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1898362

Title:
  blueman looking for /sbin/iptables

Status in blueman package in Ubuntu:
  Confirmed

Bug description:
  FAILED TO APPLY NETWORK SETTINGS
  You might not be able to connect to the Bluetooth network via this machine

  \/ Exception
  g-dbus-error-quark: 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'
   (0)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.25
  ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
  Uname: Linux 5.4.0-48-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: MATE
  Date: Sat Oct  3 21:05:42 2020
  InstallationDate: Installed on 2020-09-17 (16 days ago)
  InstallationMedia: Ubuntu-MATE 18.04.5 LTS "Bionic Beaver" - Release amd64 (20200806.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_PH:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_PH.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2020-10-01 (2 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blueman/+bug/1898362/+subscriptions




More information about the foundations-bugs mailing list