From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-196546-garchives=archives.gentoo.org@lists.gentoo.org> 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 22C77138206 for <garchives@archives.gentoo.org>; Thu, 29 Jul 2021 22:59:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D573E09DB; Thu, 29 Jul 2021 22:59:10 +0000 (UTC) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (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 83957E0917 for <gentoo-user@lists.gentoo.org>; Thu, 29 Jul 2021 22:59:09 +0000 (UTC) Received: by mail-ot1-f47.google.com with SMTP id 19-20020a9d08930000b02904b98d90c82cso7552548otf.5 for <gentoo-user@lists.gentoo.org>; Thu, 29 Jul 2021 15:59:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=l3ud5Hspf9E0xfqyQrFCxLiat+S6vDzrDX8G3QKBlBo=; b=S3OWW+BZjANoX909ljLGjPna8e4ugYkSlQyT3MkiQSnflgypOS5PdC7IAtFt8kZvDF T3Ra5dMsvkUGm/R3K45nKjDCFDMierC6O8zn3V8A/nw5Eo036OSgpIrG1owGdB5DSUZw UxXEmXzwODwC8sjvPdu90tzfhpPe+UbGXi6Rh9/XS0EyHeY+U8lArQAeReiuGgspYI0N xxCjI47lqYCSHHzpG0mOXPljI3BXF670UwYpSMwr0jySLxxe5jb2C1JbmzwSYUSJDr93 AjAfwgw4+mBvbWb5ywKhZZlrtlCXrmfHhgyqTEoJNDZPUUMhZLnTK8ffn92PHAhBJGAR Uaaw== X-Gm-Message-State: AOAM530E2hDZd2cD0gPHt+vgPugqNzxOxS2JALSLHyBdpjYhrwa243e+ aN9sctjroTZsdq7VlR+j/mW5XScxMqyBlgDBHQ7Xt/ny3VU= X-Google-Smtp-Source: ABdhPJy0/zbTDW46fGI4JE8zbz0OtgySPU03Y6TYW83bnsPlab3Hde2GuYxNQWqLezYH2PPV7YR7FGqAV1TqJ7e1ztA= X-Received: by 2002:a9d:4d03:: with SMTP id n3mr4928692otf.223.1627599548414; Thu, 29 Jul 2021 15:59:08 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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 References: <YPwn1XU7vI62EJ7t@ACM> <CAGfcS_=4smiLY6DwtHNwUR2Y9futmi-Xcz1N03kddntPUvjJ5g@mail.gmail.com> <YPx/rhG22TbWmhEL@ACM> <20210725100344.34490089@digimed.co.uk> <YP1PXBFeg3AoCgjR@ACM> <60FD5869.2050406@youngman.org.uk> <YP1qktH3+/mlp3ti@ACM> <slrnsfr3n5.ga9.martin@larch.invalid> <YP2oBUmKmhNdO08O@ACM> <CAGfcS_nM5pviRvAhyqfE2or9k8VgWk9e4y+57s-z=cE5H3SxgQ@mail.gmail.com> <YP8K26bwFozaREbj@ACM> <CAGfcS_ns42XTNd2VTDG7kcKiY5HVK+YSQYuuYvSQ82b8raX2pQ@mail.gmail.com> <slrnsg63lb.55c9.martin@larch.invalid> <CAGfcS_=s8R+BHvdDc_OQczHMCvyhoihj__PN5rc3CcGOw+gczQ@mail.gmail.com> <slrnsg67vo.55c9.martin@larch.invalid> In-Reply-To: <slrnsg67vo.55c9.martin@larch.invalid> From: Rich Freeman <rich0@gentoo.org> Date: Thu, 29 Jul 2021 18:58:55 -0400 Message-ID: <CAGfcS_kue98VV472N=st70ivSptvkC9UsxdMc5tH2T0Kc9Og4Q@mail.gmail.com> Subject: Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes! To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 1f0d5218-ab69-4e9f-b811-8a882905dc70 X-Archives-Hash: ff23fa6ce0dc1ecb9b610cb2e30f5013 On Thu, Jul 29, 2021 at 5:38 PM Martin Vaeth <martin@mvath.de> wrote: > > Rich Freeman <rich0@gentoo.org> wrote: > > My understanding is that qmali contains a "daemon" which does not > daemonize itself. To my knowledge, you can start such a thing > only with daemontools and systemd; probably the start-daemon of > openrc is not powerful enough for this. I imagine you could just run it under nohup or even screen. There are a couple of solutions. > > Second, it sounds like daemontools requires openrc to run. > > No. As I mentioned in another post, systems can run even without > any init-system I didn't say that systems require a service manager. (I'm assuming that is what you mean by an "init-system.") I said that daemontools apparently requires openrc, at least in its default config. That wasn't really my original claim - others pointed this out earlier in the thread. > By the same argument you have given above, a dependency of > daemontools on some other init system (even a || dependency) > is questionable. That is reasonable. However, at this point I'd really question whether it then belongs in the service manager virtual. If it needs to be run by some other service manager, then is it really acting as "THE" service manager? If it requires some other service manager, then it clearly doesn't make sense to have portage uninstall EVERY other service manager on the system if it is installed, because that basically guarantees that it doesn't work. I'm not an expert in daemontools and it sounds like it is fairly out of date in any case, as is qmail. However, it seems like the dependency situation is inconsistent at best. I'm not going to say WHICH solution is most appropriate, but it seems like just about any of them would have prevented this from happening... -- Rich