Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jan 2017 06:55:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 212028] www/firefox: Add SNDIO option
Message-ID:  <bug-212028-21738-co16VVHkIN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212028-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212028-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212028

--- Comment #8 from Tobias Kortkamp <t@tobik.me> ---
(In reply to Jan Beich (mail not working) from comment #7)
Thanks for committing.

I never tried to run sndiod in a jail before.  I usually start it on
the host and use sndiod's networking feature for this.

The reason sndiod can't start in a jail is that it tries to
setpriority(2) to -20 when started as root which is not allowed in
jails AFAIK.

Running it directly from the command line as the non-root user you run
Firefox as (e.g. `sndiod -dd -f rsnd/5` if you use /dev/dsp5) should
make it run in a jail.

If you haven't changed any of the hw.snd.report_* sysctls `export
AUDIODEVICE=3Drsnd/4` (for /dev/dsp4) will probably work too
without even starting the daemon.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



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