Bug#1065146: sysvinit-core: /usr/sbin/halt and others ineffectively diverted (DEP17)

Helmut Grohne helmut at subdivi.de
Fri Mar 1 13:50:15 GMT 2024

Control: severity -1 important

Hi Lorenzo,

On Fri, Mar 01, 2024 at 01:18:38PM +0100, Lorenzo wrote:
> I'm missing something for sure here, but sysvinit-core has a conflict
> with systemd-sysv and both bfh-container and progress-linux-container
> depends on systemd-sysv so they already should not be installed at the
> same time in a system regardless of the versioned conflicts you are
> adding.. ?

Thank you for your attention to detail. Your analysis is mostly correct.
In particular, the declared dependencies on systemd-sysv make the
failure mode very unlikely - hence downgrading the bug.

Stil Depends does not impact the unpack phase. In principle, you may
have a system with bfh-container on bookworm (thus having systemd-sysv)
and then upgrade to trixie while at the same time converting to
sysvinit-core (unlikely). When doing that, bfh-container may get into a
deconfigured state, systemd-sysv can be removed and sysvinit-core may be
unpacked before bfh-container is actually removed. In this scenario,
bfh-container.postrm would cause /usr/sbin/halt to vanish. As such, I
think we should apply Conflicts here to avoid the underlying situation.


More information about the Debian-init-diversity mailing list