From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MPyRLdb76mNZTgAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 04:11:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id j2GkLdb76mMFEwEA9RJhRA (envelope-from ) for ; Tue, 14 Feb 2023 04:11:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26CB53C885 for ; Tue, 14 Feb 2023 04:11:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRlil-0006T8-5E; Mon, 13 Feb 2023 22:11:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRlih-0006St-E2 for bug-guix@gnu.org; Mon, 13 Feb 2023 22:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRlih-000645-5n for bug-guix@gnu.org; Mon, 13 Feb 2023 22:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRlig-00019M-Kz for bug-guix@gnu.org; Mon, 13 Feb 2023 22:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61500: Default cache directory of cat-avatar-generator-service Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Feb 2023 03:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61500 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61500@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16763442554402 (code B ref -1); Tue, 14 Feb 2023 03:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2023 03:10:55 +0000 Received: from localhost ([127.0.0.1]:52152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRliY-00018w-Kz for submit@debbugs.gnu.org; Mon, 13 Feb 2023 22:10:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:54666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRliW-00018o-7O for submit@debbugs.gnu.org; Mon, 13 Feb 2023 22:10:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRliV-0006ST-Tp for bug-guix@gnu.org; Mon, 13 Feb 2023 22:10:51 -0500 Received: from sofi-shared.hosting.energy ([2001:41d0:602:1f56::] helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRliT-0005kk-Tm for bug-guix@gnu.org; Mon, 13 Feb 2023 22:10:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pisemsky.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2jLQEyznA4R4QwMiSlDEzkeaNbP60NeK9b2yctt3GDY=; b=Q/8H8Sk1vNXPLF7kkhODrCgJ0O LpRfLee7fP5DV+PyP97XSi8F2rzkUpiQ4sDwMe2nRF/G9EBOdG4pRDUyvaLn1eFmKp2AvXOa81T0k 4zfdB2jIy7fq+Eez2e9igXeTgXjApFqc7NJi4HUufsV9wlleRH2vkAtm1QKtxqK/FHOw=; Received: from node-189-185-35-212.domolink.tula.net ([212.35.185.189] helo=portable) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1pRliQ-0003bO-Sa for bug-guix@gnu.org; Tue, 14 Feb 2023 06:10:47 +0300 From: Evgeny Pisemsky Date: Tue, 14 Feb 2023 06:10:45 +0300 Message-ID: <87wn4llz62.fsf@pisemsky.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: ClamAV 0.103.0; Tue, 14 Feb 2023 06:10:47 +0300 Received-SPF: pass client-ip=2001:41d0:602:1f56::; envelope-from=evgeny@pisemsky.com; helo=sofi.hosting.energy X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SPF_HELO_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b="Q/8H8Sk1"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676344278; a=rsa-sha256; cv=none; b=tY4pLcX2Nc/vZ862cYaOu23h/cE+6O9K+MiX6C/G7gEhzqBpr9Ovhx3tdD2Vt+DTUheAsU hDyWmMjkyvzg8gET8HxlQdRWP6AdcpAax4eZ2etpv7BVaMo2UqX0I5Wsuow0ncYbiIXrmi fo70tBiKA391eWIM3yI/HzAKcT942ybbGPmrR+OLn+AxdB5m2MCson+P0XST6OYkAKugEp 2sL9w7QpmTh+XckCCBgXZ7VRssnYDcrsYauERCa04r8Se7Q3fuLdc9EJaGFYCnZbWWDYPj 5qgs+eUjUstdHUkEiVI0c/3KR35Np2JaQWAfgJYzxseWsnz7uq1VVzh/ycV6sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676344278; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=2jLQEyznA4R4QwMiSlDEzkeaNbP60NeK9b2yctt3GDY=; b=kKdnYzl/8fj+iWfaNPAVMeteIw93T8sc0SB0PJklY0FcsZzeFbsYiMnP6tuR2xhaXTtVHW 0lNPReXdscFORUONXeGTPE1Sd4VnL0+bBP7VPzc1jC5sii5WBEeA6cT64TbaGUmHLy2t0l KKACIXNdPjuUz5xLoW2pO76a/NliETfEWwE3oYnNp0hUuiwuM4FxMuhBJpAu80V9HvHJ4n /oKdTrngu1k6GjIg00ti0FbRfHnHLxETgtS0M2iRZHRtFwzzUkNc8Go2i4fPFPAVdElyO2 rFb2VOqMq6Sj8QoI02n6OcIjxmSp73puRyhfKuUEGZ8dIWdzkpDxl8THuMvWLQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.07 X-Spam-Score: -3.07 X-Migadu-Queue-Id: 26CB53C885 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b="Q/8H8Sk1"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: 4gTUj9qJJj7X Hello! The cache directory must: 1. End with a slash (due to implementation of the php script). 2. Exist or be created manually. 3. Be writeable by php-fpm. The current default value doesn't meet these requirements and leads to broken caching and errors in php-fpm log. The simplest solution is to change it to /tmp/, but for obvious reasons it is not suitable for production use. However, since this service is described as demonstration, I would prefer unsafe default over broken (for now). Also the requirements above should probably be mentioned in the documentation of the service.