From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob1.topicbox.com (tb-ob1.topicbox.com [64.147.108.173]) by inbox.vuxu.org (Postfix) with ESMTP id EB01F24B9E for ; Wed, 6 Mar 2024 13:53:28 +0100 (CET) Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id CF927293B2 for ; Wed, 6 Mar 2024 07:53:27 -0500 (EST) (envelope-from bounce.mM36dbf7b9e2efc3a83ba11e15.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id CBCD010D498C; Wed, 6 Mar 2024 07:53:27 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1709729607; bh=TBkHEjRMkMqSJioD 9oEMuy+z/sIM9JhXjVVzZTTa9No=; b=UoSzK8g4s2E75SgYSwCW0r7s4DuH50Tl Y2XdJ9phXuBJSAXia11p5ILN8BsZDC6Obdw1+zXp0mR+LfAfCan9m1dSAGFbxrRj eK7zyPo6NnFzq1iFouxXCEiJXxktoB/0AXJxkJ5hh5mlrMOeWFs3p7o7c7c3XrF4 25QAl96s3SE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1709729607; b=pbQiBZJVdyQudEgkiYZskF0tw7TW6mBmScruWORfbbqZ6bPGJQ 2mlxNTPQ/Nu1rrTSWuGsM5JwXgWKLDPnloysHigxEc7jYxALGPQJxc9RE5ufSShl +5mkVIE86b66tCbBKnOYID6DmxXbLwCMRxa/MsNn6WiUCk38PeoxNkVeU= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1709729607; x=1709816007; bh=TBkHEjRMkMqSJioD9oEMuy+z/sIM9JhX jVVzZTTa9No=; b=gOx9XG9Dzi1CsM3VImGoENDpml6BuQeL0PVm2X8msbed6v9W PgcI5htvlCT202D3nn50wI1NrjTwmg+y/O2nnDGvu6FepNjz5LKsX7mpnKREnmCN TSlsUtL2aMVxFYJg72VF6KAoU0POf0P+gKbPxBz+nqd397lIUACq3GJexm0= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id BFC57ED3A8B for <9fans@9fans.net>; Wed, 6 Mar 2024 07:53:15 -0500 (EST) (envelope-from sirjofri+ml-9fans@sirjofri.de) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 160BC1ABBCD; Wed, 6 Mar 2024 07:53:15 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1709729595; b=q8fgiY3+aRSdNJFfq8tOug3ZssSDPKRyGDh7I86Lq2nX9HLspX h7XiajkFAX3zB5GtfTdyZv7s7Y0qZ48O3ve+f6P+6ucZ2c2y4QLpGBRd75+hpS3y FdmgNXNpJAN77tr6fZ4Uh0lifpSgach97B1wGVnvUyFwNP+nngQO4pf4KDgy7sv4 YIcHqowJc1Fe/NH90jnCl/ZbZK7EiZZyAC2G/PetuYUTKUEBejKNTGRlWlpds1nB /7s6KpsT48Bs7f9zcC9namg8/HT2Iuh34j8tRPtBEGPS42LpyPEpImTAlJ+jUF3Y Jpi3/6Hrwsj0ROhPk3C4TSqUNFIj/HdhvQdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; s= arcseal; t=1709729595; bh=0MsBJct++pSKMJpNmQCtywZ94NWMWkxCn2WKHt zg6uw=; b=q3SU79LQYhZ8HRKFlPlQlN9SSgrQFkMWh3KSgltkUZmcz3npxH49Oe JfQg9tGLcMXVJpHwMAETZPxFE0IzaODoYr5v71XM+peYmDMa+LP2nFQoPp4MMP9Y 9/cjPo/ks2K6evKIQeWIe9mNMI9dpdDDqmeGIvpDOnecUCVuj7kE/YDXj8RsaWWG TR67DoIQdgutLta1+gL7Z6fHe1Vp/TKF2W/IAvgXsgJ/jOlxo3Uy2b+O/ei8h0Vc MdSr94GbsClPvZJxPlocBjbK+ZvHsC2+u0P3YbG17PPrrSYeycF+1MLpV7arb2tB +/Xp9ESJfzeRXzpX7uc8VaCrEihvYm0A== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledriedugdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffkjg hfufggtgfgsehtjeertddttdejnecuhfhrohhmpehsihhrjhhofhhrihcuoehsihhrjhho fhhrihdomhhlqdelfhgrnhhssehsihhrjhhofhhrihdruggvqeenucggtffrrghtthgvrh hnpeeifedtlefhffehuefgvdeiveegfeekkeetfeefjeefteegjeeijeevgeehjeevjeen ucffohhmrghinheplehfrhhonhhtrdhorhhgpdhgihhthhhusgdrtghomhdpshhhihhthh husgdruhhsnecukfhppeehrdeghedruddthedruddvjedpfedurdduiedrvdehgedrfedt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthephedrgeehrddutd ehrdduvdejpdhhvghlohepshhirhhjohhfrhhirdguvgdpmhgrihhlfhhrohhmpeeoshhi rhhjohhfrhhiodhmlhdqlehfrghnshesshhirhhjohhfrhhirdguvgeq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sirjofri.de: 5.45.105.127 is authorized to use 'sirjofri+ml-9fans@sirjofri.de' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="sirjofri+ml-9fans@sirjofri.de"; helo=sirjofri.de; client-ip=5.45.105.127 Received: from sirjofri.de (sirjofri.de [5.45.105.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 6 Mar 2024 07:53:14 -0500 (EST) (envelope-from sirjofri+ml-9fans@sirjofri.de) Received: from dummy.faircode.eu ([31.16.254.30]) by sirjofri.de; Wed Mar 6 13:52:58 +0100 2024 Date: Wed, 6 Mar 2024 13:52:55 +0100 (GMT+01:00) From: sirjofri To: 9fans <9fans@9fans.net> Message-ID: In-Reply-To: <874jdj1wcf.fsf@rdklein.fr> References: <87sf1829zy.fsf@rdklein.fr> <878r2w1hsa.fsf@rdklein.fr> <8ecb415d-7785-4f49-b209-253def72de30@sirjofri.de> <874jdj1wcf.fsf@rdklein.fr> Subject: Re: [9fans] Content of your /rc/bin/service or /dis/svc ? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 82829f4a-dbb8-11ee-9d21-a09762d92c0e Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZjczODUxNTAzNDY3MzQ2Zi1NMzZkYmY3YjllMmVmYzNhODNiYTEx?= =?UTF-8?B?ZTE1Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M36dbf7b9e2efc3a83ba11e15:1:XvxdQ4SKlJftO8VEKzSQrlFfY-QKJo_KEvh7EXzqf5k 06.03.2024 11:36:39 Edouard Klein : > > sirjofri writes: > >> Hi, >> >> 05.03.2024 22:38:59 Edouard Klein : >> >>> Hi, >>> >>> Thank you for your answer. >>> >>> >>> sirjofri writes: >>> >>>> Hello, >>>> >>>> I don't use /rc/bin/service anymore, but I use /cfg/machinename/servic= e instead. My contents are copies of what's in /rc/bin/service or my own sc= ripts: >>> >>> I assume that you then bind-mount /cfg/machinename/service to that >>> machine's /rc/bin/service ? >> >> Nope, because bind would only change my own namespace (or I have to bind= it becore aux/listen starts). >> >> In fact, it's much easier. I don't know if it's a 9front feature or if i= t's also >> in plan 9, but if there is a /cfg/$sysname/service directory it will use= that >> instead of /rc/bin/service (see the cpurc file, >> https://git.9front.org/plan9front/plan9front/36478171be59721dcc5252043fe= 2955cb37fc9b3/rc/bin/cpurc/f.html >> ). >> > Thanks, I had missed it because there is no /cfg in the source. Do you > happen to know how the /cfg dir is first populated during install ? Is > it all hand-written by the user ? I think it is all hand-written, yes. Take a look at cpurc and what the opti= ons are. Most notably, the service directory, cpustart, and the plan9.ini f= ile for tftp booting (iirc, I never tried it). >> If you think about how plan 9 should run on a network, imagine a single = fs with >> many cpu servers all using the same fs. All the configuration is on the = fs, and >> the service directories are in the /cfg/machinename/service. The cpu ser= vers >> will run their individual configuration automatically using that mechani= sm. It >> just makes sense. >> > > Indeed it does. > >>>> >>>> tcp80 - web server >>>> tcp443 - web server but wrapped in tls >>>> ... >>>> >>>> I have some cifd running, some irc server that translates to grid chat= , my mail >>>> server (smtp and imap4), and fingerd, the files follow the usual schem= e tcpXXX. >>>> I probably missed one service or the other, but aux/listen is simple e= nough to >>>> set up custom servers with arbitrary functionality. >>>> >>> >>> Would you mind sharing your fingerd and irc server ? For finger my plan >>> is to turn this one: >>> https://github.com/michael-lazar/finger2020/blob/master/finger2020 into >>> a multi-user version, but if there already is one I won't bother. >> >> Sure, here it is: >> >> https://shithub.us/sirjofri/fingerd/HEAD/info.html >> >> Note that I got some notice of potential .. path issues and I'm not sure= if I >> fixed that, but just in case, you might want to fix that (and maybe send= me a >> patch). Fix could be as easy as a newns or what it is in C. >> > > I'll try to compile it on Linux and will let you know :) Well, it's designed for plan 9 systems, so you're probably out of luck on l= inux, except you try it with plan9ports. While we're talking about finger, I wrote some simple android app called "F= ingerList" some time ago (on F-droid). It displays a list of fingers in a l= ist format, it's intended for micro social networking with status pages and= whatever people want to use it for. sirjofri ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tf73851503467346f-M36dbf= 7b9e2efc3a83ba11e15 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription