diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-12-28 15:34:22 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-12-28 15:34:22 +0000 |
commit | c0fe59bb4832899d823072aa93892955161f1733 (patch) | |
tree | d0e0c688bac4ed9bb309181f0baa3fe86a3bf96e /server | |
parent | 328e99f6037dec6b8fffb91e10ae462fc60a532c (diff) |
server: Store copy of /var/log/messages into /var/tmp instead
When connecting to an unprivileged account on a client, /var/lib will
not be writable. Store the snapshot of /var/log/messages in /var/tmp
instead which is far more likely to be writable.
v2:
- Moved storage location from /tmp to /var/tmp so that it survives over
reboot
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
git-svn-id: svn://test.kernel.org/autotest/trunk@5009 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'server')
-rw-r--r-- | server/hosts/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/hosts/remote.py b/server/hosts/remote.py index fe6452d0..d1b4b463 100644 --- a/server/hosts/remote.py +++ b/server/hosts/remote.py @@ -27,7 +27,7 @@ class RemoteHost(base_classes.Host): LAST_BOOT_TAG = object() DEFAULT_HALT_TIMEOUT = 2 * 60 - VAR_LOG_MESSAGES_COPY_PATH = "/var/log/messages.autotest_start" + VAR_LOG_MESSAGES_COPY_PATH = "/var/tmp/messages.autotest_start" def _initialize(self, hostname, autodir=None, *args, **dargs): super(RemoteHost, self)._initialize(*args, **dargs) |