On Fri, 20 Jan 2023 at 12:15:31 +0100, Guillem Jover wrote:
> I don't think it is redundant though? Just removing the lsb-base
> Depends can break packages on partial upgrades in the same way lsb-base
> broke stuff before it grew a versioned dependency on sysvinit-utils.

Yes, ish.

The vast majority of dependencies on lsb-base are going to be for LSB init
scripts, which are normally run by either systemd-sysv-generator(8), or
sysv-rc, or some other non-default init system.

For the systemd-sysv-generator case, the LSB init script is only run if
there is no native systemd unit of the same name, which itself triggers
a Lintian warning (albeit quite a common one); so hopefully if maintainers
are removing lsb-base dependencies as prompted by Lintian, they are also
adding a corresponding /lib/systemd/system/foo.service for each
/etc/init.d/foo in the package.

For the sysv-rc case, sysv-rc in bullseye already depended on lsb-base
so that individual init scripts wouldn't have to.

For other non-default init systems like openrc, yes this could be
a problem.

    smcv

Reply via email to