Bug 29881 - eduvpn-client in Mageia 8 dependencies in doubt; is there a NetworkManager connection?
Summary: eduvpn-client in Mageia 8 dependencies in doubt; is there a NetworkManager co...
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 20:28 CET by Kevin Bulgrien
Modified: 2022-01-18 20:31 CET (History)
1 user (show)

See Also:
Source RPM: eduvpn-client-1.0.3-4.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Kevin Bulgrien 2022-01-12 20:28:06 CET
Description of problem:

Upon selecting eduvpn-client for installation, the following packages were added to the system:

  2022/01/12/13:05:19 python3-cryptography           3.3.1-1.1.mga8
  2022/01/12/13:05:19 eduvpn-client                  1.0.3-4.mga8
  2022/01/12/13:05:18 python3-pynacl                 1.4.0-1.mga8
  2022/01/12/13:05:18 python3-cffi                   1.14.4-1.mga8
  2022/01/12/13:05:17 python3-requests-oauthlib      1.3.0-1.mga8
  2022/01/12/13:05:17 python3-pycparser              2.20-1.mga8
  2022/01/12/13:05:17 python3-ply                    3.11-5.mga8
  2022/01/12/13:05:16 python3-repoze-lru             0.7-6.mga8
  2022/01/12/13:05:16 python3-qrcode-core            6.1-2.mga8
  2022/01/12/13:05:16 python3-oauthlib               3.1.0-2.mga8
  2022/01/12/13:05:15 python3-future                 0.17.1-5.mga8
  2022/01/12/10:44:02 gpg-pubkey                     c2d4e821-5e7252b8

Version-Release number of selected component (if applicable):

  Name        : eduvpn-client
  Version     : 1.0.3
  Release     : 4.mga8
  Architecture: noarch
  Install Date: Wed 12 Jan 2022 01:05:19 PM CST
  Group       : Networking/Other
  Size        : 573139
  License     : MIT
  Signature   : RSA/SHA256, Fri 11 Dec 2020 11:55:11 AM CST, Key ID b742fa8b80420f66
  Source RPM  : eduvpn-client-1.0.3-4.mga8.src.rpm
  Build Date  : Fri 11 Dec 2020 11:54:54 AM CST
  Build Host  : localhost
  Packager    : wally <wally>
  Vendor      : Mageia.Org
  URL         : https://pypi.python.org/pypi/eduvpn_client
  Summary     : eduVPN client
  Description :
  eduVPN desktop client

How reproducible:

  Confirm similar environment:

    $ rpm -qa | grep networkmanager
    networkmanager-qt-5.76.0-1.mga8
    lib64kf5networkmanagerqt6-5.76.0-1.mga8

  Open BASH shell, run "eduvpn-client"

$ eduvpn-client
Traceback (most recent call last):
  File "/usr/lib64/python3.8/site-packages/dbus/bus.py", line 177, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib64/python3.8/site-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib64/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.NetworkManager': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/eduvpn-client", line 33, in <module>
    sys.exit(load_entry_point('eduvpn-client==1.0.3', 'gui_scripts', 'eduvpn-client')())
  File "/bin/eduvpn-client", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/eduvpn/main.py", line 17, in <module>
    from eduvpn.ui import EduVpnApp
  File "/usr/lib/python3.8/site-packages/eduvpn/ui.py", line 13, in <module>
    from eduvpn.manager import monitor_all_vpn
  File "/usr/lib/python3.8/site-packages/eduvpn/manager.py", line 20, in <module>
    import eduvpn.other_nm as NetworkManager
  File "/usr/lib/python3.8/site-packages/eduvpn/other_nm.py", line 304, in <module>
    class NetworkManager(NMDbusInterface):
  File "/usr/lib/python3.8/site-packages/eduvpn/other_nm.py", line 144, in __new__
    proxy = init_bus.get_object(mcs.dbus_service, attrs['object_path'])
  File "/usr/lib64/python3.8/site-packages/dbus/bus.py", line 241, in get_object
    return self.ProxyObjectClass(self, bus_name, object_path,
  File "/usr/lib64/python3.8/site-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python3.8/site-packages/dbus/bus.py", line 182, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python3.8/site-packages/dbus/bus.py", line 277, in start_service_by_name
    return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib64/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files

Presumably this software needs a more complete installation of NetworkManager.  I do not want NetworkManager installed, therefore I do not want to resolve this problem on this computer, however, the software installer should have informed me that additional resources were required.
Comment 1 Lewis Smith 2022-01-13 20:15:02 CET
Thank you for the report.
I installed the same package, and confirm the reported errors.

Looking into it, doing:
 $ urpmq --requires eduvpn-client
shows all the given package list (and more), [ignoring as irrelevant gpg-pubkey in your list, which anyway does not seem to be a package].

No mention of NetworkManager. Nor any mention of eduvpn from NetworkManager.

Assigning to Guillaume for 'eduvpn-client'.

Assignee: bugsquad => guillomovitch
Summary: eduvpn-client in Mageia 8 appears to omit essential dependencies => eduvpn-client in Mageia 8 dependencies in doubt; is there a NetworkManager connection?

Comment 2 Guillaume Rousse 2022-01-15 13:53:14 CET
There was indeed a missing dependency on networkmanager, I just fixed it in cauldron. Thanks for the report.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Dave Hodgins 2022-01-16 00:29:07 CET
Re-opening as the report is about the Mageia 8 package.

Status: RESOLVED => REOPENED
CC: (none) => davidwhodgins
Resolution: FIXED => (none)

Comment 4 Guillaume Rousse 2022-01-18 20:31:02 CET
This is not a security issue, and is trivial to fix on user side. Feel free to provide an update if you want, tough.

Note You need to log in before you can comment on or make changes to this bug.