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


Groups > linux.debian.user > #210432

Re: [Better Solution] how to switch a Debian buster system from systemd to sys-v init

From Rick Thomas <rbthomas@pobox.com>
Newsgroups linux.debian.user
Subject Re: [Better Solution] how to switch a Debian buster system from systemd to sys-v init
Date 2019-06-27 10:40 +0200
Message-ID <ydy6J-85s-1@gated-at.bofh.it> (permalink)
References <ybZkK-r6-1@gated-at.bofh.it> <yc7ih-55Z-1@gated-at.bofh.it> <ycIUy-2wy-3@gated-at.bofh.it> <yd9L3-22f-3@gated-at.bofh.it> <ydxDH-7Wj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> On Jun 27, 2019, at 12:42 AM, Rick Thomas <rbthomas@pobox.com> wrote:
> 
> 
> 
>> On Jun 25, 2019, at 11:20 PM, Jonas Smedegaard <jonas@jones.dk> wrote:
>> 
>> Seems this would work as well, with less collateral damage:
>> 
>> apt install -y sysvinit-core elogind
>> apt --purge autoremove
>> 
> 
> This works great and, as noted, is far more elegant.
> 
> Thanks, Jonas!
> Rick

A warning about all of these solutions:  They will remove the package, network-manager.
Sometimes this may rewrite the “/etc/network/interfaces” file.  You can loose network connectivity after a reboot as a result.
Be prepared to login to the console and fix that up manually if it happens.

Another work-around is to, before doing any apt stuff at all, put a suitable fragment into the “/etc/network/interfaces.d/“ directory that configures at least one of your network interfaces the way you want it.  As an example, on my test system I have:

> $ cat /etc/network/interfaces.d/enp0s3
> auto enp0s3
> iface enp0s3 inet dhcp

Hope it helps!
Rick

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


Thread

how to switch a Debian buster system from systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-23 03:20 +0200
  Re: how to switch a Debian buster system from systemd to sys-v init <tomas@tuxteam.de> - 2019-06-23 11:50 +0200
    Re: how to switch a Debian buster system from systemd to sys-v init arne <sp113438@telfort.nl> - 2019-06-23 13:50 +0200
      Re: how to switch a Debian buster system from systemd to sys-v init <tomas@tuxteam.de> - 2019-06-23 15:00 +0200
    [Solved - sorta - part 1] Re: how to switch a Debian buster system  from systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-25 02:10 +0200
    [Solved - sorta - part 2] Re: how to switch a Debian buster system  from systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-25 04:00 +0200
      Re: [Solved - sorta - part 2] Re: how to switch a Debian buster  system from systemd to sys-v init Dan Ritter <dsr@randomstring.org> - 2019-06-25 15:50 +0200
      Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init Jonas Smedegaard <jonas@jones.dk> - 2019-06-26 08:40 +0200
        Re: [Solved - sorta - part 2] Re: how to switch a Debian buster  system from systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-26 09:40 +0200
          Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init Jonas Smedegaard <jonas@jones.dk> - 2019-06-26 10:20 +0200
        Re: [Better Solution] how to switch a Debian buster system from  systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-27 10:10 +0200
          Re: [Better Solution] how to switch a Debian buster system from  systemd to sys-v init Rick Thomas <rbthomas@pobox.com> - 2019-06-27 10:40 +0200

csiph-web