From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EEUvIWA0bmUPzAAA9RJhRA:P1 (envelope-from ) for ; Mon, 04 Dec 2023 21:19:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEUvIWA0bmUPzAAA9RJhRA (envelope-from ) for ; Mon, 04 Dec 2023 21:19:44 +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 494C41665E for ; Mon, 4 Dec 2023 21:19:44 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qWfWToSA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701721184; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=boqKLXODBtg7sXKwR5sdqe7CRMSHuafNtuRteWS8RQo=; b=Ao7+R8ol9rkUTxNO7OZLFbCSyKHWF/ByUzCAUF/nwKni++cWBWN7FEQP4+CFAT8L6GS2dw L6ULCzglt7+4SL71IDFOG/vcXcLsC0hp1ygIzwYaZfOGjX30Op7ruHEVfsezYL3+wD/rGK qWHcfD02SShODJ61zIvwqOYDZ1IwJFjAzt5zhbI/8krvcLEKpZJt0spDP4Lgww1gqs+1qT LYV/Wf3gr9qaunL/JLX0dF2I5zjsZgg7aQXfDtnC5ImK3pgiNgoneffpcMT21HYTRSnbd1 Gxf1c2Oibm9cPthBVv5x/JvWmMpRQ0PkgNHUitnvmUOpTSADeyTPTRMTG2c9Kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701721184; a=rsa-sha256; cv=none; b=dC032Sm1iWerDLrZT1m0Le/iiFr8JcIiTFvxHkxYkh9N4+fCiMyfik5QV0SLc6211CNpdo RBIvvLaVpcQ/xUMLydzXsZebWOHTB7G4/62DMgBf6jSOyuCqCoh3DqQhnCZOAQpV1TWqts CNDyLd76shX3AhlgOZL+bpP8mQ9BSYGTPMkMzTJ3Ww1wvepOBfPQTZqlU4PnGThTJacUJg c0QFrcmv/ovIBAf6Xs12IzCLWB+b3FdWK5k+vOrpOabrFyqr4GT5SA4plZRNrx98bY7LRx dIfraAOtQct6+st6iL5x8DBslKHrm8Hj/KZdK1Oa9sbdQBdrb0FYKxeS2+GjTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qWfWToSA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAFOv-0006e4-2C; Mon, 04 Dec 2023 15:18:45 -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 1rAFOt-0006dY-9m for help-guix@gnu.org; Mon, 04 Dec 2023 15:18:43 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rAFOr-0006cx-Ai for help-guix@gnu.org; Mon, 04 Dec 2023 15:18:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=boqKLXODBtg7sXK wR5sdqe7CRMSHuafNtuRteWS8RQo=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=qWfWToSAkItuTdxjEdHX0aBEAj9ZVX5e03uKWLDu h2APS/5FwkeQnBCF+075HIoDLtG8Bpn0EEBd8BQn9j3tRuTStE5rz+xn1YaISuxziyIp1M FKGP1IszkPZ/0NnaesdniNMC8TqBmgpSv98NQWB7yOI+A0GM1j/W4txZcfvrc= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 265acb04 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 4 Dec 2023 20:18:34 +0000 (UTC) To: "Wicki Gabriel (wicg)" , "help-guix@gnu.org" Cc: Subject: Re: Resize Filesystem Service In-Reply-To: References: Date: Mon, 04 Dec 2023 12:18:27 -0800 Message-ID: <87a5qpn2lo.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com 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_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.99 X-Spam-Score: -5.99 X-Migadu-Queue-Id: 494C41665E X-TUID: 5/jzTk9CoqFp Hi Gabriel, On Mon, Dec 04 2023, Wicki Gabriel wrote: > I crafted the service in the file attached but this doesn't work and i > neither know where to look nor how to debug the issue. Writing services is probably more complex than it should be, but it can be done. Please have a look at the cachefilesd-service [1] which I wrote together with Bruno Victal (mirai) and which was accepted, or the Heimdal Kerberos services that are still waiting for review. [2] My most immediate suggestion is that I would use define-configuration even when no serialization (which helps write configuration files) is needed. Also, you have to think carefully about where to place the G-Expressions, which can be tough to wrap your mind arround. Finally, I would use "file-append" instead of string-append for some of the configurable executable paths. Kind regards Felix [1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/linux.scm#n492 [2] https://issues.guix.gnu.org/67555