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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8016C158043 for ; Sun, 14 Apr 2024 08:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD1D92BC023; Sun, 14 Apr 2024 08:25:12 +0000 (UTC) Received: from buffalo.tulip.relay.mailchannels.net (buffalo.tulip.relay.mailchannels.net [23.83.218.24]) (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 2572A2BC014 for ; Sun, 14 Apr 2024 08:25:11 +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 DD180C20D3 for ; Sun, 14 Apr 2024 08:25:10 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1713083110; a=rsa-sha256; cv=none; b=27tIXHeSSTo2NQn2yghF0uPaq2GUW2JwV9bAy5KBq/QeGqVqQSY32LPOg/H2Xmtvi1ri4Q GrhKBJdu82H2zMFsvJ58RzTV1cHR186b0wJ6DfcIYaN6IS3VsLsnzStJY5hrUq7Cq2BGX+ Une8gZym3jxmcW3MV+bgLIFA1MH2yZCJ8NcyferiD8rOQ71+CAFV6+K4M+HTa+4PUYUznK eBlU4OfjOXJqvhlLekmUDelTBzI4HO37xQh+IfvV6TvO8U8K5LxTH5CMvF6nES+Q34+5ZD jMvUQbkLd/zmaoczKPGUeG1h3dCXrX87Z6LnlovaLvckIgmAaCe0CtAW5NVa/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1713083110; 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=iOSIpPxow0j6HZtzzQ8ZIq4ZjLccwCcAEPOm5mmGMRI=; b=ahN5UNZ+8UOYnWGDut0ji5EYzSx3RPbhCTWBncCldaz2ozujgmoxAgtL4LndfouRB97rsF XAgWZUWXbhj6AF8YZ6aGvtsFi3FSGQvQ0adlkbJFckAoLWbbnZ23dhbPKmk/uWwR1/R8Qr ArgKCV+DVJ+UOeWL7Yjusy5mH0kL1mMKrMyEIvqSeTQNTFEJ/idLEXpOu6zYZKScFM5ly7 oCSJgLkdeImFmxJt8jiiXlcxWRd8DY2sFF/CKIT+33qLqGnffi35ADTKANKbGEgaIRWXVT xP1WlfsTpOMJhG1osQ+Ff5vSbFp3d93IiiZuLQBqblTJdSwMsDACq1Sieh24Ig== ARC-Authentication-Results: i=1; rspamd-878bcf566-w89zj; 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-Minister-Company: 1763dfa037b1cd74_1713083110533_67240706 X-MC-Loop-Signature: 1713083110533:2693781455 X-MC-Ingress-Time: 1713083110533 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.98.43.162 (trex/6.9.2); Sun, 14 Apr 2024 08:25:10 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 0527940157 for ; Sun, 14 Apr 2024 09:25:04 +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] How to find out all openrc dependencies? Date: Sun, 14 Apr 2024 09:24:54 +0100 Message-ID: <5773352.DvuYhMxLoT@rogueboard> In-Reply-To: <4565188.LvFx2qVVIh@persephone> References: <6041387.lOV4Wx5bFT@persephone> <3803238.kQq0lBPeGt@rogueboard> <4565188.LvFx2qVVIh@persephone> 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="nextPart6037378.lOV4Wx5bFT"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171308310382.750840.7650324663919543995@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 0527940157 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-0.61 / 999.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_DKIM_NA(0.00)[]; NEURAL_HAM(-0.00)[-0.999]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 22f24a6f-7434-4427-9745-1aab8ae27f59 X-Archives-Hash: e97c053b1d89c9b7a13bf180e4da8ae9 --nextPart6037378.lOV4Wx5bFT 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 Subject: Re: [gentoo-user] How to find out all openrc dependencies? Date: Sun, 14 Apr 2024 09:24:54 +0100 Message-ID: <5773352.DvuYhMxLoT@rogueboard> In-Reply-To: <4565188.LvFx2qVVIh@persephone> MIME-Version: 1.0 On Sunday, 14 April 2024 08:28:07 BST J. Roeleveld wrote: > On Thursday, 11 April 2024 12:10:31 CEST Michael wrote: > > On Thursday, 11 April 2024 10:48:15 BST J. Roeleveld wrote: > > > On Thursday, 11 April 2024 11:35:10 CEST Michael wrote: > > > > On Thursday, 11 April 2024 06:19:57 BST J. Roeleveld wrote: > > > > > Hi all, > > > > > > > > > > For a while I've been seeing the following ERROR-messages when > > > > > booting > > > > > 1 > > > > > of > > > > > my systems: > > > > > > > > > > * ERROR: cannot start multipathd as localmount would not start > > > > > > > > > > * ERROR: cannot start zfs-import as localmount would not start > > > > > > > > > > This isn't a big concern as these services will start correctly > > > > > later: > > > > > > > > > > INIT: Entering runlevel: 3 > > > > > > > > > > * Starting multipathd ... > > > > > [ ok ] > > > > > * Importing ZFS pool(s) ... > > > > > [ ok ] > > > > > > > > > > But I am trying to find the cause of these errors as they are > > > > > preventing > > > > > parallel-start from actually working correctly. > > > > > > > > > > When I check with "rc-depend", I don't see an obious cause: > > > > > > > > > > # /lib/rc/bin/rc-depend multipathd > > > > > sysfs devfs udev udev-trigger modules fsck root localmount > > > > > multipathd > > > > > > > > > > # /lib/rc/bin/rc-depend localmount > > > > > sysfs devfs udev udev-trigger modules fsck root localmount > > > > > > > > > > # /lib/rc/bin/rc-depend zfs-import > > > > > multipath sysfs devfs udev udev-trigger modules fsck root localmount > > > > > multipathd zfs-import > > > > > > > > > > # /lib/rc/bin/rc-depend multipath > > > > > multipath > > > > > > > > > > From how I read these, it should be able to start "localmount" > > > > > properly > > > > > before even trying to start "multipathd" and "zfs-import" > > > > > There is also no technical dependency for "localmount" (the root > > > > > filesystem > > > > > is not on ZFS on this system) > > > > > > > > > > Any help/suggestions on how to find the cause would be appreciated. > > > > > > > > > > -- > > > > > Joost > > > > > > > > Check if hwclock is in the boot runlevel: > > > > > > > > rc-update -s -v | grep hwclock > > > > > > What does "hwclock" got to do with this? > > > It has no dependency with multipathd, zfs-import, localmount or anything > > > else that is showing an error. > > > > > > -- > > > Joost > > > > Our systems are certainly different, but I noticed this dependency on my > > localmount which is missing on yours: > > > > # /lib/rc/bin/rc-depend localmount > > sysfs devfs udev udev-trigger hwclock modules fsck root dmcrypt localmount > > > > ^^^^^^^ > > > > Have you compared your system services which has this problem, with other > > systems of yours which can startup properly? > > Adding additional dependencies into the tree is more likely to cause further > issues. I am actually looking for how to quickly find out which dependency > is causing a circular dependency issue as the first time it thinks it needs > to start a service it fails. But the 2nd time it starts, it goes correctly. > > I removed hwclock from ALL VMs as they don't actually have a hwclock. > > I did find out the actual cause of the problem through a lot of trial and > error, Out of curiosity - what was the cause of this? I have only come across hwclock on my installations (not VMs). > but this is not really useful in actually quickly finding the > problem. Being able to "simulate" the startup sequence for how OpenRC wants > to do things would have simplified and sped up the entire process. > > -- > Joost I enable the rc log and check how the various services try to start up, however the information provided is not always useful. --nextPart6037378.lOV4Wx5bFT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmYbktYACgkQseqq9sKV Zxl4iBAAwuZXjfl9+4+h5OirB3aV7yGcMipDb4vLalsSMe0ro61HdIL9I2sTRJI3 c5SFb0Aez5+6+B55t4HtQJkUQqZNwuJ77b7rdcoCZkrhAx1DgsMJbiSye5AZeDqI eWvPLAD3CxBz+PdZHWCDmdHTPAb5sASfR30pt5ng2D4bFLSfcc8zZ3uf9SsRc4y7 h+X2nRFbNb/c0TJKy4cJgZBoAys5AbfZLpNHQ11DKCvCDWgvshQkHz7y1DXnl1Qc his9d175zZxfOOl+6aqbBAAZ9a8Azjp5AuGeUCqmRXIgcFsuBCUzNuhA3PuhtbAM ZTLNE9VsCZoBLXNzi9FZLYHiPwyUDhMd0uBh2bDKBkJ4O0UkmIUqnQILOwKVDTve hj5QS10ZpI2vw2LtDrA4ozxishuY427NUUDfHbmvIT0E4Dw0JAITtJQPctO1MyOa xGNRfxtzQn/pmXt0TsEkZ5FfNIuaZ0xke0/B/eLnSz2NQAfScbW5SA2NVKmjmoSk 1n4IC8bOaiCzdrJ5NkMBqPTCMUR7oaGIOd3s+uNP2C3gKaKbeIrtcZPh30j9IHgU +HufsNxcgaLnOlZh4oFYuTfr9SGoUhtOS/gtPtYTkX0fe7sFK2lcIwIFB8aIHBOX bUeZtjLBmDRISbNScCJMZGr9IiINuTkABFgMpxQm92WRhlvQ7l8= =udVg -----END PGP SIGNATURE----- --nextPart6037378.lOV4Wx5bFT--