public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!
Date: Thu, 29 Jul 2021 16:32:25 -0400	[thread overview]
Message-ID: <CAGfcS_=s8R+BHvdDc_OQczHMCvyhoihj__PN5rc3CcGOw+gczQ@mail.gmail.com> (raw)
In-Reply-To: <slrnsg63lb.55c9.martin@larch.invalid>

On Thu, Jul 29, 2021 at 4:24 PM Martin Vaeth <martin@mvath.de> wrote:
>
> Rich Freeman <rich0@gentoo.org> wrote:
> > The more I heard on this the more I tend to think that maybe it
> > should either not be in that virtual or that it should itself depend
> > on openrc/etc, or that qmail shouldn't depend on it.
>
> I strongly disagree. You have the same problem if you have any other
> init system installed, even if just for trying. Portage *cannot* know
> which init system you want to use, and, more general, which programs
> you want to use. You must tell portage. The way to do this is to put
> it into the world file.

You completely misunderstood my message then, because I completely
agree with everything you said and still maintain what I said.  It has
nothing to do with --depclean but with having correct dependencies.

First, it doesn't sound like qmail actually requires daemontools, but
simply happens to include a daemontools service config.  A package
shouldn't contain dependencies on a service manager unless it REALLY
only works with that one service manager (and that doesn't just mean
that nobody has bothered to set it up otherwise).  We don't stick
openrc dependencies in things simply because they weren't packaged
with systemd units, and so on.

Second, it sounds like daemontools requires openrc to run. So, if you
ARE using daemontools as your service manager, and portage uninstalls
openrc, then your system will break, because daemontools sounds like
it actually requires openrc.  That would make it a runtime dependency
(if true).

It isn't about portage trying to figure out which service manager
you're using.  It is about packages having the wrong dependencies.

-- 
Rich


  reply	other threads:[~2021-07-29 20:32 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 20:06 [gentoo-user] --depclean wants to remove openrc. Yikes! Alan Mackenzie
2021-07-21 20:13 ` tastytea
2021-07-21 20:27   ` Neil Bothwick
2021-07-24 13:47     ` Alan Mackenzie
2021-07-24 14:14       ` Rich Freeman
2021-07-24 14:46         ` Alan Mackenzie
2021-07-24 14:58           ` Rich Freeman
2021-07-24 21:01             ` Alan Mackenzie
2021-07-25  9:03               ` Neil Bothwick
2021-07-25 11:47                 ` Alan Mackenzie
2021-07-25 12:26                   ` Wols Lists
2021-07-25 12:46                     ` tastytea
2021-07-25 13:49                       ` Dale
2021-07-25 13:59                         ` Wols Lists
2021-07-25 14:24                           ` Dale
2021-07-25 13:43                     ` Alan Mackenzie
2021-07-25 14:20                       ` Dale
2021-07-25 15:40                       ` Neil Bothwick
2021-07-25 16:31                         ` [gentoo-user] " Martin Vaeth
2021-07-25 17:25                         ` [gentoo-user] " Alan Mackenzie
2021-07-25 22:03                           ` Neil Bothwick
2021-07-25 16:18                       ` [gentoo-user] " Martin Vaeth
2021-07-25 18:05                         ` Alan Mackenzie
2021-07-25 19:54                           ` Rich Freeman
2021-07-26 19:19                             ` Alan Mackenzie
2021-07-26 20:17                               ` Rich Freeman
2021-07-29 20:24                                 ` Martin Vaeth
2021-07-29 20:32                                   ` Rich Freeman [this message]
2021-07-29 21:38                                     ` Martin Vaeth
2021-07-29 22:58                                       ` Rich Freeman
2021-07-25 22:32                           ` Martin Vaeth
2021-07-26 19:01                             ` Alan Mackenzie
2021-07-27  9:28                               ` Dr Rainer Woitok
2021-07-27 20:02                                 ` Alan Mackenzie
2021-07-27 20:18                                   ` Neil Bothwick
2021-07-27 20:32                                     ` Michael Orlitzky
2021-07-27 20:58                                       ` Neil Bothwick
2021-07-27 21:06                                         ` Michael Orlitzky
2021-08-02 10:00                                   ` Dr Rainer Woitok
2021-08-02 11:54                                     ` Arve Barsnes
2021-08-02 13:33                                       ` Dr Rainer Woitok
2021-08-03 11:45                                         ` Alec Ten Harmsel
2021-08-03 12:44                                           ` Neil Bothwick
2021-08-04 10:52                                             ` Dr Rainer Woitok
2021-08-04 11:57                                               ` Philip Webb
2021-08-04 12:39                                                 ` Nuno Silva
2021-08-04 18:38                                                 ` Walter Dnes
2021-08-05  8:10                                                 ` Dr Rainer Woitok
2021-08-06  7:33                                                   ` Neil Bothwick
2021-08-06  8:55                                                     ` Dr Rainer Woitok
2021-07-29 21:15                               ` Martin Vaeth
2021-07-29 21:29                                 ` Grant Edwards
2021-07-29 21:46                                   ` Martin Vaeth
2021-07-29 22:55                                   ` Neil Bothwick
2021-07-30 18:30                                     ` Martin Vaeth
2021-07-30 20:26                                       ` Neil Bothwick
2021-07-26  0:39                       ` [gentoo-user] " Michael Orlitzky
2021-07-26  0:52                         ` Rich Freeman
2021-07-26  1:30                           ` Michael Orlitzky
2021-07-25 12:44                   ` Dale
2021-07-25 13:22                   ` Neil Bothwick
2021-07-25 13:40                     ` Dale
2021-07-24 15:03           ` Dale
2021-07-24 21:09             ` Alan Mackenzie
2021-07-24 21:22               ` Dale
2021-07-25  7:09               ` Wols Lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGfcS_=s8R+BHvdDc_OQczHMCvyhoihj__PN5rc3CcGOw+gczQ@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox