Re: git: 9cab9fde5eda - main - virtual_oss: Port to base
Date: Thu, 09 Oct 2025 18:16:19 UTC
Christos Margiolis <christos@freebsd.org> writes: > Mark Johnston <markj@freebsd.org> writes: > > Well, it'll break the test added in https://reviews.freebsd.org/D52954, > > which will be useful for catching bugs. > If I understand correctly, the test is meant to catch dependency cycles? > If yes, why would we have one here? This does not cause a cycle but it does cause a warning from rcorder, which causes the test to fail. The test can be changed to use `-e not-match:"circular dependencies"` instead of `-e empty` to avoid triggering on the sndiod warning, but I still think it's wrong to encode knowledge of a specific port in base. I would suggest that you change virtual_oss to have `BEFORE: DAEMON` and sndiod to have `REQUIRE: DAEMON` instead. This does not change the start order for the base system (virtual_oss was already being started before DAEMON) but ensures the correct sequencing of virtual_oss and sndiod without recording a false dependency between them. DES -- Dag-Erling Smørgrav - des@FreeBSD.org