On 2019-09-16 at 18:11, Brian wrote:

> On Mon 16 Sep 2019 at 15:16:34 -0400, The Wanderer wrote:
> 
>> On 2019-09-16 at 15:07, Brian wrote:
>> 
>>> On Sun 15 Sep 2019 at 21:52:50 -0400, Dan Ritter wrote:

>>>> apt install sysvinit-core
>>> 
>>> What happens if this is not done?
>> 
>> Next time you reboot, you'll have systemd as init.
>> 
>> The dist-upgrade will have resulted in installing the systemd-sysv 
>> package, which (despite its name) has nothing to do with sysvinit;
>> it is the package which sets systemd as the primary / active /
>> default init system.
>> 
>> Installing sysvinit-core will uninstall that package.
> 
> What causes systemd-sysv to be installed?

I don't know the details for certain. IIRC, once upon a time the
sysvinit package had been replaced with a package which depended on
'systemd-sysv | sysvinit-core', but currently I don't see that package
in either stable or testing.

I suspect that nowadays it's just the fact that so many things have a
dependency chain running through libpam-systemd, which nowadays lists a
hard dependency on systemd-sysv (IIRC it didn't always).

If you happen not to have anything installed which depends on that
(which is possible - I've done it - but may be overly restrictive for
some people, and I think is outright impossible with either GNOME or
KDE), you should indeed be able to transition to current stable without
picking up systemd as init.

Switching from systemd-sysv to sysvinit-core will wind up removing
libpam-systemd in any case, unless I misunderstand matters greatly, so
when you run that install command you'll get to find out what parts of
your installed system will be removed with the transition.


(IMO that once-upon-a-time sysvinit package which only depended on other
packages was a nomenclature mistake. We should have arranged things so
as to have a package named 'init' which did that, and had it depend on
both the previous 'sysvinit' and on 'systemd-init', which latter would
be the equivalent to our current 'systemd-sysv'. Having the name of sysv
in the set-systemd-as-init package seems like an unfortunate wart, which
will likely now be maintained for a long period.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to