Opened 3 years ago

Closed 3 years ago

#21088 closed enhancement (fixed)

Hide getcap error message in torsocks

Reported by: segfault Owned by: dgoulet
Priority: Low Milestone:
Component: Core Tor/Torsocks Version:
Severity: Minor Keywords: AffectsTails
Cc: intrigeri, segfault, anonym@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Since torsocks 2.2.0, torsocks calls getcap on the file to be executed. For filesystems which don't support file capabilities, this results in an error message being printed to stderr, e.g.:

Failed to get capabilities of file `/usr/bin/git' (Operation not supported)

This message is not really useful to the user. Maybe it should be hidden.

This affects Tails:

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by intrigeri

Cc: intrigeri segfault anonym@… added
Keywords: AffectsTails added

comment:2 Changed 3 years ago by dgoulet

Resolution: fixed
Status: newclosed

Pushed a commit to send any error from getcap to /dev/null. Please re-open if this doesn't fix it for you, thanks!

Note: See TracTickets for help on using tickets.