Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #210313

How to change init from sysv to systemd

From Bob Bernstein <poobah@ruptured-duck.com>
Newsgroups linux.debian.user
Subject How to change init from sysv to systemd
Date 2019-06-23 21:20 +0200
Message-ID <ycgbT-24e-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I encountered an error during the install of a deb which 
led me to the discovery that my current init system is 
still sysvinit.

The error was:

/sbin/init: invalid option -- '-'
Usage: init {-e VAR[=VAL] | [-t SECONDS] {0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}}

Thanks to the wiki:

https://wiki.debian.org/Init

I determined that in all likelihood I am still using 
sysvinit, which circumstance was responsible for that 
error.

Problem: The wiki article suggests how to switch from 
systemd to sysvinit, but is not forthcoming as to the 
converse change, hence my Subject: line.

How should I approach this change with an eye to maximum 
safety?

Thank you


-- 
Man is essentially a dreamer, wakened sometimes for a 
moment by some peculiarly obtrusive element in the outer 
world, but lapsing again quickly into the happy somnolence 
of imagination.
                                    Russell

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to change init from sysv to systemd Bob Bernstein <poobah@ruptured-duck.com> - 2019-06-23 21:20 +0200
  Re: How to change init from sysv to systemd Bob Bernstein <poobah@ruptured-duck.com> - 2019-06-23 22:10 +0200
  Re: How to change init from sysv to systemd Patrick Bartek <nemommxiv@gmail.com> - 2019-06-23 22:10 +0200

csiph-web