From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iFK8EwyDcWBKNQAAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 12:50:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4I6cDQyDcWCjBwAA1q6Kng (envelope-from ) for ; Sat, 10 Apr 2021 10:50:52 +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 6702E14C58 for ; Sat, 10 Apr 2021 12:50:51 +0200 (CEST) Received: from localhost ([::1]:43736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVBCU-0000cM-7A for larch@yhetil.org; Sat, 10 Apr 2021 06:50:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVBCK-0000cD-60 for help-guix@gnu.org; Sat, 10 Apr 2021 06:50:40 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:41844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVBCC-0001b7-G9 for help-guix@gnu.org; Sat, 10 Apr 2021 06:50:39 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 9464a02f; Sat, 10 Apr 2021 10:50:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=pbaI2GOIQVeeJCpgfOtanHl1F1cX6GQm7lB1WTG0tPA=; b=UfoZ0ns H8/Ks9XrweG1a8CFtPREbYKhXA6nI6z+onAIrv8joi/0NfJYCbVpdI7OPwibTIRv kHYyNObolPhZGxJmxfqeQTA/ZyD1cof6qwrJGNvquTH1ScNd4nMEI3M0o1DIpMHT x+6afYI6g6Ie/6UYrnKkXN01jBURgB9WQwrFuq9nk26ZJs2LArZ+AbFx66HZXBR0 v9AaL549KGe4EmXmMmroYV6rbFdNlpHOAeCRKc+2kk51G16msR0BaEA/1+Jay1vf NSE7grFgacHj67l8w2Mscob59HYt+VtYfLpPD1BesD3Cl/s3RvnndQ1hltGuDRL5 fzCgHx+BByqf9oA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 7431b7ad (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 10 Apr 2021 10:50:22 +0000 (UTC) Date: Sat, 10 Apr 2021 06:50:12 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <87zgy6epqv.fsf@disroot.org> References: <87a6qag2dh.fsf@disroot.org> <5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu> <874kggfigv.fsf@disroot.org> <3F5B823B-3B83-42DB-AFBE-5966CBB66E71@lepiller.eu> <87zgy6epqv.fsf@disroot.org> MIME-Version: 1.0 Subject: Re: How to create a service for contents of arbitrary file To: Bone Baboon From: Julien Lepiller Message-ID: <0FD89D97-0160-48F8-A167-411300F1631E@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618051851; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+8sYyKwj6uek1icHRNxbHBNgn7klC+QA+mEeFBWGwPo=; b=uN7m+l/JdUwEz/hj98vmgR5bBTuOFuswUES0r5VhX5X/6wPacgfjnkCyEKVohX/ufNwebl VBTYJX6ibXFNvUHpxOwC8wiZ15oih+CVb2W8W2MC+ojqP9K1wwdUfHdlziEPK/hFvw5ajq wrIan1ylSB55Ya4FznWORk2hg+67exRsMhfDzwqW5HCT+JcOFVA55jK4qqPX12SVcwBpO6 JJUtml/n+2NxSZ5cWXzmjFViIEZVoigY4U9YX4BhFoL9Q34L4LnNKnTK5x3gXRDagiLNFv WsiUUy3M6jNlshAczyuld+UOk5HJLE8/kEv6ksy+rIAcmFNHNiJstqukiNsXnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618051851; a=rsa-sha256; cv=none; b=SRa3glmhFbGuRGuP9bSc53g/innK+NQgug1h5oOSIeP0toiZMVpSfdnVtCbvieqQfkAM6j 6m72dG1bY/Tl5IcmKIT6YKkh0VazQDUMqaawZekUgJ0BWA9qfmpkTUizPod9xxVOVcIx9u ua+mp3nMhIcRRAfwo79+Q7+MSs6HBIx9FLVOY1P29nO5WX2FW+dmUx6Vkz/V1/HmjF6OzX mxA9atatr48qV2dkUG26xmGoDfO99LlZ+cIh5rldwmBqh4KG8w8BROM9PcUZZ2/6UYM1gL L8F1ldpfvO6+smEIsKbmbRKOKfyEJBDN+wmYFm/beSoyytApF336zKdZ3Ke2EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b="UfoZ0ns "; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b="UfoZ0ns "; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 6702E14C58 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0dOkgvn+cxgX No, Shepherd doesn't have a notion of stages=2E You can make it run a comma= nd at startup by using a normal service though=2E I use one on my server to= set up static networking with ipv4 and ipv6 by running iproute=2E See http= s://git=2Elepiller=2Eeu/system-configuration/tree/-/modules/config/network= =2Escm Maybe there's another kernel argument you could use? Le 10 avril 2021 00:18:48 GMT-04:00, Bone Baboon a =C3=A9crit : >I have been able to execute this command >`echo "0" > /sys/class/graphics/fbcon/cursor_blink` >with a system that was using `runit` as it's initialization >system=2E The command was executed during stage 1 of runit's system >initialization=2E=20 >http://smarden=2Eorg/runit/runit=2E8=2Ehtml > >Is there an equivalent to runit's stage 1 for Shepherd? > >Julien Lepiller writes: > >> I think this is because you cannot replace a file a /sys like guix >tries to=2E Instead, it seems you can set a linux kernel argument on the >command line run by grub at startup=2E According to the internet, that >would be "vt=2Eglobal_cursor_default=3D0" >> >> You can set it up in your config by adding a kernel-arguments field >to you operating-system declaration, like this: >> >> (operating-system >> (kernel-arguments (cons "vt=2Eglobal_cursor_default=3D0" >%default-kernel-argumentt))) > >Thank you for bringing this kernel argument to my attention=2E > >It looks like there are three settings to choose from: >https://www=2Ekernel=2Eorg/doc/html/v4=2E15/admin-guide/kernel-parameters= =2Ehtml > >`-1` and `1` both are blinking cursors=2E `0` is no cursor at all=2E The >challenge with no cursor at all is that it lacks the visual feedback of >where the cursor is located=2E