From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oBVwAs/NImXOIAEAauVa8A:P1 (envelope-from ) for ; Sun, 08 Oct 2023 17:42:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oBVwAs/NImXOIAEAauVa8A (envelope-from ) for ; Sun, 08 Oct 2023 17:42:07 +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 AB321476E5 for ; Sun, 8 Oct 2023 17:42:06 +0200 (CEST) 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696779726; 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=dV1jiujrsiOxOqF329fqVfGZMvU4n2L9eEG2tqc954k=; b=lkZTlaM6VuDiyCgfboiw5wxYS3UAU1H4GDZ/aFuuMvAAPc+Hq/SOW/6dVY0ikS1QuZct37 SLitSNk/NE7hgzuwHT4oooaEzR+eheMaRvvh7822jRPSJi3iliUjRqndkO0VI+Mz6ExbX+ ZW0MlXDBRkbAlfiGLVUu5xKMu9RT/vSCD0A9sJ9A0pyVEX6YGLVOLWJggVhVBUTc6qiZJD z4ikkjpe5fB22XVq0uJ+DF675YhLHgoFsa2cUPZeZijRkMsX2Fq7WKxoMxvWwef7qG3VdR E2d7nvahvioTNnPbcdb9DQp+/BWniAHoA5OmOBu3Q9gb82ey2h+12djOxFEAgA== 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-Seal: i=1; s=key1; d=yhetil.org; t=1696779726; a=rsa-sha256; cv=none; b=VPpBA3IZoh9Cl2ObjpEHvz5pkjGL5IcXwD96hnLgS6GUGGRlTvzk7NOHutOda9c0utNMjg 6/pEV8SstJhLSKV9I8hpYYqxdenj1L6ajhc060Rsuj178ClAzvz1naCfNNyn4Mby1hxUOr +GJNSBqj916JlmiTQsZanBlX1glaQrxSo/Zsu33ZelGUBxliYzNBa+VdphTNQKm6CzCC0F hEw6xX2tnDkPqWpaNGrdIQn7zfdIvQ5TXJ9AeSB0PoMXb+MIKAytmStc5aeu7xFOStzL5J 5hmdXAPwhv9/B9WUc+Hdeld5OyswRzZIgEJh++fPLWoyj4aDBipfGIQHO+DaVQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpVuZ-0008KX-Ox; Sun, 08 Oct 2023 11:41:43 -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 1qpVuY-0008KA-Fo for bug-guix@gnu.org; Sun, 08 Oct 2023 11:41:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpVuY-0003rX-77 for bug-guix@gnu.org; Sun, 08 Oct 2023 11:41:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpVur-0004gp-VM for bug-guix@gnu.org; Sun, 08 Oct 2023 11:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66339: Gnome-team dbus socket in /var/run/dbus, not /run/dbus Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 08 Oct 2023 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66339 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , Vivien Kraus Cc: rg@raghavgururajan.name, 66339@debbugs.gnu.org, Liliana Marie Prikler Received: via spool by 66339-submit@debbugs.gnu.org id=B66339.169677968317732 (code B ref 66339); Sun, 08 Oct 2023 15:42:01 +0000 Received: (at 66339) by debbugs.gnu.org; 8 Oct 2023 15:41:23 +0000 Received: from localhost ([127.0.0.1]:58261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpVuF-0004bs-34 for submit@debbugs.gnu.org; Sun, 08 Oct 2023 11:41:23 -0400 Received: from smtpm2.myservices.hosting ([185.26.105.233]:60288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpVuB-0004be-TF for 66339@debbugs.gnu.org; Sun, 08 Oct 2023 11:41:21 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm2.myservices.hosting (Postfix) with ESMTP id 0D99320E7B; Sun, 8 Oct 2023 17:40:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 63CC2800A7; Sun, 8 Oct 2023 17:40:56 +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 PegLxOJj3Wbp; Sun, 8 Oct 2023 17:40:55 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 86318800A9; Sun, 8 Oct 2023 17:40:52 +0200 (CEST) Message-ID: Date: Sun, 8 Oct 2023 16:40:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <45f8d9661e3ed9bcfd7b84df4890f4f1b551e572.camel@gmail.com> <0f234811bdabf42660367dfae5ecdf88439b48e3.1696688485.git.vivien@planete-kraus.eu> <87y1geijiu.fsf_-_@gmail.com> From: Bruno Victal In-Reply-To: <87y1geijiu.fsf_-_@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.17 X-Spam-Score: -3.17 X-Migadu-Queue-Id: AB321476E5 X-Migadu-Scanner: mx2.migadu.com X-TUID: vNTmJBOOpTx6 Hi, On 2023-10-07 15:39, Maxim Cournoyer wrote: > Hi, > > Vivien Kraus writes: > >> Glib has made /run the default runstatedir: >> >> https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3101 >> >> However, in Guix, the default runstatedir is /var/run. >> >> * gnu/packages/glib.scm (glib): Set runtime_dir to /var/run. >> --- >> >> I changed my mind again! Following the IRC discussion, Guix has a separate >> /var/run and /run (and puts /run/current-system/ in /run). So, /var/run/dbus >> is actually the correct place to put the system session socket. I recommend consulting the dbus spec [1] (System message bus subsection). If I understood it correctly, `/var/run/dbus' is correct when the environment variable DBUS_SYSTEM_BUS_ADDRESS is not set. The /var/run/dbus or /run/dbus confusion is clarified in the third paragraph: “On systems where /var/run/ is known to be synonymous with /run/ (such as most Linux operating system distributions), implementations might prefer to make use of that knowledge to connect to or listen on unix:path=/run/dbus/system_bus_socket instead, […]” So it's up for the dbus implementation to detect whether /var/run/ is a symlink to /run and whether it wants to explicitly choose /run if that's the case though none of this is mandatory. […] > I still see /var/run as the legacy directory of /run, so I'd prefer we > standardize to use the modern variant to reduce this kind of friction > with the applications which will only grow in the future. My understanding is that the implementation should be placing them under /var/run/dbus but this is orthogonal to the value of runstatedir. In view with [2] I think runstatedir should be /run and Guix should be modernized to have /var/run symlinked to /run. [1]: [2]: -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.