Re: git: 9cab9fde5eda - main - virtual_oss: Port to base

From: Mark Johnston <markj_at_freebsd.org>
Date: Tue, 07 Oct 2025 14:10:19 UTC
On Tue, Oct 07, 2025 at 03:48:26PM +0200, Christos Margiolis wrote:
> On Tue Oct 7, 2025 at 11:26 AM CEST, Dag-Erling Smørgrav wrote:
> > Christos Margiolis <christos@FreeBSD.org> writes:
> >>  libexec/rc/rc.d/virtual_oss                        |  119 +
> >
> > This contains a reference to a non-existent sndiod service.
> 
> I am aware. I discussed this with 0mp@ during EuroBSDCon in Zagreb and
> decided that it probably does not hurt too much to leave it there, at
> least for now.

Well, it'll break the test added in https://reviews.freebsd.org/D52954,
which will be useful for catching bugs.

> It's important to note that for most users sndiod actually is not
> needed. This is only needed when virtual_oss(8) runs with sndio support,
> which has been moved to a new port: audio/virtual_oss_sndio.

Why not just modify the sndiod script to REQUIRE virtual_oss?