Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:system:init_systems:openrc [2022/10/24 15:15]
throgh [Services often required]
en:system:init_systems:openrc [2022/10/24 15:34]
throgh [Migration]
Line 1: Line 1:
-?!(WIP)!? 
- 
 ====== OpenRC ====== ====== OpenRC ======
 OpenRC is a init system for Operational Systems GNU/Linux, GNU/Hurd and Unix, compatible with [[https://en.wikipedia.org/wiki/POSIX|Posix]]. Created by the Gentoo GNU/Linux developers team. Its purpose is to turn on/off and manage the services of the Operating System. OpenRC is a init system for Operational Systems GNU/Linux, GNU/Hurd and Unix, compatible with [[https://en.wikipedia.org/wiki/POSIX|Posix]]. Created by the Gentoo GNU/Linux developers team. Its purpose is to turn on/off and manage the services of the Operating System.
Line 82: Line 80:
 ====== OpenRC ====== ====== OpenRC ======
  
-Since Hyperbola has announced the [[https://www.hyperbola.info/news/end-of-systemd-support/|end of systemd support]], OpenRC is our main used init system besides Runit in release 0.4.+Since Hyperbola has announced the [[https://www.hyperbola.info/news/end-of-systemd-support/|end of systemd support]], OpenRC is our main used init system and with release 0.4 we have also included further support for Runit.
  
 ===== What is OpenRC? ===== ===== What is OpenRC? =====
Line 142: Line 140:
 ===== Migration ===== ===== Migration =====
  
-<note important> Since release of our version 0.4 and beyond it is no longer to be recommended to upgrade from any other system based on Arch GNU/Linux. Hyperbola GNU/Linux-libre includes too many differences and changes therefore as we even don't include any further named framework for GNU/Linux in general. So you should recognize to install Hyperbola as system from scratch with all wished changes you need to include.</note>+<note important> Be aware that since the release of version 0.4 we do not recommend any kind of migration from another system based onto Arch GNU/Linux. Since Hyperbola has included many changes and therefore differences it would be better to install the system from scratch with all changes you wish.</note> 
 ===== Configuration ===== ===== Configuration =====
  
Line 193: Line 192:
 </code> </code>
  
-==== NetworkManager settings ====+==== Network settings ====
  
-You need to enable the software at boot:+You need to enable the daemon <color #620BB9/#EEDDFF>dhcpcd</color> at runlevel default:
  
 <code bash> <code bash>
-# rc-update add NetworkManager default+# rc-update add dhcpcd default
 </code> </code>
- 
-In order to not change the computer's hostname when you're connecting to Internet (provided by dhcp), uncomment the part <color #0B71B9/#DDF1FF>[keyfile]</color> in the file <color #0B71B9/#DDF1FF>/etc/NetworkManager/NetworkManager.conf</color> as follow : 
- 
-<code> 
-# Static hostname 
-[keyfile] 
-hostname=**Votre hostname** 
-</code> 
- 
-For NetworkManager to work correctly in OpenRC, make sure that <color #0B71B9/#DDF1FF>/etc/hostname</color> has the same localhost as in <color #0B71B9/#DDF1FF>/etc/conf.d/hostname</color>. Optionally, you can safely remove <color #0B71B9/#DDF1FF>/etc/hostname</color> 
- 
-<note important> For security reasons, we have plans to remove [[https://www.hyperbola.info/packages/?q=networkmanager|NetworkManager]]. Since it requires a hard transition, it will be made for the next version, aka Milky Way v0.4. We will make an announcement when it is ready, so we recommend you use [[https://www.hyperbola.info/packages/?q=netifrc|netifrc]] as alternative.</note> 
  
 ==== Kepmap ==== ==== Kepmap ====
Line 322: Line 309:
 ==== The system can't shutdown correctly ==== ==== The system can't shutdown correctly ====
  
-Begin with OpenRC 0.28 SysVinit is replaced with openrc-init, shutdown is replaced with openrc-shutdown. If you use <color #620BB9/#EEDDFF>startx</color> to start your desktop, you also need to take a closer look onto <color #0B71B9/#DDF1FF>~/.xinitrc</color> for further additions when your environment is not starting correct.+Begin with OpenRC 0.28 SysVinit is replaced with openrc-init, shutdown is replaced with openrc-shutdown. If you use <color #620BB9/#EEDDFF>startx</color> to start your desktop, you also need to modify <color #0B71B9/#DDF1FF>~/.xinitrc</color> when you have issues with your window-manager starting correctly.
  
 ===== Acknowledgement ===== ===== Acknowledgement =====
  
 This wiki article is based on **[[https://wiki.parabola.nu/|ParabolaWiki]]**. This wiki article is based on **[[https://wiki.parabola.nu/|ParabolaWiki]]**.