Opened 6 years ago

Closed 5 years ago

#4630 closed defect (wontfix)

TorCtl doesn't support jail paths

Reported by: atagar Owned by:
Priority: High Milestone:
Component: Torctl Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The paths reported by tor instances within jails are incomplete since they don't account for the jail prefix. This means that TorCtl either needs to run in the same jail context or TorCtl needs to allow the caller to specify jail prefixes.

Like 4629 this prevents controllers from connecting unless they use preauth_connect and manually correct the path (which is what arm does). For other paths that need to be expanded see the arm uses of the getPathPrefix() method:
https://gitweb.torproject.org/arm.git/blob/HEAD:/src/util/torTools.py#l1266

With stem I'll either me making this a config attribute or a global the caller can set.

Cheers! -Damian

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by atagar

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.