[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Replace systemd



On Tue, 04 Jul 2017, David Griffith wrote:
> On July 3, 2017 1:44:30 PM PDT, Martin Read <zen75502@zen.co.uk> wrote:
> >On 03/07/17 20:42, Rory Campbell-Lange wrote:
> >> Is there a pure Debian alternative?
> >
> >There is an alternative init daemon, in the form of sysvinit (install 
> >the package "sysvinit-core" to use this as your init daemon), and there
> >are several solutions for service management.
> >
> 
> It would be nice to have an install-time option for selecting the desired init.

It already exists:

https://lists.debian.org/debian-user/2017/04/msg00097.html

«
You can just append:

preseed/late_command="in-target apt-get install -y sysvinit-core"

to the installer command line.

Or you can roll your own install media with its own syslinux.cfg which
adds that or something more complicated in a preseed file.

You don't need to fork the installer, or submit any patches upstream.

If you want something more complicated, like not installing systemd at
all, you'll have to pass --include and --exclude options to debootstrap
using the base-installer/includes and base-installer/excludes preseed
options; something like:

base-installer/includes=sysvinit-core base-installer/excludes=systemd-sysv

but that's totally untested.
»

-- 
Don Armstrong                      https://www.donarmstrong.com

No amount of force can control a free man, a man whose mind is free
[...] You can't conquer a free man; the most you can do is kill him.
 -- Robert Heinlein _Revolt in 2010_ p54


Reply to: