git: 33c49c35d0f0 - stable/15 - Set virtual_oss_enable="NO" in /etc/defaults/rc.conf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jan 2026 16:33:19 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=33c49c35d0f0ea20bd3fecb4b9382e431f1d25f4
commit 33c49c35d0f0ea20bd3fecb4b9382e431f1d25f4
Author: Eric A. Borisch <eborisch@gmail.com>
AuthorDate: 2026-01-29 07:32:45 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-30 16:30:10 +0000
Set virtual_oss_enable="NO" in /etc/defaults/rc.conf
This prevents 'service -e' from emitting (/var/log/messages):
/usr/sbin/service: WARNING: $virtual_oss_enable is not set properly - see rc.conf(5)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1987
Reviewed by: christos
Signed-off-by: eborisch@gmail.com
MFC after: 1 week
(cherry picked from commit 1b2d495a24c36d81b14178a2f898025946bff2d8)
---
libexec/rc/rc.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index 2b6db04d08e3..19c57eeba295 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -733,6 +733,7 @@ newsyslog_flags="-CN" # Newsyslog flags to create marked files
mixer_enable="YES" # Run the sound mixer.
opensm_enable="NO" # Opensm(8) for infiniband devices defaults to off
nuageinit_enable="NO" # Run nuageinit at startup
+virtual_oss_enable="NO" # Run virtual_oss at startup
# rctl(8) requires kernel options RACCT and RCTL
rctl_enable="YES" # Load rctl(8) rules on boot