From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KC0CMP6oyWDdcAEAgWs5BA (envelope-from ) for ; Wed, 16 Jun 2021 09:32:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iFG+K/6oyWDLGwAAB5/wlQ (envelope-from ) for ; Wed, 16 Jun 2021 07:32:14 +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 40D36206B7 for ; Wed, 16 Jun 2021 09:32:14 +0200 (CEST) Received: from localhost ([::1]:50224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltQ21-0000wT-AG for larch@yhetil.org; Wed, 16 Jun 2021 03:32:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltQ1q-0000wI-FN for guix-patches@gnu.org; Wed, 16 Jun 2021 03:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltQ1q-0008Qu-8O for guix-patches@gnu.org; Wed, 16 Jun 2021 03:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltQ1q-0006ve-5U for guix-patches@gnu.org; Wed, 16 Jun 2021 03:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48751] [PATCH] services: laminar: Create parent directory for unix socket. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Jun 2021 07:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48751 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 48751-done@debbugs.gnu.org Received: via spool by 48751-done@debbugs.gnu.org id=D48751.162382870026605 (code D ref 48751); Wed, 16 Jun 2021 07:32:02 +0000 Received: (at 48751-done) by debbugs.gnu.org; 16 Jun 2021 07:31:40 +0000 Received: from localhost ([127.0.0.1]:51460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltQ1U-0006v3-HW for submit@debbugs.gnu.org; Wed, 16 Jun 2021 03:31:40 -0400 Received: from mira.cbaines.net ([212.71.252.8]:50018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltQ1S-0006uv-HR for 48751-done@debbugs.gnu.org; Wed, 16 Jun 2021 03:31:39 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 9890227BC78; Wed, 16 Jun 2021 08:31:37 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6e684eeb; Wed, 16 Jun 2021 07:31:36 +0000 (UTC) References: <20210530195952.22708-1-arunisaac@systemreboot.net> <20210530200527.23041-1-arunisaac@systemreboot.net> <8735tstln0.fsf@cbaines.net> <87eedajov7.fsf@systemreboot.net> User-agent: mu4e 1.4.15; emacs 27.2 From: Christopher Baines In-reply-to: <87eedajov7.fsf@systemreboot.net> Date: Wed, 16 Jun 2021 08:31:34 +0100 Message-ID: <87a6nqs1t5.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623828734; 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-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=wMsxXtppycBD09ISZ1Sn4uq2f1GA71iBBKNjuY7P8TI=; b=a39ckdlenstE2oc7MpTTR93We0QZqPpLw40JkCN+7v2vpWVdyMMhG0Z3j/yLfaZYcVo2Hn aTqHt/AxOF3yrrX0ufivM4boErvAWaMEq8HxncGF5wN2iY25pcM8U28kOmYhnSYx4+tcGY Lr4nKdkQgi57KHzm4J38wavkbsNobsk5Cxn3M2HZKW9LOyxStO+MIoxDmqazV+0xFMnp68 k8ym3c2LCs12McjkeBTPFwJqfsEMGny51ff6TGP933o5ibkBxCuIuAgP6aWKtpLPO+XkY4 nVTssPBcoCtm+Mr7FSrMVZ25/EnxWFNZT2mcQrbf4HC5+vGw8SolO9kvwy63hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623828734; a=rsa-sha256; cv=none; b=hB9676VwZ5qcVclPK5VdEcieOGiaMJMm93MilM3A8XYGTptITHpyc9TG5qcGtzsgFpFb5X LJJsNGUowh+BjU7Btrz3mA+60Mv4rHtC9U6ldsUeCCKwJndOockSyNJk1uJLIlm5IrJLNN 0blStEweVbOnF6agAdnzDMaaTq4ulO3gmGWGjnmoYtiIT3d0Z/EUTvzcl1NDFzkNuw2/+B zKiQ0RJYjOyYfHPKaY0tuAGIGaxruPbENlU9rYVdzLUJutG/UiWrdtM9h/PsQmaItT0V3y NknwdjXTyiH31WNzY4ZNw5SLdSxnoYvMxzpqe0aaeN49mPM9lGuyIqoox4qn6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 40D36206B7 X-Spam-Score: -4.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z4fJWazLqV9B --=-=-= Content-Type: text/plain Arun Isaac writes: > Hi Chris, > >> This looks good to me. > > Pushed to master, thanks for the review! > >> I don't think I've played around too much with different bind options, >> so I haven't come across this issue. > > One problem still remains even after this patch. If the laminar web UI > is behind an nginx reverse proxy, the nginx user needs to have > read/write permissions to the unix socket. For this, it should be a > member of the laminar group. But, short of modifying the nginx service, > I don't know of any way to achieve this. Something more composable would > be nice. The nginx service being aware of laminar doesn't sound > right. Any ideas? Nothing comes to mind unfortunately. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmDJqNZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcdUQ//aWR0QwvWJP9lbciu08w61wzPNVEnfUQG I5Rv1ARrvQXH+g/ne4vvdQs74M2b8J0XWkvecaOiNIb0DZvHU2R93mYhfD8y9a2y PcIRUUJ0+9cwWXsdbSvc8MI/WYdlxuOgPgg/5KA1XntaHL0MRK5KbkunM/zpS7am Fx+uu1AihH+UYAsoq9SAFTvoJXp4d5W2/0pyLCLSqSxSTBeYQY/BmG262VfRX+pX +QB8U2tfI32B9D0/gZl+1zVAxblsW50js0p9geEjizyb+pwIJpcrNKd+Gkv831xZ y740wDvKgndy8hSR/4OzBwf1PLeC9ycCJjtMimFgdh9uKFiadovJQ77KQRp3kQUb WW5TbyT0ITP5WyOVauF//ubvmIUMHFV5UnrJhnguL+kKY6sx3nqn/+D6LPEKgL3F L6GOet4kru+O4Ppyodh4Lo8MWcHV4OJYplUE3+kRtW8qVPl/VrTe3TKfBiw0uDzB lK+y6bGCetCYVnPWFVcsyqVPA0l3a6qr4KRqpfvr+G1+eKfrVZkBX+ryyTZCb31w oLRGvDM8Q3yE10Z0IritC2plmnagzF0tGieXKUtVRiK+EDvDC9vGvC+JPUpOWqpF +heBS1XyuS2rY3frNjwxBP4IEK8uxE83EfAPMUBFLyVkn0ksdw/ZnWw90xoytCFb 3cuKhQUHgoI= =r3Ji -----END PGP SIGNATURE----- --=-=-=--