From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kI3zByZHnmRxbAAASxT56A (envelope-from ) for ; Fri, 30 Jun 2023 05:08: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 mp10.migadu.com with LMTPS id CBoJByZHnmQBYwEAG6o9tA (envelope-from ) for ; Fri, 30 Jun 2023 05:08: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 BCDF12F3D5 for ; Fri, 30 Jun 2023 05:08:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=peers.community header.s=dreamhost header.b=bmdghdQP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1688094501; a=rsa-sha256; cv=fail; b=ke9ptUPdtESQgx1zQd2M7/dlLJahzOE0NmMOUaFbtNKXTQ4f9RcQPMil1ubQ3cv3XfAMkC pnfIFgc39hoDemBHnHFtCDKIr4jjtp5yZmJvxgFtyo5Bq6I9G0PdsoWRCUyu3Q6Pr+ukyS AI0Q7/iDjmJdqQlKEIJxMWl98kRgkOjcN2R46ohe7095+naMVDC99Gsg8Eiq2MKsqpEvP1 xG+hQDL5n5iZasv0+iDMB7K4rw2G1kbUIK0cneuQa/w0w9ugyRqOrbmuaSCAOvGH5Ie8Zr N7tJD8riXG2dE9CZsZsUSPA7YgJ4kO49ZlvhMjbkaSc0xBM4VNOl/+FSD8kg4A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=peers.community header.s=dreamhost header.b=bmdghdQP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688094501; 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: 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:dkim-signature; bh=c5qQWgHnMNQ+NLb3GU3lQPiUwNPpdraACdN/JkwNcMk=; b=RvfdHqOu9/FiOSJ7Ibbo3wCZkc3e+Hc/El3p6/gnaSw+GHoPbHVE560F3a5lIfsxwUY/zo ykWY0+lB8u1Apb3S+XBpk+4z23WaUjkEW8Dui+0anMtIBo76dPuwgADjjwANvFu6JhJEo+ q5ysdZFNTz8t1e/ipdMRzdYCcYyEtuYDJCPI0Zox25lVoekgED47AteIh+PfGz02EKSaHO EPrpR7wxe1s8LO/lnarlnCJH+MKDxGQOBnn9RzS98TwA8vhDqSuCp5eEvL1LJYJZtQWRhr Rkipe09EtMbZmUyKtVXaOXqBjwyio2SBRZgUXpxZfOfENRJK4hUimOYA4eQNhQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qF4UO-0008Ah-PF; Thu, 29 Jun 2023 23:08: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 1qF4UM-0008AH-TW for guix-patches@gnu.org; Thu, 29 Jun 2023 23:08: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 1qF4UM-0004gr-L7 for guix-patches@gnu.org; Thu, 29 Jun 2023 23:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qF4UL-0001oF-Vt for guix-patches@gnu.org; Thu, 29 Jun 2023 23:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#34154] please re-consider adding an os-release file Resent-From: bill-auger Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Jun 2023 03:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34154 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: wontfix patch To: 34154@debbugs.gnu.org Received: via spool by 34154-submit@debbugs.gnu.org id=B34154.16880944776943 (code B ref 34154); Fri, 30 Jun 2023 03:08:01 +0000 Received: (at 34154) by debbugs.gnu.org; 30 Jun 2023 03:07:57 +0000 Received: from localhost ([127.0.0.1]:54319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qF4UH-0001nu-9x for submit@debbugs.gnu.org; Thu, 29 Jun 2023 23:07:57 -0400 Received: from beige.elm.relay.mailchannels.net ([23.83.212.16]:10179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qF4UE-0001nf-93 for 34154@debbugs.gnu.org; Thu, 29 Jun 2023 23:07:56 -0400 X-Sender-Id: dreamhost|x-authsender|bill-auger@peers.community Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 71257140AF1 for <34154@debbugs.gnu.org>; Fri, 30 Jun 2023 03:07:52 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 07E2B141269 for <34154@debbugs.gnu.org>; Fri, 30 Jun 2023 03:07:52 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1688094472; a=rsa-sha256; cv=none; b=B+G3jYEpgxrFpYFwIs9uA+Ms+ku2Fk8nGtn2qKhFADW8SYlgwqKQElIw1QfaPJZwDs30pr wiWceDIQj9kaxKkr/0i7qTLCiljr1PqUoKusGheyGLCJmLwmQgldRQ3n0OrLLf2CtCWZnA 1eS2ygW1fvzZccouq8AHYwh/3/UPclwc5KbTOlT4fxijA9DiDHZHuFIaJgpns7VTPamlf3 SaNsk3fwqbkgtXCGZ1w/EUC/Ven+kZwa60EWB4+mCYYGrtf3nl0jztRzzYe7y924jPuOCr 3PDxBd9FuEskjnYz8e+fJkmRuZcbelzbTye6c9b989DaxZJ9YaQJPcA3UYeUJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1688094472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ZwFOmmyD8faP/wIYzykYOHQ8s8dPgAzSMd0CTD6g0E0=; b=2KJVyENJiZ3pvd3QbvKFnUv5FwiOWnY2hBApFmrrD0VNt69eWvGK4jahFt4NCpWBSZpJ7k PyE3NWUIPvR5nUKe8kyFah8ornndkVb7dttO66VAaxlHrrordTIxqtVu4wV8XCjRHAr5eV h+Fc0tLdIivvE+2yiIGM5Oc+6Y80tdtsMnSQFICuzOED00/iZsDujQYBFuqoRTK5lOFzU8 pEb/08iOGUDU5f6qjHV+wZwOzqBE6unVPKsO2eiZmF+8ztYaMl4OW4T27YjvZIoJ4zAaqI VchZBmVeYsvUUxYwrbBgM5dIUzFjRwA3EsygMcyRvJOg+uP9yFUh4Brnkxb7Bg== ARC-Authentication-Results: i=1; rspamd-9fcc56855-gcssm; auth=pass smtp.auth=dreamhost smtp.mailfrom=bill-auger@peers.community X-Sender-Id: dreamhost|x-authsender|bill-auger@peers.community X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|bill-auger@peers.community X-MailChannels-Auth-Id: dreamhost X-Little-Ski: 32feb0cd1a462f8f_1688094472248_134378238 X-MC-Loop-Signature: 1688094472248:1381529522 X-MC-Ingress-Time: 1688094472248 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.126.30.17 (trex/6.9.1); Fri, 30 Jun 2023 03:07:52 +0000 Received: from parabola.localdomain (024-183-181-070.res.spectrum.com [24.183.181.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bill-auger@peers.community) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4QsgHC3D8CzDV for <34154@debbugs.gnu.org>; Thu, 29 Jun 2023 20:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=peers.community; s=dreamhost; t=1688094471; bh=c5qQWgHnMNQ+NLb3GU3lQPiUwNPpdraACdN/JkwNcMk=; h=Date:From:To:Subject:Content-Type:Content-Transfer-Encoding; b=bmdghdQPaRSn/B+zIwu5geST71EDsXffyDitXDVtX1mK26h6OFgVy9uDA+QnWMmnm 1oPNO8VSBGVq8Sc7SceuYOGtRhHr7bl6HorfHxQmX1CV+r5IDlK/15lic4/QVzPPE8 OeRxAq6gqe+wmn/ueSCRmgecqdHW+rC3tGoKfqh7jHoY45ZHnybqkMjEpDKLMdRaHw CEWqs8FmKosvzz788n+TD9BkQNm1fD/0l/zSR53m49llf0uzejNzlNXt5rhdGdgy1+ N5rZlVKkss8CjPu+4NOfZVTZNv3eGoLSvbw6lddR1swMNSa6ugoibmF4+sk4Sx9ALV UAuEh21YhXKpQ== Date: Thu, 29 Jun 2023 23:05:49 -0400 From: bill-auger Message-ID: <20230629230549.0242ef08@parabola.localdomain> In-Reply-To: <20230629224119.0dea87db@parabola.localdomain> References: <20230629224119.0dea87db@parabola.localdomain> Organization: parabola gnu/linux X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.26 X-Migadu-Queue-Id: BCDF12F3D5 X-Spam-Score: -1.26 X-TUID: 2kr1mQ4U39Pf please consider adding this file - aside from the specific use-cases which were argued against on this thread; it is generally useful for any application that has a valid reason to know which OS it is running on, without resorting to a difficult-to-maintain stack of brittle white-box knowledge and system calls like os-prober does - that identification can be used to infer the system's properties which tend to differ across the *nix zoo, such as it's level of FHS conformance, the name of the package manager executable, the bug reporting URL, and so on i am asking for the specific purpose of h-client, which has OS identification as among it's primary purposes - guix is the only distro supported by h-node which does not have an os-release file - nearly every distro in existence has adopted this as the standard identifier, in favor of distro-specific files and clumsy mechanisms such as lsb_release the proposed patch was not quite compliant though - the standard is for the actual file to be /usr/lib/os-release, with /etc/os-release being optional - but if /etc/os-release exists, it should be a relative symlink to ../usr/lib/os-release - the reason is that applications should first check /etc/os-release, in case it has been over-ridden by the local admin, then fallback to checking the vendor-provided /usr/lib/os-release if /etc/os-release is missing with guix being as let's say "unconventional" as it is WRT the filesystem, perhaps that was an important implementation detail; but please put at least one, in one of those deterministic locations - even if no application that guix distributes is known to make use of it, it is a completely harmless, stable, and tiny file - rolling distros only need to add it once, and it will never need an iota of maintenance