From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 29C84158083 for ; Sat, 31 Aug 2024 17:28:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9B8AE2A37; Sat, 31 Aug 2024 17:28:44 +0000 (UTC) Received: from flamingo.ash.relay.mailchannels.net (flamingo.ash.relay.mailchannels.net [23.83.222.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EBBEE2A2E for ; Sat, 31 Aug 2024 17:28:44 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0BDD6506614 for ; Sat, 31 Aug 2024 17:28:43 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1725125322; a=rsa-sha256; cv=none; b=dgJxKA+rWlIy5RJUc8PV6v2MVBkBkhu10ygSUaJlmam2yStGiLZ1NEpHCyF1CBXgOJg5WS GsAyYq/Wejc6Ayjcn+yZeygaYRUj86Ijhf2Q61hkpoIndtPmW4cRUvv8PZVrIIJ15UG0bt oCFeNtgamkVavOd7Mvq3tG97oIbeXXBzSenlBHHM3Oiu8TexS5+J8zN58ojPIOdjxUSj2M Bo5Xo6I9VAq5DYpcoNbuGV32gkTXHAs9G3NRBzjQiRTSkWRSWf/LATPMTFt8CbiPSDt7lQ dqh43486DxtOCNmBjN6Y7FFzHY8IAWAZVoqU/+Nu+RsNIDAIY6O8tMJml8Jb2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1725125322; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=kbSrPspCCS0i96Uh2U0eebF5qH6/YvaaFair3GYGzqs=; b=YwtKZYCV9iFCP2zHvBuaBMH2ovzIo9S5bXhUvKkKuoHWwK2SifVGdtL3KDbKxSj3UCC434 8jTSLMTW0H09YgnyqBEk3e0qcwBvebrjwXWWABLYTF+hGajlbkIVnDh7WptIKQeOc4vv4M E5X+qJUalXBo0vR5WxB8scUS5n3LOXOqtf7NKCCsa4OuvxmdcrUVcXDC+TdWCuqJUm4nDl EeeYwmgM0zyRPydPIXSjJuLZJifM8twkAORWMWa/Ayf3O/ZLMCGIuRGzeDIrygsB7fRajC 0+3aoCpZnGiAWsydee4SJItSD79Lkysj6QYhy5i/ZFC46q2zqecrLkhuxg4Y3A== ARC-Authentication-Results: i=1; rspamd-5f94c8cb88-qz4m9; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Snatch-Descriptive: 79d241e557d921d2_1725125322615_2247291103 X-MC-Loop-Signature: 1725125322615:365941162 X-MC-Ingress-Time: 1725125322615 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.108.220.143 (trex/7.0.2); Sat, 31 Aug 2024 17:28:42 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 4626E1E0005 for ; Sat, 31 Aug 2024 18:28:40 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd - how to pre start nfs client services Date: Sat, 31 Aug 2024 18:28:39 +0100 Message-ID: <22409681.EfDdHjke4D@rogueboard> In-Reply-To: <95d502c8-ea41-47a6-ac7d-8b0368722a05@gmail.com> References: <95d502c8-ea41-47a6-ac7d-8b0368722a05@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7706909.EvYhyI6sBW"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172512531884.4096943.2391918457445519055@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 4626E1E0005 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.939]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 1d950f45-91e0-46c1-9bd8-aea8806726f7 X-Archives-Hash: dab898e9a843a43753a0e54167421d12 --nextPart7706909.EvYhyI6sBW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Sat, 31 Aug 2024 18:28:39 +0100 Message-ID: <22409681.EfDdHjke4D@rogueboard> In-Reply-To: <95d502c8-ea41-47a6-ac7d-8b0368722a05@gmail.com> References: <95d502c8-ea41-47a6-ac7d-8b0368722a05@gmail.com> MIME-Version: 1.0 On Saturday, 31 August 2024 15:32:38 BST Daniel Frey wrote: > I have a few frontends on TVs and use automount on some NFS sources. > > However, I can't seem find a way to start the nfs client services on > startup. Wiki for NFS and other documentation says that systemd does > this automatically (and it does) but I'm trying to eliminate a delay. > > The frontend start up and when you go to the screen that scans the > folder, it takes 5-10 seconds for systemd to start these services and > mount the NFS locations. > > On openrc this is simple and it takes less than a second at that screen. > > It is not waiting for a network, as on startup the interface connects to > a database and this part is working fine (it would be blank if it > started with no network.) > > Dan Does 'systemd-analyze blame' show which service component causes the delay(s)? If the same service dependency occurs on both systems then it ought to take the same time to automount an exported directory. This points to some systemd specific service dependency/hierarchy causing the delay - as long as all other configuration variables remain the same. --nextPart7706909.EvYhyI6sBW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbTUscACgkQseqq9sKV ZxnAlxAAzNrIiXcT9lOrBSuhl3VIcgS+imMAZVMbwcf9mD8A2C7hqEVGmoQUP0SJ Ysf7+xoiHBQJgu3n92q+SIfGQH6sI0M9N8+cWRSJJipQ4tsm/UacIx5gCWIKvj0m sfCIFNPdEjT2Aj/AX7acqnwjAQ+g36m178VLrMCoV6CBcatm5GBdY8UDD4paJGuF Br700vVIGP80yWZlvspY3V3PotAnio6vYSP+OkRMH8IZAr2g7cy2VRjDL9luL7F4 cQjjYks/snb7RqPctylGa3YL1q1XqpKyj+KHBw2W3he5avrYkxqKJt/mXSSgmEoh xux/KezWn3x2dOvaPsSrMVELpcua7cZCZ2U5WXG9VYeE4NF0GioC2wfvanjOaOoR jD9dUjeT++DAzifsaHqTfeOvXImHT4g8xKZHREdl+nHLP9HKOIg78XVoWRLPuYyl 1P1uGzGgaR5wXzqq8fwWIiOhKE5C6k4Tl9OMu9pbn/HIdVRrMO4IAxrWRhjEBPJ4 6bIznoWiYiEtTCxUcoxHWN3xi+FgOB9hyMs93bE6rESe16oqLG6OrbswB9kAygEf MjkCfJyu1oJ7TrE/OylxoijZF53UgnKilxIaGuiDY7CWFPzYZWgNA3tZ8y4RiQfZ epDzktG4FwqMewB68ndb/5vdEPoen4K8KISJo5L9ckYCGQrC+Bc= =yHnu -----END PGP SIGNATURE----- --nextPart7706909.EvYhyI6sBW--