[tor-commits] r24836: {check} dev/shm didn't fix anything, put it back to /tmp, which reall (check/trunk/cgi-bin)

Andrew Lewman andrew at torproject.org
Thu Jun 23 11:30:48 UTC 2011


Author: phobos
Date: 2011-06-23 11:30:47 +0000 (Thu, 23 Jun 2011)
New Revision: 24836

Modified:
   check/trunk/cgi-bin/TorBulkExitList.py
Log:
 dev/shm didn't fix anything, put it back to /tmp,which really needs to
be a randomly created dir.


Modified: check/trunk/cgi-bin/TorBulkExitList.py
===================================================================
--- check/trunk/cgi-bin/TorBulkExitList.py	2011-06-23 02:49:11 UTC (rev 24835)
+++ check/trunk/cgi-bin/TorBulkExitList.py	2011-06-23 11:30:47 UTC (rev 24836)
@@ -9,7 +9,7 @@
 
 DNS.ParseResolvConf()
 def bulkCheck(RemoteServerIP, RemotePort):
-    parsedExitList = "/dev/shm/TorBulkCheck/parsed-exit-list"
+    parsedExitList = "/tmp/TorBulkCheck/parsed-exit-list"
     cacheFile = parsedExitList + "-" + RemoteServerIP +\
         "_" + RemotePort + ".cache"
     confirmedExits = []
@@ -84,8 +84,8 @@
     """
 
     maxListAge = 1600
-    parsedListDirPath = "/dev/shm/TorBulkCheck/"
-    parsedExitList = "/dev/shm/TorBulkCheck/parsed-exit-list"
+    parsedListDirPath = "/tmp/TorBulkCheck/"
+    parsedExitList = "/tmp/TorBulkCheck/parsed-exit-list"
 
     try: 
         parsedListDir = os.stat(parsedListDirPath)



More information about the tor-commits mailing list