Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED)After migrated to systemd, do I still need openrc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pstar
Apprentice
Apprentice


Joined: 22 Nov 2007
Posts: 189

PostPosted: Sat Dec 21, 2013 12:30 pm    Post subject: (SOLVED)After migrated to systemd, do I still need openrc Reply with quote

Trying to figure something out myself: https://forums.gentoo.org/viewtopic-t-979122.html

Now I am wandering what to do with openrc, if I am using gnome/systemd profile?

In perticular:
1.Do I keep need OpenRC options in kernel config, the systemd wiki page show only systemd enabled, nothing about openrc, so the openrc is optional, as far as kernel config concerns?
2. Do I need keep openrc installed in my system?

This might be userful info:
Quote:
# equery depends openrc
* These packages depend on openrc:
media-sound/pulseaudio-4.0 (system-wide ? sys-apps/openrc)
net-misc/netifrc-0.1 (>=sys-apps/openrc-0.12)
virtual/service-manager-0 (!prefix ? sys-apps/openrc)


Last edited by pstar on Sun Dec 22, 2013 3:20 am; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sat Dec 21, 2013 12:34 pm    Post subject: Reply with quote

Yes, openrc needs to be installed, at least until the systemd devs get smart enough to figure out how to create their own functions.sh

Don't know if it needs any kernel configs.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Sat Dec 21, 2013 1:42 pm    Post subject: Reply with quote

@pstar
Yes, keep openrc. Anon-E-moose correctly states there is nothing special needed in the kernel to run openrc (compatible therefore with FreeBSD). It is the other-way-round: systemd needs pretty much recent kernel features - as might be needed by other applications.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat Dec 21, 2013 8:55 pm    Post subject: Reply with quote

You can track this at https://bugs.gentoo.org/show_bug.cgi?id=373219 and once it is resolved and sys-apps/openrc is removed from @system, the next depclean will remove it from your system given that you have no other packages depending on it; you can already remove sys-apps/openrc from /var/lib/portage/world right now. The file has already been written a while ago, just has some more discussion happening; some happened yesterday, I think we're close to resolution of this bug.
Back to top
View user's profile Send private message
pstar
Apprentice
Apprentice


Joined: 22 Nov 2007
Posts: 189

PostPosted: Sun Dec 22, 2013 3:19 am    Post subject: Reply with quote

Hi thank you guys for the useful information.

Last night finally found out that I was still using openrc as there was a line in my grub.conf using "init=/usr/lib/systemd/systemd" but I really should be using "real_init=..." instead.

I just disabled openrc option in my kernel and the new kernel seems working fine.


Last edited by pstar on Sun Dec 22, 2013 8:52 am; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Dec 22, 2013 4:16 am    Post subject: Reply with quote

init=/usr/lib/systemd/systemd

not

init=/=usr/lib/systemd/systemd

if systemd is only requiring 1 file from openrc, is there anything stopping copying that file elsewhere and reinserting it once openrc is purged?
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Dec 22, 2013 11:23 am    Post subject: Reply with quote

If you do that, you need to take one of the latest attachments on the bug; the OpenRC version relies on some OpenRC functionality thus you would need to extract more than one file if you were to do it your way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum