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 ms0.migadu.com with LMTPS id SN65LpZ9UGIMMgAAgWs5BA (envelope-from ) for ; Fri, 08 Apr 2022 20:23:18 +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 EMiHJ5Z9UGJUVgAAG6o9tA (envelope-from ) for ; Fri, 08 Apr 2022 20:23:18 +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 6D0F91B016 for ; Fri, 8 Apr 2022 20:23:18 +0200 (CEST) Received: from localhost ([::1]:33218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nctGP-000715-Ai for larch@yhetil.org; Fri, 08 Apr 2022 14:23:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nctGA-00070I-OF for guix-patches@gnu.org; Fri, 08 Apr 2022 14:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nctGA-0001hx-FO for guix-patches@gnu.org; Fri, 08 Apr 2022 14:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nctGA-0003aT-C0 for guix-patches@gnu.org; Fri, 08 Apr 2022 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54561] v2 [PATCH 0/5] Add service declarations for Samba Resent-From: Simon Streit Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54561@debbugs.gnu.org Cc: Simon Streit Received: via spool by 54561-submit@debbugs.gnu.org id=B54561.164944213513657 (code B ref 54561); Fri, 08 Apr 2022 18:23:02 +0000 Received: (at 54561) by debbugs.gnu.org; 8 Apr 2022 18:22:15 +0000 Received: from localhost ([127.0.0.1]:35897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nctFP-0003YD-Km for submit@debbugs.gnu.org; Fri, 08 Apr 2022 14:22:15 -0400 Received: from smtprelay05.ispgateway.de ([80.67.31.93]:62804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nctFN-0003Xx-Sc for 54561@debbugs.gnu.org; Fri, 08 Apr 2022 14:22:14 -0400 Received: from [212.202.170.33] (helo=milk.d22.home.arpa) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nctFg-0007s3-OD; Fri, 08 Apr 2022 20:22:32 +0200 From: Simon Streit Date: Fri, 8 Apr 2022 20:21:26 +0200 Message-Id: <20220408182131.10271-1-simon@netpanic.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <02c2e04f0ef7404aab26e2c590cf3cd44634c74d.camel@telenet.be> References: <02c2e04f0ef7404aab26e2c590cf3cd44634c74d.camel@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649442198; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ybf1x+LOhPJtzx39T5BzakZDy8TpKT6i6GszBo4kyGc=; b=Tc9HltS10cJ8HvkCd58E8IAGYCIoxGUwKGDnBReYbrAJB65Ez9VJEJ2Tp2AasnCxm22lgF YHbSVRBaupE6Zn9othS9Vzizhs4sINrkyHPpnpJjQlr6yIjRrHAfJ7MVloqU4UsnigAe8c e7tYp3fm1BJzc8BoLhRc0+uF616oHNncXCss9BZxhj3xOAFy86Zvuoew8NlmNNCIK3aXip XeuhRcs7ewqIdvc5EXqD9OyuGF7Q6SHo5jK1SjsLiUb0BVlic35dSqHUI0Ox8KGMasvCbZ K78aJO4aynCAuxM8C85LucamtQkzpxDFUAn/wtJrId+GqdcMrRWFHs75QlkeOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649442198; a=rsa-sha256; cv=none; b=QY/oLG+YOaz1DydFtaSVg0kNFmMwaSRJCDXJHX90rQ4HCt9uAArh9DrYrJ9Mj3Yas6mzji CO2lpzElUxt4j/QwmflzDfA/vuAsBZ/agE/eZMfHATnAPXWaKnlcHk5kHFOHeP/nKTCDgN lppZ4ylYXS7vpJ/do7RbbrIFHZ8nHrIzuTDbqgH1P7ebq3Gin05f0nMxeAxcTlQ29XLEuB GzdnQIc0WO+/803sHwhoQzPcxsZARLjIc02y3fO6uOZMJXC6QXDxB4JJKYLJ8Tgqk1wo9E 8tUa+fK+rIlOfebsTnbSpC34Mqsq1tvZdzQYWjQoAJ0tPGqjSK7Viya1o7wlnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" X-Migadu-Spam-Score: -0.87 Authentication-Results: aspmx1.migadu.com; dkim=none; 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" X-Migadu-Queue-Id: 6D0F91B016 X-Spam-Score: -0.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3rAMA2XgijC+ Please find attached an updated patch series. I've made slight changes as follows: * The reference to further config options in the manual have been removed. * Samba's (samba-activation config) procedure has been slightly modified, * better cleaned up, regarding the mkdirs. I've done more testing and it * appears that samba will only run when /var/{lib,log,run}/samba exist, including /var/lib/samba/private. In this case it is chmod now to o700 to be on the save side. Debian's directory structure is world readable though. In Arch it is o700. If anyone objects, please make it world readable. It appears that Samba lives and breathes in these directories, so they better be put there. * Regarding smb.conf -- while this service technically doesn't need it placed at /etc/samba -- is convenient to have it placed there for other tools part of the Samba family to read it, and so that others can quickly look into its configuration. I'll leave this for further debate whether it can stay there or not. * The packages samba and wsdd are included in profile-service-type so that they are generally available in the system profile. I hope I didn't miss anything out. Simon Streit (5): services: Add samba service. doc: Add "Samba" chapter. doc: Add documentation for WSDD service. services: Add wsdd service. gnu: Add wsdd. doc/guix.texi | 118 ++++++++++++++++++ gnu/packages/samba.scm | 26 ++++ gnu/services/samba.scm | 277 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 421 insertions(+) create mode 100644 gnu/services/samba.scm -- 2.34.0