pulseaudio/src
Nix eac566226e Don't refuse to start on systems using GNU stow, graft, STORE et al
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.

(At least one distribution uses a symlink-based packaging system, so
will be forced to apply this locally in any case.)

The fix is simple: canonicalize PA_BINARY before equality-testing. (This
should be completely safe, because the OS does just that when PA_BINARY
is executed.)

The patch is against 0.9.18, but applies without fuzz to current master.
2009-09-29 19:32:25 +02:00
..
daemon Don't refuse to start on systems using GNU stow, graft, STORE et al 2009-09-29 19:32:25 +02:00
modules reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog 2009-09-28 19:54:37 -07:00
pulse libpulse: Add *_NOFLAGS flags with value 0 for various enums 2009-09-22 18:43:03 +01:00
pulsecore svolume: tweak constraints for 32 bits 2009-09-23 17:18:20 +02:00
tests stripnul: initialize 'found' bool properly (llvm-clang-analyzer) 2009-09-08 23:53:56 +02:00
utils core-util: unify how we determine the temporary directory 2009-09-17 21:06:54 +02:00
.gitignore add usergroup-test to .gitignore 2009-08-22 03:17:24 +02:00
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am build-sys: drop LIBOIL_{FLAGS|LIBS} from Makefile.am since we don't use the library anymore 2009-09-02 03:17:34 +02:00
map-file volume: introduce pa_cvolume_{inc|dec}() 2009-08-19 02:32:36 +02:00