The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 20:11:03

Devarch
Member
Registered: 2022-10-03
Posts: 167  

How to pure OpenRC-based Devuan?

Is it possible to install OpenRC on Devuan and use it for init?

Devuan only supports SysVinit, and OpenRC is considered a fake init in this context, similar to runit  (frankeninits). This means that even if I choose OpenRC during installation, the boot process will still be managed by SysVinit.

I've tried to create a pure OpenRC Devuan system but did not succeed. I added init=/usr/sbin/openrc-init to GRUB_CMDLINE_LINUX_DEFAULT in grub. The system starts and shows:

```
Setting up keyboard layout...done.
Starting swap...done.
Starting early crypto files...nvme01p5 crypt (running)...done.
Checking remaining crypto files...32/131072 files, 53216/54288 blocks
crypt file systems: fsck.fat 4.2 (2021-01-31)
boot:/dev/block/33:212 files, 6948/13682 clusters
done.
Cleaning up temporary crypto files...
Activating local filesystem swaps...if any...done.
Cleaning up temporary Swap, if any...done.
Starting up ArmorLoading applications profiles...done.
Starting Setting kernel variables: systl...done.
Configuring network interfaces...done.
Cleaning up temporary firewall rules...done.
Starting netfilter boot and shadow times into wtmpdb:
ntpd-update-boot.nb
Starting system message bus: dbus.
Starting default runtime cron daemon: elogind.
Starting anacron (hypothetical) service.
Starting rc-modules: bluetooth, network manager.
Starting console command scheduler: crond.
Starting network connection manager: NetworkManager.
```

Then it gets stuck.
/etc/runlevels/boot is empty. I've tried to fill it with symlinks, but that did not help.

Offline

Board footer