[Pkg-pulseaudio-devel] r99 - in /pulseaudio/trunk/debian: changelog
pulseaudio.init
neurocyte-guest at users.alioth.debian.org
neurocyte-guest at users.alioth.debian.org
Mon Jan 8 23:49:03 CET 2007
Author: neurocyte-guest
Date: Mon Jan 8 23:49:02 2007
New Revision: 99
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/?sc=1&rev=99
Log:
Make sure files in /var/run/pulse exist before calling chown and chmod. (Closes: #405869)
Modified:
pulseaudio/trunk/debian/changelog
pulseaudio/trunk/debian/pulseaudio.init
Modified: pulseaudio/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pulseaudio/trunk/debian/changelog?rev=99&op=diff
==============================================================================
--- pulseaudio/trunk/debian/changelog (original)
+++ pulseaudio/trunk/debian/changelog Mon Jan 8 23:49:02 2007
@@ -1,8 +1,10 @@
pulseaudio (0.9.5-5) unstable; urgency=low
* debian/control: Make Build-deps more specific. (Closes: #401111)
+ * debian/pulseaudio.init: Make sure files in /var/run/pulse exist before
+ calling chown and chmod. (Closes: #405869)
- -- CJ van den Berg <cj at vdbonline.com> Fri, 1 Dec 2006 14:56:17 +0100
+ -- CJ van den Berg <cj at vdbonline.com> Mon, 8 Jan 2007 23:02:53 +0100
pulseaudio (0.9.5-4) unstable; urgency=low
Modified: pulseaudio/trunk/debian/pulseaudio.init
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/pulseaudio/trunk/debian/pulseaudio.init?rev=99&op=diff
==============================================================================
--- pulseaudio/trunk/debian/pulseaudio.init (original)
+++ pulseaudio/trunk/debian/pulseaudio.init Mon Jan 8 23:49:02 2007
@@ -26,10 +26,14 @@
pulseaudio_start () {
echo -n "Starting PulseAudio Daemon: pulseaudio"
start-stop-daemon -x $DAEMON -p $PIDFILE --start -- --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=$DISALLOW_MODULE_LOADING
- chown pulse:pulse-access /var/run/pulse/.esd_auth
- chmod 640 /var/run/pulse/.esd_auth
- chown pulse:pulse-access /var/run/pulse/.pulse-cookie
- chmod 640 /var/run/pulse/.pulse-cookie
+ if [ -e /var/run/pulse/.esd_auth ]; then
+ chown pulse:pulse-access /var/run/pulse/.esd_auth
+ chmod 640 /var/run/pulse/.esd_auth
+ fi
+ if [ -e /var/run/pulse/.pulse-cookie ]; then
+ chown pulse:pulse-access /var/run/pulse/.pulse-cookie
+ chmod 640 /var/run/pulse/.pulse-cookie
+ fi
echo "."
}
More information about the Pkg-pulseaudio-devel
mailing list