It's useful to be able to run autotest as a non-root user. Not something
we normally do, but putting tmpfiles under /var/log seems wrong anyway
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3695 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/logfile_monitor.py b/server/hosts/logfile_monitor.py
index 158fad9..84d1d55 100644
--- a/server/hosts/logfile_monitor.py
+++ b/server/hosts/logfile_monitor.py
@@ -230,7 +230,7 @@
# Create a new lastlines_dirpath on the remote host if not already set.
if not self._lastlines_dirpath:
- self._lastlines_dirpath = self.get_tmp_dir(parent='/var/log')
+ self._lastlines_dirpath = self.get_tmp_dir(parent='/var/tmp')
# Launch followfiles on target
try: