[PATCH] move workdir from /tmp/koji/ to /var/tmp/koji/

Mike McLean mikem at redhat.com
Tue Jun 10 21:37:38 UTC 2014


On 05/29/2014 10:40 PM, Dennis Gilmore wrote:
> moving the workdir is needed as /tmp can be quite small with /tmp on tmpfs

Ack

Good idea, but definitely needs some prominent messaging. This is a
config default, so folks can use whatever they like, but I don't want to
catch anyone by surprise.

> Signed-off-by: Dennis Gilmore <dennis at ausil.us>
> ---
>  builder/kojid | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/builder/kojid b/builder/kojid
> index f101e0f..14309bb 100755
> --- a/builder/kojid
> +++ b/builder/kojid
> @@ -3657,7 +3657,7 @@ def get_options():
>                  'log_level': None,
>                  'topdir': '/mnt/koji',
>                  'topurl': None,
> -                'workdir': '/tmp/koji',
> +                'workdir': '/var/tmp/koji',
>                  'pluginpath': '/usr/lib/koji-builder-plugins',
>                  'mockdir': '/var/lib/mock',
>                  'mockuser': 'kojibuilder',
> 



More information about the buildsys mailing list