[tor-bugs] #29987 [Internal Services/Tor Sysadmin Team]: clear out unowned files on servers

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 2 21:12:40 UTC 2019


#29987: clear out unowned files on servers
-----------------------------------------------------+-----------------
     Reporter:  anarcat                              |      Owner:  tpa
         Type:  project                              |     Status:  new
     Priority:  Low                                  |  Milestone:
    Component:  Internal Services/Tor Sysadmin Team  |    Version:
     Severity:  Minor                                |   Keywords:
Actual Points:                                       |  Parent ID:
       Points:                                       |   Reviewer:
      Sponsor:                                       |
-----------------------------------------------------+-----------------
 there is a significant number of unowned files on the servers. this is
 generally because a user was removed without the associated user being
 purged as well, but there are also odd corner cases like backup restores
 and so on.

 In #29682, I have done the following Cumin run to find such files,
 expecting to find only problems with the Munin user/group I had just
 removed, but instead found many more cases, mostly (300,000) surrounding
 deleted users:

 {{{
 cumin -p 0 -b 5 --force -o txt '*' 'find / -ignore_readdir_race -path
 /proc -prune -nouser -o -nogroup' | tee unowned-files
 }}}

 Next step is to decide what to do with the leftover files and document
 this as part of the user retirement process.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29987>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list