Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2026 14:44:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293582] Unknown oid 'hw.snd.default_unit' message at startup and shutdown
Message-ID:  <bug-293582-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293582

            Bug ID: 293582
           Summary: Unknown oid 'hw.snd.default_unit' message at startup
                    and shutdown
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: rz-rpi03@h-ka.de

Hi,

on VMs without any sound device /etc/rc.d/virtual_oss triggers sysctl(8) to
output the error message "unknown oid 'hw.snd.default_unit'" on the console
at system startup or shutdown.

The rc.conf variable virtual_oss_enable has its default value of "NO" from
/etc/defaults/rc.conf.

Without much changing of virtual_oss script a simple solution would be to
redirect stderr to /dev/null while executing sysctl(8).

Regards

  Ralf

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293582-227>