[Pkg-privacy-maintainers] Bug#981817: onioncircuits: Permission denied: '/usr/local/lib/python3.7/dist-packages/psutil-5.7.2.dist-info'
Clément Hermann
nodens at debian.org
Thu Feb 4 11:23:17 GMT 2021
Control: severity -1 normal
Control: tags -1 +moreinfo
Hi,
Thanks for reporting a bug in onioncircuit Debian package!
On 04/02/2021 10:39, Jonathan Marquardt wrote:
> 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?
I don't think so. I can't reproduce this issue either on a system that
already had onioncircuits installed or a newly installed system, so I'm
lowering the severity.
The error message reference stuff in /usr/local: this leads me to think
some python libs where locally installed without using the package
system. Can you check that please ? And maybe test in a vm for instance
to check in a clean environment ?
Cheers,
--
nodens
More information about the Pkg-privacy-maintainers
mailing list