On 18/02/2022 23:30, Stefano Stabellini wrote:
> When Xen is configured with --with-systemd currently both the systemd
> init scripts as well as the traditional init.d scripts (e.g. xencommons)
> are installed.
>
> This causes issues to distros where old style init scripts are still
> supported even when systemd is enabled, e.g. Yocto. The consequence is
> that xenconsoled (and other daemons) are executed twice resulting in
> errors at boot.
>
> If --with-systemd don't install xencommons and the other sysvinit
> scripts.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
I agree with the intent, but just because you want the systemd files
doesn't mean you don't want the sysvinit files. (Also, I've been trying
to persuade Alpine or Gentoo to upstream the OpenRC config files too,
which would make a 3rd).
There wants to be --with-sysvinit (defaulting to y) to controlling this,
at which point a packager can chose any/all initsystems worth of config.
~Andrew