GNU bug report logs - #61500
Default cache directory of cat-avatar-generator-service

Previous Next

Package: guix;

Reported by: Evgeny Pisemsky <evgeny <at> pisemsky.com>

Date: Tue, 14 Feb 2023 03:11:02 UTC

Severity: normal

To reply to this bug, email your comments to 61500 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#61500; Package guix. (Tue, 14 Feb 2023 03:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Evgeny Pisemsky <evgeny <at> pisemsky.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 14 Feb 2023 03:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Evgeny Pisemsky <evgeny <at> pisemsky.com>
To: bug-guix <at> gnu.org
Subject: Default cache directory of cat-avatar-generator-service
Date: Tue, 14 Feb 2023 06:10:45 +0300
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.




Information forwarded to bug-guix <at> gnu.org:
bug#61500; Package guix. (Thu, 30 Nov 2023 16:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 61500 <at> debbugs.gnu.org (full text, mbox):

From: Evgeny Pisemsky <evgeny <at> pisemsky.com>
To: 61500 <at> debbugs.gnu.org
Subject: [PATCH] services: cat-http-server: Fix cat-avatar-generator-service.
Date: Thu, 30 Nov 2023 19:38:50 +0300
[Message part 1 (text/plain, inline)]
Here is the simplest patch that changes cache directory to /tmp/ and
makes this service work with the recently added monsterid package.
[0001-services-cat-http-server-Fix-cat-avatar-generator-se.patch (text/x-patch, attachment)]

This bug report was last modified 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.