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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85C2A1392E8 for ; Sun, 25 Jul 2021 07:11:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 041F7E0AA3; Sun, 25 Jul 2021 07:11:33 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 054EAE0986 for ; Sun, 25 Jul 2021 07:11:31 +0000 (UTC) Received: from host86-128-145-16.range86-128.btcentralplus.com ([86.128.145.16] helo=[192.168.1.64]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1m7YIM-0007IG-3c for gentoo-user@lists.gentoo.org; Sun, 25 Jul 2021 08:11:30 +0100 Subject: Re: [gentoo-user] --depclean wants to remove openrc. Yikes! To: gentoo-user@lists.gentoo.org References: <20210721221350.4d14da7f@ventiloplattform.tastytea.de> <20210721212705.23179178@digimed.co.uk> <2257d97f-aab6-fa65-0467-d1345f64a5ae@gmail.com> From: Wols Lists X-Enigmail-Draft-Status: N1110 Message-ID: <60FD0E2E.5030908@youngman.org.uk> Date: Sun, 25 Jul 2021 08:09:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 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 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0495a74b-4c9b-41f3-8212-97cad00a9964 X-Archives-Hash: d0cef571582e62625e7e460cc0d22849 On 24/07/21 22:09, Alan Mackenzie wrote: > I'm actually using s/qmail, tarball direct from its maintainer, since > there's no ebuild for it. Originally, I had daemontools from the same > place, until I discovered there was an ebuild for it. THAT LOOKS LIKE YOUR PROBLEM. If daemontools has been pulled in because it's explicitly named in world, then emerge will (quite reasonably) assume that openrc (which is an implied dependency) can be dispensed with. In other words, if one member of a virtual package is explicitly installed, all the other members can be dispensed with. Changing this is likely to cause breakage all over the place!!! Okay, it's a nasty surprise to discover that installing a package with multiple uses can make the system assume you're using it for things you're not, but I think the only *workable* fix is, as others have said, to add openrc to the world set. You've explicitly pulled in a boot manager package. You can't expect portage to keep a bunch of implicit package managers (systemd, sysV, openrc etc) lying around when you haven't asked for them. I've installed postfix as my mailer - I don't want exim, sendmail, etc etc lying around "just in case". Cheers, Wol