From patchwork Mon Oct 14 14:47:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Weismueller X-Patchwork-Id: 2496 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 46sLyT4pCjz3yYL for ; Mon, 14 Oct 2019 14:48:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 46sLyS03rYz2lf; Mon, 14 Oct 2019 14:47:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 46sLyR6C3cz2yFb; Mon, 14 Oct 2019 14:47:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 46sLyQ1ZqTz2y4F for ; Mon, 14 Oct 2019 14:47:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 46sLyP6qQVz2Qg; Mon, 14 Oct 2019 14:47:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1571064478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vkwbS94jAIkJlYvrfWN6XpWO2xYG7XDIbstPL+q4ka4=; b=H6pgvq9ffraZqLAEDlF1V6FK/lPCiJOtm2vYM8bEstg+suLiI+GqgATlNK2m133kqWwb45 /xwsldBUFd+P89Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1571064478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vkwbS94jAIkJlYvrfWN6XpWO2xYG7XDIbstPL+q4ka4=; b=bmo+ON4BY/npZs4+mlSqjXRLRti0nIbkntPmjTmndEb1AbPZbyZqyeHK0u421Ke0mtqyPc ST1w3H/lWvfpcRTzgKymexYaMxwnMyS1WI5BMqzmuZTK4/1DKq2CttfwLBa685Aqpg3DDh T+npfGqAPA7lVVWYsPSUSZIbj2/pHw4QX+v2TlUh8EctudyMsgJKYh++HvbwGXYRB6Kc3O 3CYD3ABB0ycDRTJ/KEr9eU1t1LKVQakqbt+KYLqEnyoJyjVF+GFCpplB4gCAyVUHsYiQih MQXTkKy0didWEVU6orAx0p7U2DcnndtgM3NamgKgRy6w2yTkCGRim+/tak2ISQ== From: =?utf-8?q?Daniel_Weism=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 2/4] xt_geoip_update: Use /var/tmp for temporary data Date: Mon, 14 Oct 2019 16:47:54 +0200 Message-Id: <20191014144756.7674-2-daniel.weismueller@ipfire.org> In-Reply-To: <20191014144756.7674-1-daniel.weismueller@ipfire.org> References: <20191014144756.7674-1-daniel.weismueller@ipfire.org> MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=dweismueller smtp.mailfrom=daniel.weismueller@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Since we have some systems that are restricted to only 2GB of space on /, we need to move this to where we have enough space. Signed-off-by: Daniel Weismüller --- src/scripts/xt_geoip_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index f3ba8a52e..f633229fb 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -19,7 +19,7 @@ # # ############################################################################### -TMP_PATH=$(mktemp -d) +TMP_PATH=$(mktemp -dp /var/tmp) TMP_FILE=$(mktemp -p $TMP_PATH) SCRIPT_PATH=/usr/local/bin