From: Klemens Nanni Subject: Re: spotifyd: add user and rc.d script To: Bjorn Ketelaars Cc: ports@openbsd.org, Alexandre Ratchov Date: Mon, 1 Jan 2024 13:40:24 +0000 On Mon, Jan 01, 2024 at 09:16:40AM +0100, Bjorn Ketelaars wrote: > Works for me as well. > > Recycling id 593 should be ok. I am not sure if using aucat(1) in > spotifyd.rc has any downsides. Maybe doing something like 'mkdir > ~/.sndiod && if=/dev/urandom bs=16 count=1 of=~/.sndio/cookie' is a good > alternative, which is more self explaining. Thanks for testing. Why handroll things if a base tool does the whole dance correctly, incl. ownership and permissions? Not intended, but nice to have: aucat(1) also fails whether sndiod(8) runs and/or the cookie actually works, i.e. 'rcctl start spotifyd' would fail if sound isn't set up properly, which 'mkdir && dd' does not.