* [gentoo-user] Removing openrc after installing systemd
@ 2014-12-26 15:10 Alec Ten Harmsel
2014-12-26 15:56 ` Daniel Frey
2014-12-26 16:38 ` Canek Peláez Valdés
0 siblings, 2 replies; 6+ messages in thread
From: Alec Ten Harmsel @ 2014-12-26 15:10 UTC (permalink / raw
To: gentoo-user
Just curious; is this even possible? `emerge --depclean --ask --verbose
sys-apps/openrc` gives:
Calculating dependencies... done!
sys-apps/openrc-0.12.4 pulled in by:
@system requires sys-apps/openrc
net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
virtual/service-manager-0 requires sys-apps/openrc
wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
Calculating dependencies... done!
net-misc/netifrc-0.2.2 pulled in by:
sys-apps/openrc-0.12.4 requires net-misc/netifrc
I'd rather not have both installed, although it doesn't really matter
that much. It makes sense that @system requires virtual/service-manager,
but why on earth does systemd not provide that virtual? I just checked
the ebuild and eclass to make sure.
Alec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Removing openrc after installing systemd
2014-12-26 15:10 [gentoo-user] Removing openrc after installing systemd Alec Ten Harmsel
@ 2014-12-26 15:56 ` Daniel Frey
2014-12-26 16:38 ` Canek Peláez Valdés
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Frey @ 2014-12-26 15:56 UTC (permalink / raw
To: gentoo-user
On 12/26/2014 07:10 AM, Alec Ten Harmsel wrote:
> Just curious; is this even possible? `emerge --depclean --ask --verbose
> sys-apps/openrc` gives:
>
> Calculating dependencies... done!
> sys-apps/openrc-0.12.4 pulled in by:
> @system requires sys-apps/openrc
> net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
> virtual/service-manager-0 requires sys-apps/openrc
>
> wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
> even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
>
> Calculating dependencies... done!
> net-misc/netifrc-0.2.2 pulled in by:
> sys-apps/openrc-0.12.4 requires net-misc/netifrc
>
> I'd rather not have both installed, although it doesn't really matter
> that much. It makes sense that @system requires virtual/service-manager,
> but why on earth does systemd not provide that virtual? I just checked
> the ebuild and eclass to make sure.
>
> Alec
>
I installed systemd some time ago but I'm keeping openrc around in case
it doesn't boot.
I wonder if it's possible to remove openrc and have systemd only, I've
never tried...
These are just the scripts and support stuff openrc uses for networking,
I myself would keep it around in case the other methods fail.
Dan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Removing openrc after installing systemd
2014-12-26 15:10 [gentoo-user] Removing openrc after installing systemd Alec Ten Harmsel
2014-12-26 15:56 ` Daniel Frey
@ 2014-12-26 16:38 ` Canek Peláez Valdés
2014-12-26 17:56 ` Alec Ten Harmsel
1 sibling, 1 reply; 6+ messages in thread
From: Canek Peláez Valdés @ 2014-12-26 16:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2119 bytes --]
On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel <alec@alectenharmsel.com>
wrote:
>
> Just curious; is this even possible? `emerge --depclean --ask --verbose
> sys-apps/openrc` gives:
>
> Calculating dependencies... done!
> sys-apps/openrc-0.12.4 pulled in by:
> @system requires sys-apps/openrc
> net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
> virtual/service-manager-0 requires sys-apps/openrc
>
> wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
> even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
>
> Calculating dependencies... done!
> net-misc/netifrc-0.2.2 pulled in by:
> sys-apps/openrc-0.12.4 requires net-misc/netifrc
>
> I'd rather not have both installed, although it doesn't really matter
> that much. It makes sense that @system requires virtual/service-manager,
> but why on earth does systemd not provide that virtual? I just checked
> the ebuild and eclass to make sure.
Mmmh. No ebuild in the tree "provides" any virtual. A virtual *specifies*
which packages can satisfy it:
RDEPEND="
prefix? ( >=sys-apps/baselayout-prefix-2.2 )
!prefix? (
|| (
sys-apps/openrc
kernel_linux? ( || (
sys-apps/systemd
sys-process/runit
virtual/daemontools
) ) ) )"
This is from virtual/service-manager/service-manager-0.ebuild. As you can
see, with kernel_linux, systemd satisfies the virtual.
OpenRC is being pulled in by something else, I believe netifrc. Check what
is pulling netifrc, which in turn pulls in OpenRC. I think you should be
able to get rid of it.
It's totally possible to uninstall OpenRC; I haven't had it installed in
years. Nowadays you don't even need to do any tricks to do it.
(I have sys-fs/udev-init-scripts in package.provided, but only because it's
completely useless to me: those are the udev scripts for OpenRC when
sys-apps/systemd is installed instead of sys-fs/udev).
Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México
[-- Attachment #2: Type: text/html, Size: 3061 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Removing openrc after installing systemd
2014-12-26 16:38 ` Canek Peláez Valdés
@ 2014-12-26 17:56 ` Alec Ten Harmsel
2014-12-26 18:12 ` Michael Orlitzky
2014-12-26 18:15 ` Canek Peláez Valdés
0 siblings, 2 replies; 6+ messages in thread
From: Alec Ten Harmsel @ 2014-12-26 17:56 UTC (permalink / raw
To: gentoo-user; +Cc: Canek Peláez Valdés
[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]
On 12/26/2014 11:38 AM, Canek Peláez Valdés wrote:
> On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel
> <alec@alectenharmsel.com <mailto:alec@alectenharmsel.com>> wrote:
> >
> > Just curious; is this even possible? `emerge --depclean --ask --verbose
> > sys-apps/openrc` gives:
> >
> > Calculating dependencies... done!
> > sys-apps/openrc-0.12.4 pulled in by:
> > @system requires sys-apps/openrc
> > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
> > virtual/service-manager-0 requires sys-apps/openrc
> >
> > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
> > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
> >
> > Calculating dependencies... done!
> > net-misc/netifrc-0.2.2 pulled in by:
> > sys-apps/openrc-0.12.4 requires net-misc/netifrc
> >
> > I'd rather not have both installed, although it doesn't really matter
> > that much. It makes sense that @system requires virtual/service-manager,
> > but why on earth does systemd not provide that virtual? I just checked
> > the ebuild and eclass to make sure.
>
> Mmmh. No ebuild in the tree "provides" any virtual. A virtual
> *specifies* which packages can satisfy it:
>
> RDEPEND="
> prefix? ( >=sys-apps/baselayout-prefix-2.2 )
> !prefix? (
> || (
> sys-apps/openrc
> kernel_linux? ( || (
> sys-apps/systemd
> sys-process/runit
> virtual/daemontools
> ) ) ) )"
*facepalm*... I didn't look at this. embarrassing.
>
>
> This is from virtual/service-manager/service-manager-0.ebuild. As you
> can see, with kernel_linux, systemd satisfies the virtual.
>
> OpenRC is being pulled in by something else, I believe netifrc. Check
> what is pulling netifrc, which in turn pulls in OpenRC. I think you
> should be able to get rid of it.
OpenRC is pulled in by @system - even `emerge -ca openrc netifrc` won't
proceed because OpenRC is in @system. As for kernel_linux, is this
something that can go in make.conf (i.e. KERNEL="linux")?
>
> It's totally possible to uninstall OpenRC; I haven't had it installed
> in years. Nowadays you don't even need to do any tricks to do it.
I got rid of it (emerge --unmerge, hehe). Some red text warning me of
removing system software, but whatever. Subsequent world updates and
depcleans show no changes except getting rid of sysvinit.
Thanks Canek.
Alec
[-- Attachment #2: Type: text/html, Size: 4656 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Removing openrc after installing systemd
2014-12-26 17:56 ` Alec Ten Harmsel
@ 2014-12-26 18:12 ` Michael Orlitzky
2014-12-26 18:15 ` Canek Peláez Valdés
1 sibling, 0 replies; 6+ messages in thread
From: Michael Orlitzky @ 2014-12-26 18:12 UTC (permalink / raw
To: gentoo-user
On 12/26/2014 12:56 PM, Alec Ten Harmsel wrote:
>>
>> It's totally possible to uninstall OpenRC; I haven't had it installed
>> in years. Nowadays you don't even need to do any tricks to do it.
>
> I got rid of it (emerge --unmerge, hehe). Some red text warning me of
> removing system software, but whatever. Subsequent world updates and
> depcleans show no changes except getting rid of sysvinit.
>
> Thanks Canek.
This isn't totally safe yet, but you'll be fine if you know what you're
doing. OpenRC is still in @system because it provides
/etc/init.d/functions.sh, and some other packages still depend on that
location. You can check b.g.o. for a list of packages that need to be
fixed to depend on the newer /lib/gentoo/functions.sh:
https://bugs.gentoo.org/buglist.cgi?quicksearch=functions.sh
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Removing openrc after installing systemd
2014-12-26 17:56 ` Alec Ten Harmsel
2014-12-26 18:12 ` Michael Orlitzky
@ 2014-12-26 18:15 ` Canek Peláez Valdés
1 sibling, 0 replies; 6+ messages in thread
From: Canek Peláez Valdés @ 2014-12-26 18:15 UTC (permalink / raw
To: Alec Ten Harmsel; +Cc: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]
On Fri, Dec 26, 2014 at 11:56 AM, Alec Ten Harmsel <alec@alectenharmsel.com>
wrote:
>
>
> On 12/26/2014 11:38 AM, Canek Peláez Valdés wrote:
>
> On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel <alec@alectenharmsel.com>
wrote:
> >
> > Just curious; is this even possible? `emerge --depclean --ask --verbose
> > sys-apps/openrc` gives:
> >
> > Calculating dependencies... done!
> > sys-apps/openrc-0.12.4 pulled in by:
> > @system requires sys-apps/openrc
> > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
> > virtual/service-manager-0 requires sys-apps/openrc
> >
> > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
> > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
> >
> > Calculating dependencies... done!
> > net-misc/netifrc-0.2.2 pulled in by:
> > sys-apps/openrc-0.12.4 requires net-misc/netifrc
> >
> > I'd rather not have both installed, although it doesn't really matter
> > that much. It makes sense that @system requires virtual/service-manager,
> > but why on earth does systemd not provide that virtual? I just checked
> > the ebuild and eclass to make sure.
>
> Mmmh. No ebuild in the tree "provides" any virtual. A virtual *specifies*
which packages can satisfy it:
>
> RDEPEND="
> prefix? ( >=sys-apps/baselayout-prefix-2.2 )
> !prefix? (
> || (
> sys-apps/openrc
> kernel_linux? ( || (
> sys-apps/systemd
> sys-process/runit
> virtual/daemontools
> ) ) ) )"
>
>
> *facepalm*... I didn't look at this. embarrassing.
>
>
>
> This is from virtual/service-manager/service-manager-0.ebuild. As you can
see, with kernel_linux, systemd satisfies the virtual.
>
> OpenRC is being pulled in by something else, I believe netifrc. Check
what is pulling netifrc, which in turn pulls in OpenRC. I think you should
be able to get rid of it.
>
>
> OpenRC is pulled in by @system - even `emerge -ca openrc netifrc` won't
proceed because OpenRC is in @system.
Yeah; you are right, I had to put
-*sys-apps/openrc
-*sys-apps/net-tools
in /etc/portage/profile/packages so portage would stop bothering me about
those two. Sorry, I forgot about that.
> As for kernel_linux, is this something that can go in make.conf (i.e.
KERNEL="linux")?
I think you should not play with that. But that's me.
> It's totally possible to uninstall OpenRC; I haven't had it installed in
years. Nowadays you don't even need to do any tricks to do it.
>
>
> I got rid of it (emerge --unmerge, hehe). Some red text warning me of
removing system software, but whatever. Subsequent world updates and
depcleans show no changes except getting rid of sysvinit.
Off with its head.
Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México
[-- Attachment #2: Type: text/html, Size: 3623 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-26 18:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-26 15:10 [gentoo-user] Removing openrc after installing systemd Alec Ten Harmsel
2014-12-26 15:56 ` Daniel Frey
2014-12-26 16:38 ` Canek Peláez Valdés
2014-12-26 17:56 ` Alec Ten Harmsel
2014-12-26 18:12 ` Michael Orlitzky
2014-12-26 18:15 ` Canek Peláez Valdés
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox