Author Topic: Booting with OpenRC: An alternative to systemd  (Read 79656 times)

0 Members and 1 Guest are viewing this topic.

Offline Ponder

  • Held Mitglied
  • *****
  • Posts: 577
  • When in doubt, go ahead.
  • Branch: OpenRC/Stable
  • Desktop: Xfce 4.12
  • GPU Card: Intel Haswell IGP
  • GPU driver: Free
  • Kernel: Buttered
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #345 on: 21. April 2015, 17:14:19 »

Computer goes to sleep!  I pay for the buggers electricity, it isn't allowed to sleep, even IF I do  >:D


My mistake, I thought you were Irish, not Scotch.  ;D

Hibernating computers aren't powered up anymore than one that is simply turned "off."

Suspended computers are powered up to some degree, as everything is stored in RAM, which must be kept refreshed on your typical PC.
-- systemd free, by design --

Try Manjaro OpenRC Edition for a Poettering free experience.

Offline darso

  • Held Mitglied
  • *****
  • Posts: 543
  • Keep 'er between the hedges!
  • Branch: OpenRC-Stable
  • Desktop: OpenBox+XFCE
  • GPU Card: nVidia GT610
  • GPU driver: non-free
  • Kernel: linux43-x64
  • Skill: Novice
Re: Booting with OpenRC: An alternative to systemd
« Reply #346 on: 21. April 2015, 19:51:03 »
My mistake, I thought you were Irish, not Scotch.  ;D

Hibernating computers aren't powered up anymore than one that is simply turned "off."

Suspended computers are powered up to some degree, as everything is stored in RAM, which must be kept refreshed on your typical PC.

I have a little Scottish on my Mothers side, maybe that's it!  :o ;D

Cheers,
darso.
It must be difficult... for those who have taken authority as the truth, rather than truth as the authority.
-G. Massey, Egyptologist.

Linux Counter Reg Number #578558

Offline flippy

  • Vollwertiges Mitglied
  • ***
  • Posts: 207
  • AKA "day|flip" manjaro irc
  • Branch: Testing
  • Desktop: xmonad & bspwm
  • GPU Card: nVidia GeForce GTX 550 Ti
  • GPU driver: Nvida
  • Kernel: Got 64?
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #347 on: 24. May 2015, 14:00:58 »
This kinda dawn on me that I have sysvinit install with the lastest 8.13. But this got me thinking. If OpenRC is it own init. Am I ever going need sysvinit for anything?

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #348 on: 24. May 2015, 14:10:01 »
This kinda dawn on me that I have sysvinit install with the lastest 8.13. But this got me thinking. If OpenRC is it own init. Am I ever going need sysvinit for anything?
Technically OpenRC is more of an RC system than an init system, ie, it is used to manage services.

sysvinit is still required to boot up and halt the system.

For more details, https://wiki.gentoo.org/wiki/OpenRC

Offline herbie643

  • Sr. Mitglied
  • ****
  • Posts: 324
  • Branch: Unstable
  • Desktop: Xfce
  • GPU Card: Intel Mobile 4 Series Integrated Graphics Controller
  • GPU driver: free
  • Kernel: i686 3.16.7.9-1-MANJARO #1 SMP PREEMPT
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #349 on: 24. May 2015, 21:09:28 »
Just wanted to post and say that the detailed instructions for moving from Systemd to OpenRC were flawless.   Took me about 30mins, and that is including the 'missed' graphical login procedure.
System 'feels' more responsive and on bootup, uses about 75-100mb less memory.
Great work on the Wiki page.
Straightforward and easy to follow.

Thanks for a job well done.

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #350 on: 24. May 2015, 22:04:48 »
Technically OpenRC is more of an RC system than an init system, ie, it is used to manage services.

sysvinit is still required to boot up and halt the system.

For more details, https://wiki.gentoo.org/wiki/OpenRC

We could think about providing openrc with runit instead of sysvinit.
>=0.16 support process supervision, the question is, do we need such gimmick?

Offline mrbrklyn

  • Vollwertiges Mitglied
  • ***
  • Posts: 205
  • NYLXS
    • mrbrklyn
  • Desktop: wmaker
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #351 on: 25. May 2015, 01:37:46 »
We could think about providing openrc with runit instead of sysvinit.
>=0.16 support process supervision, the question is, do we need such gimmick?

why?  Does it matter?

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #352 on: 25. May 2015, 04:46:36 »
Just wanted to post and say that the detailed instructions for moving from Systemd to OpenRC were flawless.   Took me about 30mins, and that is including the 'missed' graphical login procedure.
System 'feels' more responsive and on bootup, uses about 75-100mb less memory.
Great work on the Wiki page.
Straightforward and easy to follow.

Thanks for a job well done.
Thx for the feedback :)

Offline herbie643

  • Sr. Mitglied
  • ****
  • Posts: 324
  • Branch: Unstable
  • Desktop: Xfce
  • GPU Card: Intel Mobile 4 Series Integrated Graphics Controller
  • GPU driver: free
  • Kernel: i686 3.16.7.9-1-MANJARO #1 SMP PREEMPT
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #353 on: 25. May 2015, 05:04:05 »
You are quite welcome.

Offline ganjaman70

  • Neuling
  • *
  • Posts: 48
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #354 on: 26. May 2015, 22:37:13 »
How can I check if I'm running OpenRC with eudev?

Offline mxx

  • Sr. Mitglied
  • ****
  • Posts: 420
  • Branch: stable
  • Desktop: Openbox/i3wm
  • Kernel: linux4
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #355 on: 27. May 2015, 00:10:10 »
pacman -Q eudev ?

Offline herbie643

  • Sr. Mitglied
  • ****
  • Posts: 324
  • Branch: Unstable
  • Desktop: Xfce
  • GPU Card: Intel Mobile 4 Series Integrated Graphics Controller
  • GPU driver: free
  • Kernel: i686 3.16.7.9-1-MANJARO #1 SMP PREEMPT
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #356 on: 27. May 2015, 00:45:59 »
Or
rc-status --all | grep udev

Offline Ponder

  • Held Mitglied
  • *****
  • Posts: 577
  • When in doubt, go ahead.
  • Branch: OpenRC/Stable
  • Desktop: Xfce 4.12
  • GPU Card: Intel Haswell IGP
  • GPU driver: Free
  • Kernel: Buttered
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #357 on: 27. May 2015, 02:07:41 »
Or
rc-status --all | grep udev

That tells you that a version of udev is running, but not if it is eudev. The only way I know is to look at the packages. Eudev will conflict with the systemd version. Both versions can't be installed at the same time. If eudev is installed, it will be the version running.

I find that octopi is the easiest way to look at this sort of thing.
-- systemd free, by design --

Try Manjaro OpenRC Edition for a Poettering free experience.

Offline ganjaman70

  • Neuling
  • *
  • Posts: 48
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #358 on: 27. May 2015, 02:40:58 »
I see...

eudev: "/usr/bin/udevd". Otherwise the executable would be "systemd-udevd".

Nevertheless, last line of udevd & udevadm man pages say "eudev" :)

Offline herbie643

  • Sr. Mitglied
  • ****
  • Posts: 324
  • Branch: Unstable
  • Desktop: Xfce
  • GPU Card: Intel Mobile 4 Series Integrated Graphics Controller
  • GPU driver: free
  • Kernel: i686 3.16.7.9-1-MANJARO #1 SMP PREEMPT
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #359 on: 27. May 2015, 02:51:30 »
I looked in the pamac and found

eudev-openrc
and under Files

/etc/init.d/udev-postmount

So I would assume, maybe I shouldn't assume, you know how that goes, but rc-status --all |grep udev shows

udev-postmount                                                    [  started  ]
and it appears eudev is running?