[Pkg-privacy-maintainers] Bug#981817: onioncircuits: Permission denied: '/usr/local/lib/python3.7/dist-packages/psutil-5.7.2.dist-info'

Jonathan Marquardt parckwart at parckwart.de
Thu Feb 4 09:39:12 GMT 2021


Package: onioncircuits
Version: 0.5-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I have multiple systems running the Debian Tor package with an open control 
port. I always used this in combination with onioncircuits without any 
problems until I upgraded to Debian Buster. Since the upgrade (or even fresh 
installation of Buster) I'm unable to start onioncircuits:

####################################

$ onioncircuits
Traceback (most recent call last):
  File "/usr/bin/onioncircuits", line 25, in <module>
    import pycountry
  File "/usr/lib/python3/dist-packages/pycountry/__init__.py", line 9, in <module>
    from pkg_resources import resource_filename
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574, in _build_master
    ws = cls()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 567, in __init__
    self.add_entry(entry)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 623, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2033, in find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2095, in distributions_from_metadata
    if len(os.listdir(path)) == 0:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/psutil-5.7.2.dist-info'

####################################

This even happens as root.

Is this a known issue?

Cheers,

Jonathan

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages onioncircuits depends on:
ii  gir1.2-glib-2.0    1.58.3-2
ii  gir1.2-gtk-3.0     3.24.5-1
ii  python3            3.7.3-1
ii  python3-gi         3.30.4-1
ii  python3-pycountry  17.5.14+ds1-0.1
ii  python3-stem       1.7.1-1

onioncircuits recommends no packages.

Versions of packages onioncircuits suggests:
ii  tor-geoipdb  0.4.4.6-1~d10.buster+1

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list