I have the following error:
[ERROR]:
landscape.sysinfo.tests.test_deployment.RunTest.test_setup_logging_logs_to_var_log_if_run_as_root
Traceback (most recent call last):
File
"/home/therve/projects/Landscape/client/trunk/landscape/tests/mocker.py", line
102, in test_method_wrapper
result = test_method()
File
"/home/therve/projects/Landscape/client/trunk/landscape/sysinfo/tests/test_deployment.py",
line 219, in test_setup_logging_logs_to_var_log_if_run_as_root
setup_logging()
File
"/home/therve/projects/Landscape/client/trunk/landscape/sysinfo/deployment.py",
line 74, in setup_logging
os.mkdir(landscape_dir)
exceptions.OSError: [Errno 13] Permission denied: '/var/log/landscape'
--
sysinfo should not read or write stuff in /root, but rather /etc and /var/log
https://bugs.launchpad.net/bugs/268560
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs