Need information where tests can be found for sysvinit-utils Debian package
Hendrik Boom
hendrik at topoi.pooq.com
Tue Oct 29 01:32:29 GMT 2024
On Mon, Oct 28, 2024 at 06:48:28PM +0000, Mark Hindley wrote:
> On Mon, Oct 28, 2024 at 10:35:37AM +0000, Ian Jackson wrote:
> > I'm sure addition of (reliable) autopkgtests would be very welcome.
>
> Absolutely!
>
> > Note that because of its position as a central service mansger,
> > sysvinit can be tested by autopkgtests *of other packages*.
> > This is probably part of a good testing strategy, because it would
> > exercise enough of sysvinit to check that those service packages
> > function correctly.
> >
> > I haven't done a search to see if any existing pakages have such
> > tests. Also IDK if such tests would work with ci.d.n because I'm sure
> > the default images use systemd and the test's dependencies would have
> > to demand sysvinit and that would involve switching the test image's
> > init system.
>
> That is certainly the case at the moment. At the moment systemd is installed in
> the ci.d.n base images. Since version 256.1-1, systemd conflicts with sysv-rc,
> insserv and startpar and systemd prerm refuses installation. That means that
> most autopkgtests for non-systemd init related packages fail in the setup on
> ci.d.n. See insserv, openrc and startpar. It is probable that sysvinit-core
> would fail similarly.
>
> I would love to see this resolved, but the way to achieve that is not clear to
> me.
Could it help to run those tests on Devuan?
-- hendrik
>
> > Probably, it would be easiest to start by adding tests for basic
> > functionality, and startup of important packages in the sysvinit
> > package.
>
> Certainly, autopkgtests to run locally are still useful.
>
> Thanks
>
> Mark
>
More information about the Debian-init-diversity
mailing list