Control: tag -1 moreinfo

Hi,

On 12/1/20 8:26 AM, Jamie Heilman wrote:
> Package: runit
> Version: 2.1.2-38
>
> The runit-run package fails to enable the runit.service unit during
> installation on systems that use systemd.  This is surprising behavior
> that isn't documented in the NEWS file (if it was even intentional)
> and leaves folks with a previously working setup w/runit-systemd a
> system that won't start runit on next reboot.
It is not intentional and it comes to me as a surprise: I'm relying on
dh_installsystemd to manage the systemd service, and the default
is to enable the unit on install..
anyway I've just done another round of test in a Vbox machine with systemd
and i cannot reproduce the issue.
i've done the following

1. downgrade runit-run --> runit-systemd

    download in /some/dir/ runit-systemd from
https://packages.debian.org/sid/all/runit-systemd/download

    apt install /some/dir/runit-systemd_2.1.2-36_all.deb

2. upgrade again to runit-run

    apt-get install runit-run

3. reboot the system

at this point 'systemctl status runit.service' shows the service as
active and enabled,
and i can also see the runsvdir process with pstree.

A few wild guess on why the service is not enabled for you:

* Maybe you disabled the service at some point before the upgrade?
  Note that with systemd 'enabled' and 'started' are decoupled, so if
you disable the service
  it will continue to run until the next reboot.

* You are upgrading from an old version of runit (<2.1.2-31)?

  there's been a change in the directory that is watched by runsvdir
when runit
  is not init: it was /etc/runit/runsvdir/default, now it's
/etc/runit/runsvdir/svmanaged;
  again you will notice this only on after a reboot: the runit.service
is enabled and running
  but there will be no services supervised

With "fails to enable the runit.service" you mean that an error happened
during the upgrade,
or that the upgrade is successfull but at the end the service is disabled?
What does 'systemctl status runit.service' say? (note the second line
'vendor preset: enabled')

Regards,
Lorenzo

Reply via email to