Bug#1111737: orphan-sysvinit-scripts: please include scripts for kexec-tools, which were dropped in trixie
g1pi at libero.it
g1pi at libero.it
Thu Aug 21 19:14:55 BST 2025
On Thu, Aug 21, 2025 at 06:14:16PM +0200, Lorenzo wrote:
> Hi,
>
> On Thu, 21 Aug 2025 17:24:51 +0200
> g1 <g1pi at libero.it> wrote:
>
> > the kexec-tools package in trixie has lost its SysV scripts, because
> >
> > > kexec-tools (1:2.0.27-1) unstable; urgency=medium
> > >
> > > [...]
> > > * Removed init files. Removed automatic kexec reboot when enabled
> > > and associated config option (kexec-tools/load_kexec or
> > > LOAD_KEXEC in /etc/default/kexec). kexec reboot functionality
> > > has been integrated into systemctl now and will likely move to
> > > logind in near future. (Closes: #1039248)
>
> I can't follow the logic of the explanation: it seems systemd no longer
> needs kexec package, but why then remove support for for users who
> still rely on it?
AFAICT, the package is needed both for sysvinit and systemd: the heavy
lifting is done by /sbin/kexec.
If I understand correctly, what changed in 2023 (see #1039248) is the
addition of a proper systemd unit for a kexec reboot, instead of the
auto-generated stub which used to invoke /etc/init.d/kexec (i.e. a
wrapper around "kexec -e") at the right time in the shutdown sequence.
Therefore, /etc/init.d/kexec is now superfluous and can be dropped:
sysvinit users don't matter.
> Perhaps kexec maintainer can be convinced to restore the sysvinit
> script?
Perhaps, but similar requests for e.g. rsyslog and nftables have been
summarily discarded, so I'm a bit pessimistic. Anyway, it might be too
late for trixie.
Regards,
g.
More information about the Debian-init-diversity
mailing list