From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] --depclean wants to remove openrc. Yikes!
Date: Sun, 25 Jul 2021 11:47:40 +0000 [thread overview]
Message-ID: <YP1PXBFeg3AoCgjR@ACM> (raw)
In-Reply-To: <20210725100344.34490089@digimed.co.uk>
Hello, Neil.
On Sun, Jul 25, 2021 at 10:03:44 +0100, Neil Bothwick wrote:
> On Sat, 24 Jul 2021 21:01:34 +0000, Alan Mackenzie wrote:
> > > > It seems it's insisting on removing all packages but one which
> > > > satisfy a virtual. Maybe that is unwise, and it should keep _all_
> > > > such packages which are currently installed.
> > > Well, the whole point of an any-of dependency is to only require one
> > > of them. Why force packages to stick around if they aren't needed?
> > I would say all packages in @system _are_ needed, unless the user
> > explicitly says otherwise.
> They are, @system is a set of packages and nothing it it will be
> depcleaned. However, openrc is not part of @system, the virtual is.
Ah, that's it. So we have critical system packages which aren't part of
@system. I think openrc is a critical system package.
> > > Now, whether daemontools actually should satisfy the dependency I
> > > don't want to comment on without doing more research. Surely though
> > > there is little point in having openrc and systemd and runit on the
> > > same system unless the user explicitly wants this (and if they do they
> > > can just stick them in @world).
> > The user might be switching between them, doing comparisons. (No, I
> > don't know if this is practical.) I don't know either whether it's
> > practical to boot Gentoo with just daemontools. But there are use cases
> > which require both openrc and daemontools on the same system, so there's
> > something not quite right about the service-manager ebuild, or emerge.
> That is possible, but it is also possible that this is entirely down to
> you installing things outside of portage and handling their dependencies
> manually, creating unwanted side-effects like this.
Quite the contrary. If I'd've stuck to the daemontools I installed from
a tarball, this whole thing wouldn't have happened. It's BECAUSE I
switched to using the portage version that this danger reared its ugly head.
> > I think that would be solving the wrong problem. The fact is, it is
> > easy, far too easy, to shoot yourself in the foot here. As well as
> > openrc, --depclean also wanted to remove nano (the editor) for the same
> > reason. That might be serious for some people.
> It did that because you have another suitable editor installed. I don't
> like nano so I'm happy to install something else that satisfies
> virtual/editor and let depclean get rid of nano, knowing that it won't do
> it unless I already have a suitable alternative installed.
> > Maybe the answer is to regard --depclean as a tool for experts only,
> > since it is capable in ordinary innocent use of rendering a system
> > unusable.
> I feel it's more a case of Gentoo being a system for those that
> understand what they are doing with the system - with great power comes
> great responsibility and all that.
That feels needlessly patronising, Neil. I fear the Gentoo maintainers
will take the same attitude. Not only can the user shoot himself in the
foot, but it's Gentoo that provides the gun, innocently wrapped, with a
"press here" direction on the packaging above a hidden trigger. Nobody
accepts any responsibility for preventing accidents.
The implication of what you say is that nobody should use portage
without understanding every last intricate detail of it. This doesn't
feel reasonable.
Nobody but me seems to see anything wrong with all this. It's one thing
saying users should look after themselves, but surely it's quite another
thing to provide an obsure mechanism where one's one keypress away from
destroying ones system.
I'm quite a bit less enthusiastic about Gentoo than I was a few days
ago.
> --
> Neil Bothwick
> Caution, an incorrigible punster - don't incorrige.
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2021-07-25 11:47 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 [this message]
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
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=YP1PXBFeg3AoCgjR@ACM \
--to=acm@muc.de \
--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