Package: pulseaudio
Version: 0.9.5-4
Severity: normal
Tags: patch
/etc/init.d/pulseaudio may call chown/chnmod on non-existing object, and
fail, and immediately exit because of set -e.
This patch fixes it:
--- /etc/init.d/pulseaudio~ 2007-01-07 02:03:34.000000000 +0300
+++ /etc/init.d/pulseaudio 2007-01-07 02:03:36.000000000 +0300
@@ -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 "."
}
-- System Information:
Debian Release: 4.0
APT prefers proposed-updates
APT policy: (640, 'proposed-updates'), (640, 'stable'), (620,
'testing-proposed-updates'), (620, 'testing'), (600, 'unstable'), (550,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]