From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +DRnNELm6mGIaAAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 17:58:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mHKbMULm6mFaegEA9RJhRA (envelope-from ) for ; Fri, 21 Jan 2022 17:58:42 +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 8A6A73965F for ; Fri, 21 Jan 2022 17:58:42 +0100 (CET) Received: from localhost ([::1]:50260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAxFJ-00039e-Q4 for larch@yhetil.org; Fri, 21 Jan 2022 11:58:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA7Hg-0006EP-5B for guix-devel@gnu.org; Wed, 19 Jan 2022 04:29:41 -0500 Received: from smtprelay07.ispgateway.de ([134.119.228.103]:46303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA7Hd-00067W-JV for guix-devel@gnu.org; Wed, 19 Jan 2022 04:29:39 -0500 Received: from [92.195.30.39] (helo=herbert) by smtprelay07.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nA7Eu-00032Y-1Z; Wed, 19 Jan 2022 10:26:48 +0100 From: Simon Streit To: guix-devel@gnu.org Subject: WSDD Service Module User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Gcc: nnfolder+archive:sent.2022-01 Date: Wed, 19 Jan 2022 10:29:34 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=134.119.228.103; envelope-from=simon@netpanic.org; helo=smtprelay07.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 21 Jan 2022 11:53:18 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642784322; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=kzJT4proq6VrrKvsW4Rt0kCpmi1K7yju2kivvXPgf7k=; b=mf+7U534x+SwfIYfDBGsYbFm2qLIG24BciIVV4kTnv6MfS7kIJdjbFnDUkPRAyejAnKuHF /SzVZA4lT8tyVSnf6BcdcCu2r368mrHPazbfTo0m1yPfipelVjjAKermB8duN38b03NZpp scGGS8A5xKG9mx7Uacbpxph+BpjDmiO2mB1UpErL5oHhDCL1NQfg3K5Oife8YaUp1qnhIv 4YTiXSwDFg2puGPOj4jT1+1UbnEsTwV19ENqsmUb20AvYQjKGbctv7nCBxvDAxrCPFpHz6 14ZkxeWjRiNqbETdRr6esF+AoGOk9pI/cUgWy4NW9q+6B06B0pTAMYxJn7VEgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642784322; a=rsa-sha256; cv=none; b=SnQyXOf5Q912IHYWzaD/xif9a5FWpYkJTI6VMJWo+XNaV3LsTp2ivhj+UpK3Wvry4TLLk0 kyvV/WBLYJIr1soFwsMS3mBeVpSk9Z4UMhigwkzvRbOmR0iP+g8XleeLBjfuVV0xHnU8Wb GGm7OAxPZoWYeVCoOw+ThmHt4N+fv4WesitRPcWuIDZZHzIBctosf7O2d3+UdUsUJ+UK1W sXgak5GMexMl3qGU6+XqWEw70seIA/9xUIG7TmHLFuD5JVDtKx/5FXjTXYBt7Dyy0EW+LD VexycrwwjM8625bfxNQwQuqaTXLuEsq2sHXrGjKpLrb3WfaDqJxkohZvAzwR8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8A6A73965F X-Spam-Score: -3.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: Yyst+/s7hNfE Hello! I've been preparing WSDD [1] for Guix. This is a Web Service Discovery Daemon that replaces host discovery through SMBv1. SMBv1 has been disabled in Samba and Windows for some time now for security reasons. Hence WSDD is a drop in replacement for host discovery. I've packaged wsdd already, and while preparing this post I noticed that the version is already outdated too. That's next on the list now. Unfortunately while preparing its service, there is this one part that I'm having trouble trying to get working: --8<---------------cut here---------------start------------->8--- #$(if interface #~(for-each (lambda (arg) (display (string-append "--interface" arg)) ;; (format #t "--interface ~a " (list->string arg)) ) #$(interface)) '()) --8<---------------cut here---------------end--------------->8--- Which is the main intention for this post: I'd really appreciate a little hint on how to solve this small problem. Everything else looks okay. The documentation for this service module has not been completed yet. I'm still working on it. Once it is done I'll submit a patch. This is part of my ongoing work on working with samba. The service declaration can be found at [2] and [3] is the package itself. Thanks in advance! Simon [1] https://github.com/christgau/wsdd [2] https://git.steel-is-real.com/siguix/tree/siguix/services/wsdd.scm?h=wip-wsdd&id=f125d84ef57a555b389d7bafa54b7352bf8faa74 [3] https://git.steel-is-real.com/siguix/tree/siguix/packages/wsdd.scm?h=wip-wsdd