[pulseaudio-discuss] [PATCH] Don't refuse to start on systems using GNU stow, graft, STORE et al
Lennart Poettering
lennart at poettering.net
Tue Sep 29 10:37:17 PDT 2009
On Sat, 26.09.09 20:18, Nix (nix at esperi.org.uk) wrote:
> There are multiple package management systems out there which implement
> packages using symlinks. The recent (otherwise useful) check to ensure that
> a re-executed pulseaudio is actually reexecuting itself unfortunately breaks
> in the presence of all these packaging systems, because PA_BINARY refers
> to its installed location (e.g. /usr/local/bin/pulseaudio), which is a
> symlink to the binary (e.g. /usr/local/stow/pulseaudio-0.9.18/bin/pulseaudio),
> because /proc/self/exe always contains the canonical path of the executable,
> with all symlinks resolved.
Thanks! Applied.
(Btw, I use stow myself. and if configure detects a /usr/local/stow
directory it will install itself there automatically)
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list