#256: CWD override does not work
----------------------+-----------------------------------------------------
 Reporter:  kparal    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  critical  |   Milestone:  0.4.4
Component:  core      |    Keywords:       
----------------------+-----------------------------------------------------
 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).

 Ouch ouch.

-- 
Ticket URL: <https://fedorahosted.org/autoqa/ticket/256>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
_______________________________________________
autoqa-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/autoqa-devel

Reply via email to