[Pkg-privacy-maintainers] Bug#865843: onioncircuits: Various issues in the AppArmor profile

intrigeri intrigeri at debian.org
Mon Sep 11 09:05:29 UTC 2017


Control: tag -1 + patch

Hi,

intrigeri at debian.org:
> the inclusion of the AppArmor profile broke OnionCircuits for me:

>  * it can't read Tor's authentication cookie
>  * fonts are messed up

Here's one more. Since a recent sid upgrade, OnionCircuits needs read
access to /usr/share/iso-codes/json/iso_3166-1.json:

 onioncircuits.desktop[8736]: PermissionError: [Errno 13] Permission denied: '/usr/share/iso-codes/json/iso_3166-1.json'
 onioncircuits.desktop[8736]: Traceback (most recent call last):
 onioncircuits.desktop[8736]:   File "/usr/bin/onioncircuits", line 521, in cb_treeselection_changed
 onioncircuits.desktop[8736]:     self.show_circuit_details(circuit)
 onioncircuits.desktop[8736]:   File "/usr/bin/onioncircuits", line 538, in show_circuit_details
 onioncircuits.desktop[8736]:     self.display_node(fp, nick)
 onioncircuits.desktop[8736]:   File "/usr/bin/onioncircuits", line 583, in display_node
 onioncircuits.desktop[8736]:     country = self.get_country(status_entry.address)
 onioncircuits.desktop[8736]:   File "/usr/bin/onioncircuits", line 562, in get_country
 onioncircuits.desktop[8736]:     country = pycountry.countries.get(alpha2=country.upper()).name
 onioncircuits.desktop[8736]:   File "/usr/lib/python3/dist-packages/pycountry/db.py", line 52, in load_if_needed
 onioncircuits.desktop[8736]:     self._load()
 onioncircuits.desktop[8736]:   File "/usr/lib/python3/dist-packages/pycountry/db.py", line 76, in _load
 onioncircuits.desktop[8736]:     with open(self.filename, 'r', encoding="utf-8") as f:

This totally breaks the circuits details display (right pane), but
otherwise OnionCircuits works fine.

> I've pushed fixes for these problems to the upstream Git repo.

Same: commit 042b39b06a8d08bc830e2a8710c7ef47a9957564 :)

Cheers,
-- 
intrigeri



More information about the Pkg-privacy-maintainers mailing list