Re: Installing an Alternative Init?
On Sun 16 Nov 2014 at 00:23:24 +0000, Martin Read wrote:
> On 15/11/14 23:04, Paul E Condon wrote:
> >If one could absolutely rely on apt-get always getting it right, then
> >
> >"apt-get install -y sysvinit-core"
> >
> >could always be used to remove systemd even from a system that has
> >been booted into systemd and running, and not just in the context
> >of a pre-seed. Right?
>
> That command is unlikely to actually remove systemd on any Debian
> jessie system. What it will do is change what the symlink /sbin/init
> points to so that next time the system on which you do it is
> rebooted, it will use sysvinit as the init daemon.
I see a removal of a symlink, not a change.
With the systemd-sysvinit package installed:
root@jessie-b2:~# ls -l /sbin/init
lrwxrwxrwx 1 root root 20 Sep 28 20:05 /sbin/init -> /lib/systemd/systemd
With the sysvinit-core package installed:
root@jessie-b2:~# ls -l /sbin/init
-rwxr-xr-x 1 root root 39396 Nov 11 19:59 /sbin/init
Reply to: