Ticket #256 (closed defect: wontfix)
CWD override does not work
|Reported by:||kparal||Owned by:||kparal|
We recently pushed patch to read config files from CWD by default (5d37e59128c1913946c02e6a1d899a5576f37801). Then we pushed patch to initialize autoqa_conf variable in config.py, used e.g. by koji_utils.py. And that broke it. Because if you import such a module before running run_once() method (like rpmguard does), the CWD is not yet set, and the local autoqa.conf is not found.
The current workaround is to always have up-to-date /etc/autoqa/autoqa.conf on autotest clients (the same approach as always in the past).
Our current "change CWD" approach is now therefore useless. We have to find another way to copy and access config files. The best way would be to hack autotest to copy them directly to /etc (do we don't have to fight with CWD at all).