From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KMElLdQYGmT2WwEASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 21:51:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mL9ELNQYGmQNdQEAG6o9tA (envelope-from ) for ; Tue, 21 Mar 2023 21:51:32 +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 663FB370B3 for ; Tue, 21 Mar 2023 21:51:32 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IYW8fCRR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679431892; 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:resent-to: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=o0uLS01rW0kl7prWStUsiaEDiYsWP/kyF+Jb57fNrEA=; b=GN9weC/uKBkxnHpX/aYPo2lm9jX0d361Sa0lp6WKpPISjW1J8Tg5l57nk/o697vWNFqJNV pFqvoqX366HgSnC5fFuNCHNVtr1vwXsz355AoCYP0TnMxqS1X1kW+nJpDEtZp/LlrfDoxx fDKYXQ9ebwoeUzppArh3dlYbObIU4kCJttbcjaEul/ANi30wC58ofbVLevaP3NiTrEqTU2 vjFzu86oY/BTl/SKlHPUDoZV3EUJSOVPYm7KW7ce6mVyCpGlgfRK6wKTW3KNk19IMglSzU f8qnnAQXt2oMmUNymPFh+kd7a5VjdKYnhhXU7Deh889AOIrGMYm0XCqEulaZ+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IYW8fCRR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Seal: i=1; s=key1; d=yhetil.org; t=1679431892; a=rsa-sha256; cv=none; b=pxXoO/Z8tGjdzSYgiXJ1TBOr5HQluWebrmFsQy/ufjpZsK3uAOpKJVC4XPzzYQfR64ImGN jzA8b3EHeJRB+H67rZbYYWUVuV7m4yHhhf6BMGqCgyNN14YwGj67iGsZGwRM2+gmPMqBH6 C/yB1bg3HNxN93UUqiJ1opH8xFDfhG4T9LrmKflDaC6d6BNB7uI4zZAhvY29uxhwinbqbj DkpAYQBwzExsg2tTOJClPSNcaSQnUUxQjFgj7TxL+ydVt4xDUOGvvzi+JeYwoTVyxkwrvB Zr1fbA2vtamHg/tx2SZRLarZmawmKthHIcY0Gi2mPBjPlBm394OcvXfbds/f7A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peiwi-0001vC-UZ; Tue, 21 Mar 2023 16:51: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 1peiwh-0001uL-4y for guix-patches@gnu.org; Tue, 21 Mar 2023 16:51:03 -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 1peiwg-0001cF-Se for guix-patches@gnu.org; Tue, 21 Mar 2023 16:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peiwg-0001tv-Do for guix-patches@gnu.org; Tue, 21 Mar 2023 16:51:02 -0400 Subject: bug#60756: [PATCH 0/2] Add x11-socket-directory-service-type. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal Cc: dev@jpoiret.xyz, 60756-done@debbugs.gnu.org Mail-Followup-To: 60756@debbugs.gnu.org, maxim.cournoyer@gmail.com, mirai@makinata.eu Received: via spool by 60756-done@debbugs.gnu.org id=D60756.16794318247243 (code D ref 60756); Tue, 21 Mar 2023 20:51:02 +0000 Received: (at 60756-done) by debbugs.gnu.org; 21 Mar 2023 20:50:24 +0000 Received: from localhost ([127.0.0.1]:60938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiw4-0001sl-CH for submit@debbugs.gnu.org; Tue, 21 Mar 2023 16:50:24 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:46915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peiw3-0001sX-3e for 60756-done@debbugs.gnu.org; Tue, 21 Mar 2023 16:50:23 -0400 Received: by mail-qt1-f171.google.com with SMTP id c19so19567090qtn.13 for <60756-done@debbugs.gnu.org>; Tue, 21 Mar 2023 13:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679431817; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=o0uLS01rW0kl7prWStUsiaEDiYsWP/kyF+Jb57fNrEA=; b=IYW8fCRR6n/5rzYGtFvBk4cwaP1IX8A6cN2yykGrvYpsDmUlxgiA3XYHEe2BJnCsQQ iuOn7MGpGelV0FMukn2vRGqQrloFTxelESDVQfQCPpDiysHR8N24Nd+LsuhwZfXh6R8u rLszSsRXam5V0oYe6LbBc0F4wFELg1NLc7Dez9XuEhDXZG7wZV0yfXjFWANeWni3uLuh kSQ8Tdt3AJFKP5x4k7RVF+y+aMHXvceOj6x6dB6ugPt/OKtBiDEfUUiDR0pNs7+FezE9 v9YazH7oO78D5O3/Df+JN3I4X5SmfyYNhb05xra0G+K4OEu+7reTwMmkEnartcaz0Y/S AV3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679431817; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=o0uLS01rW0kl7prWStUsiaEDiYsWP/kyF+Jb57fNrEA=; b=MlQPBoQPjDNdEH4TAvGxpv+tkU7lJrqBPRBB5Nt6lJQw5tbiL7haT4TgsnytXJbHx1 Ikkb6YGylVVjr87NsnvkBgbn0qFj+tw5iYgzOOEOQnbGxB5/B5Ya1B5KKTNr4ZAxF85T zT084k77ysJuHayzO2XxPhwClMji7zivjtyfl3ZF3tAp2XsiXALSAbiaIZi0RfSI1+xZ NejIvLvr0KkTcxhBn6EMcBzCvyWqdwFrFLGAfIVZ0A9JlVMxBwW3WXRiDsCW5A81F5IH dDno3KyzPpPZpOVU2B3wtVD7MMsL0uTWkAUtzilkDSUKMPim84+NIXu/x3vVWOB+Frqo 0ztg== X-Gm-Message-State: AO0yUKVCqeADDzkZoaiTE8slWfG7Bw329ctaU2uQNcrl5+S3t+5RrRhj +isuPxia9XpPDmCBgBGzYT88enRkp68Xhw== X-Google-Smtp-Source: AK7set8oKn80XSuUsW7s/39H6a9RE09dbd6sPSldhMBfNgdUiua+r8ZDzy7MDBy2CXb0FdmSuYp2Hw== X-Received: by 2002:a05:622a:1101:b0:3a9:818f:db3d with SMTP id e1-20020a05622a110100b003a9818fdb3dmr2186854qty.53.1679431817432; Tue, 21 Mar 2023 13:50:17 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id g17-20020ac84811000000b003e1cf472b17sm3950060qtq.97.2023.03.21.13.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 13:50:17 -0700 (PDT) From: Maxim Cournoyer References: <4eab1cc425f89bf321477b432ba407a71285e974.1678105938.git.mirai@makinata.eu> Date: Tue, 21 Mar 2023 16:50:15 -0400 In-Reply-To: <4eab1cc425f89bf321477b432ba407a71285e974.1678105938.git.mirai@makinata.eu> (Bruno Victal's message of "Mon, 6 Mar 2023 12:35:01 +0000") Message-ID: <87y1nplth4.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: X-Migadu-Queue-Id: 663FB370B3 X-Spam-Score: -2.95 X-Migadu-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com 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-TUID: 6hUF5ZkneebL Hi, Bruno Victal writes: > The x11-socket-directory-service misuses activation-service-type > to create directories. This kind of usage is incorrect since > activation-service-type does not depend on file-systems, hence incompatible > with user defined /tmp mount. > > This commit turns x11-socket-directory-service into a shepherd one-shot > service by defining a new x11-socket-directory-service-type. > > * gnu/services/desktop.scm (x11-socket-directory-service-type): New variable. > (x11-socket-directory-service): Deprecate procedure. > (desktop-services-for-system): Use new service-type. > * gnu/tests/lightdm.scm: Ditto. I've applied this series, with the small change: --8<---------------cut here---------------start------------->8--- modified gnu/services/desktop.scm @@ -1578,7 +1578,7 @@ (define sugar-desktop-service-type (define x11-socket-directory-service-type (let ((x11-socket-directory-shepherd-service (shepherd-service - (documentation "Create /tmp/.X11-unix for XWayland.") + (documentation "Create @file{/tmp/.X11-unix} for XWayland.") (requirement '(file-systems)) (provision '(x11-socket-directory)) (one-shot? #t) --8<---------------cut here---------------end--------------->8--- Thanks for the contribution and to Josselin for the review, which made me much more confident to install it (along with the QA badge). -- Thanks, Maxim