Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Michael Orlitzky
On Sun, 2021-07-25 at 20:52 -0400, Rich Freeman wrote: > On Sun, Jul 25, 2021 at 8:39 PM Michael Orlitzky wrote: > > > > This is indeed a bug, but not the ones that have been suggested. The > > underlying problem is that the DJB programs (mail-mta/netqmail, but > > also net-dns/djbdns, for

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Rich Freeman
On Sun, Jul 25, 2021 at 8:39 PM Michael Orlitzky wrote: > > This is indeed a bug, but not the ones that have been suggested. The > underlying problem is that the DJB programs (mail-mta/netqmail, but > also net-dns/djbdns, for example) require a particular service manager. Is it actually using

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Michael Orlitzky
(Replying nowhere in particular) This is indeed a bug, but not the ones that have been suggested. The underlying problem is that the DJB programs (mail-mta/netqmail, but also net-dns/djbdns, for example) require a particular service manager. When OpenRC is installed only as a side effect of being

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 17:25:17 +, Alan Mackenzie wrote: > The number of people who would lose their systems by this mechanism is > likely very small, but that loss would probably involve a > re-installation. I mean all a victim has to go on is the fact that his > machine won't boot, combined

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Alan Mackenzie
Hello, Neil. On Sun, Jul 25, 2021 at 16:40:23 +0100, Neil Bothwick wrote: > On Sun, 25 Jul 2021 13:43:46 +, Alan Mackenzie wrote: > > > It may be critical for *your* system ... :-) > > Just as systemd is for your system. If you'd installed daemontools you > > would also have come within

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 13:43:46 +, Alan Mackenzie wrote: > > It may be critical for *your* system ... :-) > > Just as systemd is for your system. If you'd installed daemontools you > would also have come within a keystroke of destroying your system, just > as I did, on attempting emerge

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Dale
Wols Lists wrote: > On 25/07/21 14:49, Dale wrote: >> The problem here is that a user installed a package outside of >> emerge/portage's knowledge. > No that does *NOT* appear to be the problem. > > The problem is that the user installed - *using* *portage* - a package > that satisfied a critical

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Dale
Alan Mackenzie wrote: > Hello, Wol. > > On Sun, Jul 25, 2021 at 13:26:17 +0100, Wols Lists wrote: >> On 25/07/21 12:47, Alan Mackenzie wrote: 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,

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Wols Lists
On 25/07/21 14:49, Dale wrote: > The problem here is that a user installed a package outside of > emerge/portage's knowledge. No that does *NOT* appear to be the problem. The problem is that the user installed - *using* *portage* - a package that satisfied a critical system dependency. Except

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Dale
tastytea wrote: > On 2021-07-25 13:26+0100 Wols Lists wrote: > >> On 25/07/21 12:47, Alan Mackenzie wrote: 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Alan Mackenzie
Hello, Wol. On Sun, Jul 25, 2021 at 13:26:17 +0100, Wols Lists wrote: > On 25/07/21 12:47, Alan Mackenzie wrote: > >> 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Dale
Neil Bothwick wrote: > > My point is that you are mixing portage and non-portage packages, that's > why portage is getting confused. I don't know much about daemontools, but > it seems the sort of package that should not be in @world, but only > installed as a dependency of something else. > > I'm

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 11:47:40 +, Alan Mackenzie wrote: > > > 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread tastytea
On 2021-07-25 13:26+0100 Wols Lists wrote: > On 25/07/21 12:47, Alan Mackenzie wrote: > >> 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Dale
Alan Mackenzie wrote: > Hello, Neil. > > On Sun, Jul 25, 2021 at 10:03:44 +0100, Neil Bothwick wrote: >> On Sat, 24 Jul 2021 21:01:34 +, 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Wols Lists
On 25/07/21 12:47, Alan Mackenzie wrote: >> 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Alan Mackenzie
Hello, Neil. On Sun, Jul 25, 2021 at 10:03:44 +0100, Neil Bothwick wrote: > On Sat, 24 Jul 2021 21:01:34 +, 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sat, 24 Jul 2021 21:01:34 +, 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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Wols Lists
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

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Dale
Alan Mackenzie wrote: > Hello, Dale. > > On Sat, Jul 24, 2021 at 10:03:52 -0500, Dale wrote: > >> Maybe qmail needs a USE flag to pull in daemontools? > 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 >

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Alan Mackenzie
Hello, Dale. On Sat, Jul 24, 2021 at 10:03:52 -0500, Dale wrote: > Alan Mackenzie wrote: > > I'm considering submitting a bug to bugs.gentoo.org, requesting that > > _all_ installed packages satisfying a virtual get kept. There is surely > > something wrong when somebody who just wants to be a

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Alan Mackenzie
Hello again, Rich. On Sat, Jul 24, 2021 at 10:58:55 -0400, Rich Freeman wrote: > On Sat, Jul 24, 2021 at 10:46 AM Alan Mackenzie wrote: > > On Sat, Jul 24, 2021 at 10:14:20 -0400, Rich Freeman wrote: > > > On Sat, Jul 24, 2021 at 9:47 AM Alan Mackenzie wrote: > > > > So in these virtual

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Dale
Alan Mackenzie wrote: > > I'm considering submitting a bug to bugs.gentoo.org, requesting that > _all_ installed packages satisfying a virtual get kept. There is surely > something wrong when somebody who just wants to be a user (me) has to > read .ebuild files to get normal things done. > > If

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Rich Freeman
On Sat, Jul 24, 2021 at 10:46 AM Alan Mackenzie wrote: > > On Sat, Jul 24, 2021 at 10:14:20 -0400, Rich Freeman wrote: > > On Sat, Jul 24, 2021 at 9:47 AM Alan Mackenzie wrote: > > > > So in these virtual packages, it seems by default the _last_ mentioned > > > package in a || ( ... ) construct

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Alan Mackenzie
Hello, Rich. On Sat, Jul 24, 2021 at 10:14:20 -0400, Rich Freeman wrote: > On Sat, Jul 24, 2021 at 9:47 AM Alan Mackenzie wrote: > > So in these virtual packages, it seems by default the _last_ mentioned > > package in a || ( ... ) construct is the one --depclean keeps. It all > > has the

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Rich Freeman
On Sat, Jul 24, 2021 at 9:47 AM Alan Mackenzie wrote: > > So in these virtual packages, it seems by default the _last_ mentioned > package in a || ( ... ) construct is the one --depclean keeps. It all > has the feeling of things not having been properly thought through. > I'm not sure what the

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-24 Thread Alan Mackenzie
Hello, Neil. On Wed, Jul 21, 2021 at 21:27:05 +0100, Neil Bothwick wrote: > On Wed, 21 Jul 2021 22:13:50 +0200, tastytea wrote: > > > emerge included openrc (the only version of it on my system) in the > > > packages it planned to remove. It was kind enough to give me a > > > warning that this

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-21 Thread Neil Bothwick
On Wed, 21 Jul 2021 22:13:50 +0200, tastytea wrote: > > emerge included openrc (the only version of it on my system) in the > > packages it planned to remove. It was kind enough to give me a > > warning that this "might" do bad things, but I was somewhat shocked > > to see it there at all. I

Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-21 Thread tastytea
On 2021-07-21 20:06+ Alan Mackenzie wrote: > Hello, Gentoo. > > As prompted after the recent perl update, I did # emerge --depclean > -va. > > emerge included openrc (the only version of it on my system) in the > packages it planned to remove. It was kind enough to give me a > warning

[gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-21 Thread Alan Mackenzie
Hello, Gentoo. As prompted after the recent perl update, I did # emerge --depclean -va. emerge included openrc (the only version of it on my system) in the packages it planned to remove. It was kind enough to give me a warning that this "might" do bad things, but I was somewhat shocked to see