Re: Runit in Ubuntu Jammy

From: Adam Faiz <adam.faiz5990_at_gmail.com>
Date: Sat, 01 Oct 2022 04:49:02 +0000

On 1 October 2022 04:07:28 UTC, Paul Gerdes <pgerdes89_at_gmail.com> wrote:
>Hello everyone. I am trying to get a minimal ubuntu desktop installation
>without systemd.
>Do you know if there is a way to get runit, openrc or sysvinit running as
>an init replacement on modern ubuntu? Could you please give me a Guide on
>how to install it and set it up?

I have a work in progress guide: https://codeberg.org/AwesomeAdam54321/LL_Runit_Scripts

>Runit Packages are already available in Ubuntu Repos. Together with
>'init-system-helpers'.
>See here: https://packages.ubuntu.com/search?keywords=runit&searchon=names
>
>I know its not officially supported in Ubuntu, but Debian 11 can run
>without systemd. There should be a way to do this.
>
>Thanks for your help
>Greetings

What you need to do after following the instructions.txt in that repo is copy the sv/ and service/ directories to where you want them to be, for example under etc/.

To change the init, you can do that by adding the init=/sbin/runit-init parameter to the GRUB config, specifically the list of parameters that are given to the kernel.

The init could also be set by changing the /sbin/init symlink to point to runit-init.
Received on Sat Oct 01 2022 - 06:49:02 CEST

This archive was generated by hypermail 2.4.0 : Sat Oct 01 2022 - 06:49:39 CEST