Monday, January 01, 2024

Re: spotifyd: add user and rc.d script

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.

No comments:

Post a Comment