Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] What init system am I using?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Sat Sep 11, 2021 3:38 pm    Post subject: [SOLVED] What init system am I using? Reply with quote

I am confused as hell right now.

I was pretty sure I was running openRC, but
Code:

$ init --version
SysV init version: 2.99

init shows up as sysV?

and I also have `systemd-tmpfiles`, though I don't think that means I'm on systemD

but also I have loads of openRC things?
Code:

$ openrc
openrc           openrc-init      openrc-run       openrc-shutdown


`/sbin/init` is not a symlink to anything?

`/etc/inittab` exists, so sysV?

and on boot it says Its openRC?

so am I on openRC or sysV? or somehow on both?

wait no, I'm sorry, I am an idiot, it's spawning openRC with sysV init via inittab (i think)
_________________
regards,
ari
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3151

PostPosted: Sat Sep 11, 2021 3:47 pm    Post subject: Reply with quote

Code:
eselect profile list | grep '\*'

If you don't know what init you're using, it's probably the profile's default.

Openrc is a dependency manager. It uses sysvinit as pid 1 process (aka the actual init, the thing that starts everything else and takes care of orphans)
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Sep 11, 2021 3:49 pm    Post subject: Reply with quote

init, ie PID1 can be satisfied via sysvinit or openrc-init but by default it is sysvinit.
You can switch to openrc-init via following these steps https://wiki.gentoo.org/wiki/OpenRC/openrc-init
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Sat Sep 11, 2021 3:59 pm    Post subject: Reply with quote

szatox wrote:
Code:
eselect profile list | grep '\*'

If you don't know what init you're using, it's probably the profile's default.

Openrc is a dependency manager. It uses sysvinit as pid 1 process (aka the actual init, the thing that starts everything else and takes care of orphans)


Yes I figured it out
_________________
regards,
ari
Back to top
View user's profile Send private message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Sat Sep 11, 2021 4:01 pm    Post subject: Reply with quote

Naib wrote:
init, ie PID1 can be satisfied via sysvinit or openrc-init but by default it is sysvinit.
You can switch to openrc-init via following these steps https://wiki.gentoo.org/wiki/OpenRC/openrc-init


It's alright, Thanks
_________________
regards,
ari
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2965
Location: Edge of marsh USA

PostPosted: Sun Sep 12, 2021 3:31 am    Post subject: Reply with quote

Read the news:
Code:
eselect news read new

or, if already read,
Code:
eselect news read all

then scroll back through the display.
You will find an article about "systemd-tmpfiles."

Also, https://www.gentoo.org/support/news-items/, with attention to 7/15/2021.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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