From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aOjFIFpHTGRKZQAASxT56A (envelope-from ) for ; Sat, 29 Apr 2023 00:23:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yJDRIFpHTGTx2gAAauVa8A (envelope-from ) for ; Sat, 29 Apr 2023 00:23:22 +0200 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 47CB924A94 for ; Sat, 29 Apr 2023 00:23:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psWUa-0005uG-Kx; Fri, 28 Apr 2023 18:23:04 -0400 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 1psWUY-0005u0-Io for bug-guix@gnu.org; Fri, 28 Apr 2023 18:23:02 -0400 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 1psWUY-0004Ea-4q for bug-guix@gnu.org; Fri, 28 Apr 2023 18:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psWUY-0003S3-0C for bug-guix@gnu.org; Fri, 28 Apr 2023 18:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63082: [PATCH 15/17] services: mpd: Provision a default cache directory and set HOME. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Apr 2023 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63082 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 63082@debbugs.gnu.org Received: via spool by 63082-submit@debbugs.gnu.org id=B63082.168272055913220 (code B ref 63082); Fri, 28 Apr 2023 22:23:01 +0000 Received: (at 63082) by debbugs.gnu.org; 28 Apr 2023 22:22:39 +0000 Received: from localhost ([127.0.0.1]:34696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psWUA-0003R9-RU for submit@debbugs.gnu.org; Fri, 28 Apr 2023 18:22:39 -0400 Received: from smtpm5.myservices.hosting ([185.26.105.236]:42432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psWU6-0003Qu-Oo for 63082@debbugs.gnu.org; Fri, 28 Apr 2023 18:22:38 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm5.myservices.hosting (Postfix) with ESMTP id 96AA920CBA; Sat, 29 Apr 2023 00:22:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3256580097; Sat, 29 Apr 2023 00:22:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DtVg3FWTlF87; Sat, 29 Apr 2023 00:22:32 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id AE2A680060; Sat, 29 Apr 2023 00:22:32 +0200 (CEST) Message-ID: <0c936b06-75a8-1946-2c24-e4782e7ee377@makinata.eu> Date: Fri, 28 Apr 2023 23:22:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US References: <3baf1982e8435b4a3ef13c050153d505b98fa52a.1682690696.git.maxim.cournoyer@gmail.com> From: Bruno Victal In-Reply-To: <3baf1982e8435b4a3ef13c050153d505b98fa52a.1682690696.git.maxim.cournoyer@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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-Seal: i=1; s=key1; d=yhetil.org; t=1682720602; a=rsa-sha256; cv=none; b=IXLdbvwCJzhO5N1f0C/gDXHsvWIE2VB0DAX5fT3uPvlUHe2lvyLKhBUiVx0k8hjVdh/tw5 kOmchvpo8eQMi/iUaAZLkCxTrH2X8xGemh6yc+tsi/2hBAxbHb+v4kSc96NbajzBHwsCqZ 7QmTBhOFbLnNbk4E7Rnxxk3iiru2WSQx2kclqFH9u+NSa5/mga93KwK/VLgS6SXbTnbqyl DPa25sLTC1x2gKdoQ/x08tvHFLHsWawa8cvpI3mZ/vN4G4Pe4xHuCaATwdKY+GOHOHu78g ICyW68KKMFjVo6A0TNA84oq70V/jZjgUH5MRB+Wlg8w3Xfiszq8fXNLE7QO2bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682720602; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=p2MoTsdUFwJCQObo2EZSdHNF8VpUj7y+IrWh2h/x00o=; b=m99X9SavJLIUq4emjsL7+bEAdxj6q7YUVaiiBBszkU0ajRf/22mfYTERKH0HTX0Jc2Kan0 wPwHl/J6cKIogDpGPrpnge+WgBpIfokEC+e9oC4c/4q+557LdOnyDwdkF0Dzxk4V/Ut1Pb g+XccQ1SszkV0DXmqABtph4G92fUd9/q9yPu8hE+FTfYeigmgeHdC+vXHk0saYcGTCpoeg PBBztCPaQLS8P7xdM7uC8FXaVzlzkq1AfcqsS3IqfhTtrkNk0PeDzvQHJUKXh51LYRoXgX ICqQURzy9V3L69PMXnkURnRLr3Sqk5bJbwI/N5elEJzuNCZHQh9XfcjPqMvh7Q== X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 47CB924A94 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-TUID: 8N9TRzb83823 On 2023-04-28 15:27, Maxim Cournoyer wrote: > Relates to . > > * gnu/services/audio.scm (mpd-shepherd-service): Create a default .cache > directory. Use mkdir-p/perms and refactor loop. Set the HOME environment > variables. There's a slight problem here, you might really not want db_file to be set _at all_. Case in point, I use a database-plugin instead which would be incongruent if db_file is forcibly serialized into the config. Perhaps we could add some kind of warning mechanism that alerts the user that either db_file or database-plugin must be configured?