[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH test-artifacts] Add debian rootfs artifact



On Thu, Aug 07, 2025 at 08:55:56AM +0100, Andrew Cooper wrote:
> On 07/08/2025 1:03 am, Marek Marczykowski-Górecki wrote:
> > Will be used as dom0/domU in some tests.
> >
> > Install OpenRC and setup it to start /etc/local.d/ scripts so tests
> > don't need different cases for Alpine and Debian.
> 
> (Yeah, I got this via CC.)
> 
> I was just thinking that we needed some non-Alpine testing too, but for
> a different reason.
> 
> We have systemd configuration in Xen, and changes to it, yet no CI of
> what is the most common init system in Linux these days.
> 
> What would need to be different in tests to avoid OpenRC?  If it's only
> the script to start the test running, can't we just declare a name, and
> arrange for both init systems to run it?

In this particular test, probably just that. And convincing
systemd/journald to dump logs to the console. But some other tests (if
we'd want to reuse this artifact) wait for "Welcome to Alpine Linux"
text, or start other services via /etc/init.d (mostly xencommons...).

And also - installing openrc takes 3MB, installing (just) systemd takes
30MB. And I haven't tried yet if any auxiliary package isn't needed
too...
But I can see what it takes to make the test use systemd.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.