"Alexandre Ratchov" <[email protected]> wrote:
>
> It looks like caused by unveil(2) usage in chrome. According to
> unveil(2):
>
> Directories are remembered at the time of a call to unveil().
> This means that a directory that is removed and recreated after a
> call to unveil() will appear to not exist.
>
> so, unveil("~/.sndio") is called, if chrome is the first program to
> use audio, the directory doesn't exist so it's not unveiled. Then,
> chrome connects to sndiod, creates "~/.sndio" directory and tries to
> save the cookie, which fails. Then, other programs (like sndioctl)
> will be rejected by sndiod until chrome disconnects.
>
> Adding the full cookie path wouldn't help as the directory doesn't
> exist yet.
>
> Hmm.

Yes, "Hmm." is right. Aren't you badly duplicating NAS here...?

MIT-MAGIC-COOKIE-1! MIT-MAGIC-COOKIE-1! SCNR.

          --zeurkous.

P.S.: If you want advice, you know who to ask.

-- 
Friggin' Machines!

Reply via email to