Re: Fedora sound nightmare (Pulseaudio)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14.03.08 12:27, Colin Walters (walters@xxxxxxxxxx) wrote:

> 
> On Thu, 2008-03-13 at 23:51 +0100, Lennart Poettering wrote:
> 
> > The problem here is that /var/run is usually cleaned up during bootup,
> > so it's usually fine to just do a kill(pid, 0) to detect whether a
> > daemon is already running. However, PA runs as user daemon and thus
> > cannot write to /var/run. I thus chose /tmp/ copying X and esd a
> > bit. Which is admittedly a bad idea, and also introduces a (minor)
> > security issue.
> 
> The best thing to do is to use the DBus session bus.  Have pulseaudio
> grab a bus name such as org.pulseaudio.SessionDaemon.

Uh? Grab a name for nothing? Also, this would prohibit multiple
instances of PA for different users.

> Pid files and using /tmp is inherently racy and broken.

Sure, I acknowledge that.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux