Skip to content

Numerous issues on Ubuntu 22.04 / mint 21.1 #12

Description

@ryanthomas-org

EDIT: The other problem I describe below was simply operator error; I didn't realize ufw was running. The only real issues here then are 1.) the cgroup error and 2.) the deprecation of systemd-resolve. I found workarounds for both.

  • I've had great luck with this fork on Mint 19 which is based on Ubuntu 18.04, however I've recently started from scratch on Mint 21.1 based on Ubuntu 22.04. I'm using awesome window manager in a custom session script that also contains mate-settings-daemon and lxpolkit 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  • I've installed the deb from the releases page. Here's what I've hit in the logs:

  File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 228, in disconnect
    self.restore_default_dns()
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 288, in restore_default_dns
    Popen([
  File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'systemd-resolve'

So far the above was the easiest issue to work around, the systemd-resolve command has been deprecated and its replacement is almost 100% synonymous so I work around via sudo ln -s /usr/bin/resolvectl /usr/bin/systemd-resolve

2023-06-12 23:45:50,225 - WARNING - iptables: failed to apply: Command '['iptables-legacy', '--wait', '-t', 'mangle', '-D', 'OUTPUT', '-m', 'cgroup', '--cgroup', '0x00110011', '-j', 'MARK', '--set-mark', '11']' returned non-zero exit status 1.

This one above is a little more cryptic for me, I assume it's related to what follows. For this I'd really appreciate any feedback. It only hits the log when I enable bypass, and it comes with numerous dbus errors in my desktop notifications:

['firewall', 'autoconnect', 'minimize', 'ipv6_disable', 'alt_dns', 'bypass', 'ping', 'auto_update', 'no_dnsmasq', 'dns_off']
org.freedesktop.DBus.Python.PermissionError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 447, in bypass
    bypass.create_cgroup(
  File "/usr/lib/python3/dist-packages/qomui/bypass.py", line 41, in create_cgroup
    with open("{}/net_cls.classid".format(cgroup_path), 'w') as setcid:
PermissionError: [Errno 13] Permission denied: '/sys/fs/cgroup/net_cls/bypass_qomui/net_cls.classid'

The issue persists after installing cgroup-tools and even trying to run qomui as sudo. I get error cgroup change of group failed if I try to execute cgexec -g net_cls:bypass_qomui

I really appreciate this project and would be grateful for any assistance you can provide. Hopefully I'm overlooking something super obvious

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions