Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,067
    • Issues 1,067
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #23720

Closed
Open
Opened Oct 01, 2017 by Roger Dingledine@armaReporter

'make test' writes into my /tmp

I check out Tor from the git repo, and build it with autogen, configure, etc.

Then I run 'make test', from the git repo directory. I ctrl-C it partway through.

To my surprise, now there is a new directory in /tmp:

drwx------  2 arma arma 4096 Oct  1 02:08 /tmp/tor_test_4360_xa6h7e6i

I noticed this because I found earlier tor_test directories in /tmp too, from days or weeks ago.

Shouldn't tor be using its own tempdir somewhere? I mean, it's nice that it tries to clean up after itself, but it does not succeed all the time. Maybe putting the files somewhere else, which doesn't get deleted at reboot, could be worse because then nothing would clean them up. Or maybe putting them somewhere in this directory tree would let 'make clean' be able to handle them?

Feel free to close with "we thought this through, and decided that littering in /tmp was our best option". But maybe there is a better one? :)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/core/tor#23720