From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oMbLIn0FQ2HBKAEAgWs5BA (envelope-from ) for ; Thu, 16 Sep 2021 10:51:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UOmTHn0FQ2GfKAAAB5/wlQ (envelope-from ) for ; Thu, 16 Sep 2021 08:51:09 +0000 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 CA89A1F66E for ; Thu, 16 Sep 2021 10:51:08 +0200 (CEST) Received: from localhost ([::1]:33406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQn6p-0002ri-Sl for larch@yhetil.org; Thu, 16 Sep 2021 04:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQn6B-0002pT-69 for guix-devel@gnu.org; Thu, 16 Sep 2021 04:50:28 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:37506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQn68-0003WZ-Tq for guix-devel@gnu.org; Thu, 16 Sep 2021 04:50:26 -0400 Received: by mail-lf1-x12d.google.com with SMTP id i4so15585964lfv.4 for ; Thu, 16 Sep 2021 01:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=LY2i//2Vx9ZkrB28aBVtDWrlAvvbEY3BZAcVrov2gRM=; b=gCJmLHro19/oOCSqXPxVju05D4+3eSoBiIHgRGpgAbkrMn5CssdhZUIDibjazWvBDz PANGoxQQBqR2f6hCHcmFzhCGUH/S8DI/iJ6RAneuOTY86/OPsrr/gKfz+SDHFqvaqQQk GUlFSeJIzOT/oJDgPbiRcVPAEmzAfw/pbWdiAGxu50AJstsV9B3FRxk0rO43Jtj8y9YB zk+8su5f+NqGjrOKEo7YAUnN/CL+au9IZm81BizTOU6NUtdMCd+8NAL/GjmIObwCDYWu /7kRDSgXe4jbDgBPF3VtAKMcodFOIXbgrd3K3q7NxWFpRXeF/h+5eurm4XRVthyEBjAG +EJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=LY2i//2Vx9ZkrB28aBVtDWrlAvvbEY3BZAcVrov2gRM=; b=a5V8hDC1U752+8ra9dagAIy2PCxQgfm3W/smZyKDH6NLwFsPQHUyLF10lLCPhqx15Q XjHnOlrKDWQ9jV4oJ6xrMANYCIRGak8hnfwv1a2AQQTYwT3z/ByhzCPAsNlD/+FY/KKq extdRtfgWlKR0uqztOGiXNyEB9QzLUXCrFLrfZ2/duYYHv9i8TL4FgU8No4k1ZhgxKEv eURZ+K7o6TGUVdXMtlcjH9U9tLILumZjeCzOuTVS55Oyez9Y81KjqVHfSR6PvubJcTD9 kb+j0IC8dcpdMfnsfQSKEn2s5iFfvqIbmIV6vquTL3uNRWCWOWm+LgDrsma4vYOP7A17 Hb6Q== X-Gm-Message-State: AOAM533k+VXFTQI14IOa6xCrxJ84iW1iC1Q1yQpJlGQDypcDIX9r7ZEc +k51NZhX9H/69SVFhqPKUG2Apg== X-Google-Smtp-Source: ABdhPJxaAI5C5op1R/WKv3JGXd7zlgqYlay1BANZBibi/X73UOWf7GhizTUfDtUmnNKWncP17jes7A== X-Received: by 2002:a05:6512:4004:: with SMTP id br4mr3202804lfb.465.1631782221587; Thu, 16 Sep 2021 01:50:21 -0700 (PDT) Received: from localhost ([109.252.93.92]) by smtp.gmail.com with ESMTPSA id q18sm281764ljp.19.2021.09.16.01.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 01:50:20 -0700 (PDT) From: Andrew Tropin To: Ryan Prior Subject: Re: On the naming of System and Home services modules. In-Reply-To: References: <87zgsei5ta.fsf@trop.in> Date: Thu, 16 Sep 2021 11:50:17 +0300 Message-ID: <875yv0ykdy.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::12d; envelope-from=andrew@trop.in; helo=mail-lf1-x12d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Xinglu Chen Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631782269; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LY2i//2Vx9ZkrB28aBVtDWrlAvvbEY3BZAcVrov2gRM=; b=gwSkB4gsmGhPqnqobQuz1M4DHg7efhrL7twnngF3Ta07RhmI2BsiCgFRiK5ikvpQoZSzT0 POWFGW6xvKzb//pMFd/jyXaRkIWqWC9njGn7ygcoQNzvOAcx8CUAkxH420CinKoEdNywAE 4QAjC35vtvR4amhJmz1Tj8MAs1Ac0aCfHuTLbhuS0GhxWxupfvTSOpOIJw0T3BvbzlqBzm gnEraQIQGBjXG3ueoLRsLw8x5d+S88LI7c0MCEIqsCkGHPJhi6vxjAxnTBoHWCLqOpkfr+ w0xp6T+TD0CgU0aDtAy2wRdm5qUffHXPNFA0+XoRlbtroa7W+xz3G2zuHaqbJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631782269; a=rsa-sha256; cv=none; b=EFnXNoJmHt5QqqwSBIXqZAt3y7NNzeOj0yvVnIPecULYayeO9rRryPCITAc/CI4uj+VPAh Q228n2JX8pTp6mLiKeuPB0W3vklv/qomNpneDw40SaArqDi3MO+AG0mX7HtvbKeUBZREsb f2IhXJO5UI9f3jqitLXUzG60XBVI64NCPLP/6SeqU45vl22ljjNVJwDBPCQnxhiT7CGEyN qs42sn+lqM3xUHn76c6SYBMeau3vAZVCmJ/1m/yH5qUTBtIT9igS0DPJZ3LivHUoYxfCgC AaJzU+lwPBLFoQxoTJHAYFFPQfBOL32cSQJyRJM5wxrKqYhBkGtC6mw4uc03QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=gCJmLHro; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=gCJmLHro; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: CA89A1F66E X-Spam-Score: -4.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: y8Z+WircY7UW --=-=-= Content-Type: text/plain On 2021-09-16 03:05, Ryan Prior wrote: > On Wednesday, September 15th, 2021 at 8:47 AM, Andrew Tropin >> People will be trying to use home services inside operating systems, and configuration record for system services inside home services. > > I think it will be a dismal design failure if we cannot make this just > work the way people would expect. Why should we accept that a service > which can be run as your user (a "home" service) cannot be run as the > system, or vice versa? > > Perhaps there are some services that only make sense on the system > (for example, I don't suppose a home service defining Linux kernel > modules would be appropriate.) So for those corner cases perhaps we > must allow marking home-only or system-only services, and make it an > error to put one in the other's place. But isn't it the common case > that a service declaration can be part of the home or the system, and > this merely changes some details in how the thing is run and what > fields are required for its configuration? > > Ryan It's not technically possible with current service extension mechanism to have a service, which can be used in both operating-system and home-environment. You can read more on possible improvements to extension mechanism here: https://lists.sr.ht/~abcdw/rde-devel/%3C87sg56g97i.fsf%40trop.in%3E However, currently it's just impossible without a huge (and probably backward incompatible) refactoring of service extension mechanism and perhaps all the services. Even if it would be possible, still don't see too much cases, where the system service is wanted to be used as home service and vice versa. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmFDBUkACgkQIgjSCVjB 3rAe6hAAlXzjGpys9DCvg51jB0l6TxqyI32WiCmSJ54ZaZ+/ixCZKeIubtnjDlQ+ peAnpJGscu5S/KANDTRV3ewI84FB+bj8isC1VqU7yTdgo7bfn4R4vROR+1gJS2FB 3su35WIzM970CjTVUxOkNja37iMUCO/yuTlt7eKCa16baV2dqhAXEYqBeRUMvQNu 88fqguG57DowxqiRTuBpqeJbUwPFpuanCct7DZA/nO6aJG1dWWPH90BEfu8YCxoO 26FaTm1huj6bTm2qt0DvCe+fEDR/5AClnYqqCgoljmBG8/g9bfTCg4Kq42Ac8ezK ZPFI3GotJsnTA6QviL1VFCWe8W9dvxokon6IFt0pZADkMwmJ0kR0HoXjYRopAOo7 TLiPQ4fLuYbhKoI/rOn86RLbohhXqtPasL2xxfpoDsupxD/aiWFajX4Y0jcAkTqW 0ec8j495jfYeYJzHFxqp7USN8F475edTn1Zyd+7Eww7KZ4cCXXEBu2NmHVogszBj 7dvvbTDrMCViMPP/OW1v4epkoc/ItwYvZnUS2g758Jy1pDbKHDJiBUo2HDvyUaVS ynmlnBgIOcZftsdMHBzDc9QPpkAQOxZNC1MIYxYCv619PqPMkiE0VGdQG/DfpjUS BWfrXmAcBfFH65C881Q8Jhey5JyHobTeq7XBM7nP3c3yzzYY6sI= =mrx/ -----END PGP SIGNATURE----- --=-=-=--