Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!
Date: Fri, 30 Jul 2021 20:27:04
Message-Id: 20210730212650.61ffdd5a@digimed.co.uk
In Reply to: [gentoo-user] Re: --depclean wants to remove openrc. Yikes! by Martin Vaeth
1 On Fri, 30 Jul 2021 18:30:28 -0000 (UTC), Martin Vaeth wrote:
2
3 > > In a normal situation, with only one init system installed, there is
4 > > no need to do anything, because the virtual takes care of making sure
5 > > it is not deleted.
6 >
7 > It is not only about non-deletion. It is also about updating.
8 > Suppose that you have installed openrc and systemd, and only one of it
9 > is in @world (or depends on something from @world).
10 > Then emerge -NaDu @world won't update the other init-system - it becomes
11 > stale and might even have security bugs which are not fixed.
12 > That's why detecting that depclean would remove it is actually a good
13 > thing: It shows that something is not configured as you intended.
14
15 I would describe having two init systems a normal situation, although I
16 have done it myself when experimenting with systemd. So yes, in such a
17 situation, portage needs a hint as to your intentions, and @world is the
18 correct place for that.
19
20
21 --
22 Neil Bothwick
23
24 New sig wanted good price paid.