https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842018-03-07T07:45:52ZopenSUSE Project Management ToolopenQA Project - action #32635: Worker cannot create /var/lib/openqa/cache directoryhttps://progress.opensuse.org/issues/32635?journal_id=985332018-03-07T07:45:52Zcoolocoolo@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>That's why openQA-worker has /var/lib/openqa/cache packaged. IMO this is INVALID</p>
openQA Project - action #32635: Worker cannot create /var/lib/openqa/cache directoryhttps://progress.opensuse.org/issues/32635?journal_id=985752018-03-07T08:48:35ZEDiGiacintoedigiacinto@suse.com
<ul></ul><p>Sorry, i have to disagree here: from a QA perspective usually you don't want to package caches directory, nor files. They should be considered as temporary directories/files from the application and being created when necessary at runtime. We should instead move the cache dir away from /var/lib, rationale in [1] [2]</p>
<p>1: <a href="http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION" class="external">http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION</a><br>
2: <a href="http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA" class="external">http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA</a></p>
openQA Project - action #32635: Worker cannot create /var/lib/openqa/cache directoryhttps://progress.opensuse.org/issues/32635?journal_id=985872018-03-07T08:56:50Zcoolocoolo@suse.com
<ul></ul><p>"An application (or a group of inter-related applications) must use a subdirectory of /var/lib for its data" - and the assets downloads have to be on the same partition than the pool, so don't bother me with FHS politics. And it's unrelated anyway</p>
openQA Project - action #32635: Worker cannot create /var/lib/openqa/cache directoryhttps://progress.opensuse.org/issues/32635?journal_id=986322018-03-07T09:17:07ZEDiGiacintoedigiacinto@suse.com
<ul></ul><p>coolo wrote:</p>
<blockquote>
<p>"An application (or a group of inter-related applications) must use a subdirectory of /var/lib for its data" - and the assets downloads have to be on the same partition than the pool, so don't bother me with FHS politics. And it's unrelated anyway</p>
</blockquote>
<p>But qcows aren't application data - imo, what you are describing is a different problem</p>
openQA Project - action #32635: Worker cannot create /var/lib/openqa/cache directoryhttps://progress.opensuse.org/issues/32635?journal_id=986682018-03-07T09:50:43Zcoolocoolo@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Rejected</i></li></ul><p>ok, that derailed quickly. So let's close it - the cache directory is not supposed to be created by worker process, but is packaged</p>