Debian Bug report logs -
#405869
/etc/init.d/pulseaudio may call chown on non-existing file
Reported by: "Nikita V. Youshchenko" <yoush@debian.org>
Date: Sat, 6 Jan 2007 23:18:03 UTC
Severity: normal
Tags: patch
Found in version pulseaudio/0.9.5-4
Fixed in version pulseaudio/0.9.5-5
Done: CJ van den Berg <cj@vdbonline.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, CJ van den Berg <cj@vdbonline.com>:
Bug#405869; Package pulseaudio.
(full text, mbox, link).
Acknowledgement sent to "Nikita V. Youshchenko" <yoush@debian.org>:
New Bug report received and forwarded. Copy sent to CJ van den Berg <cj@vdbonline.com>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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)
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#405869; Package pulseaudio.
(full text, mbox, link).
Acknowledgement sent to CJ van den Berg <cj@vdbonline.com>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 405869@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, Jan 07, 2007 at 02:08:26AM +0300, Nikita V. Youshchenko wrote:
> /etc/init.d/pulseaudio may call chown/chnmod on non-existing object, and
> fail, and immediately exit because of set -e.
Thanks for the report. For the record, if you don't load
module-esound-protocol-unix (ie. you don't have pulseaudio-esound-compat
installed) then /var/run/pulse/.esd_auth never get's created and the script
fails. I'm not sure if there is a case for .pulse-cookie, but the check
can't hurt anyway so I added it too.
> This patch fixes it:
Thanks, your patch will be in the next release.
--
CJ van den Berg
mailto:cj@vdbonline.com
xmpp:cj@vdbonline.com
[signature.asc (application/pgp-signature, inline)]
Reply sent to CJ van den Berg <cj@vdbonline.com>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to "Nikita V. Youshchenko" <yoush@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #15 received at 405869-close@bugs.debian.org (full text, mbox, reply):
Source: pulseaudio
Source-Version: 0.9.5-5
We believe that the bug you reported is fixed in the latest version of
pulseaudio, which is due to be installed in the Debian FTP archive:
libpulse-browse0_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/libpulse-browse0_0.9.5-5_i386.deb
libpulse-dev_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/libpulse-dev_0.9.5-5_i386.deb
libpulse-mainloop-glib0_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/libpulse-mainloop-glib0_0.9.5-5_i386.deb
libpulse0_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/libpulse0_0.9.5-5_i386.deb
pulseaudio-esound-compat_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-esound-compat_0.9.5-5_i386.deb
pulseaudio-module-gconf_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-gconf_0.9.5-5_i386.deb
pulseaudio-module-hal_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-hal_0.9.5-5_i386.deb
pulseaudio-module-jack_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-jack_0.9.5-5_i386.deb
pulseaudio-module-lirc_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-lirc_0.9.5-5_i386.deb
pulseaudio-module-x11_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-x11_0.9.5-5_i386.deb
pulseaudio-module-zeroconf_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-module-zeroconf_0.9.5-5_i386.deb
pulseaudio-utils_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio-utils_0.9.5-5_i386.deb
pulseaudio_0.9.5-5.diff.gz
to pool/main/p/pulseaudio/pulseaudio_0.9.5-5.diff.gz
pulseaudio_0.9.5-5.dsc
to pool/main/p/pulseaudio/pulseaudio_0.9.5-5.dsc
pulseaudio_0.9.5-5_i386.deb
to pool/main/p/pulseaudio/pulseaudio_0.9.5-5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 405869@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
CJ van den Berg <cj@vdbonline.com> (supplier of updated pulseaudio package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 8 Jan 2007 23:02:53 +0100
Source: pulseaudio
Binary: pulseaudio-module-hal pulseaudio-utils libpulse-browse0 pulseaudio-module-gconf libpulse-dev libpulse0 pulseaudio-module-lirc pulseaudio pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-module-jack libpulse-mainloop-glib0 pulseaudio-esound-compat
Architecture: source i386
Version: 0.9.5-5
Distribution: unstable
Urgency: low
Maintainer: CJ van den Berg <cj@vdbonline.com>
Changed-By: CJ van den Berg <cj@vdbonline.com>
Description:
libpulse-browse0 - PulseAudio client libraries
libpulse-dev - PulseAudio client development headers and libraries
libpulse-mainloop-glib0 - PulseAudio client libraries
libpulse0 - PulseAudio client libraries
pulseaudio - PulseAudio sound server
pulseaudio-esound-compat - PulseAudio sound server
pulseaudio-module-gconf - gconf module for PulseAudio sound server
pulseaudio-module-hal - HAL device detection module for PulseAudio sound server
pulseaudio-module-jack - jackd modules for PulseAudio sound server
pulseaudio-module-lirc - lirc module for PulseAudio sound server
pulseaudio-module-x11 - X11 module for PulseAudio sound server
pulseaudio-module-zeroconf - Zeroconf module for PulseAudio sound server
pulseaudio-utils - Command line tools for the PulseAudio sound server
Closes: 401111 405869
Changes:
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)
Files:
e87bcf8f7431e67e33fbf524b60dce3a 1223 sound optional pulseaudio_0.9.5-5.dsc
8e00a631aee155a04d85eda5d9978a0d 14075 sound optional pulseaudio_0.9.5-5.diff.gz
6c2ddb132fa8761ad93e1809978af07c 298304 sound optional pulseaudio_0.9.5-5_i386.deb
ede2e1adcd2fd7400248ae19cf4b84cc 46852 sound optional pulseaudio-utils_0.9.5-5_i386.deb
7909117e5d947305d2bcf73a978845d2 24330 sound optional pulseaudio-esound-compat_0.9.5-5_i386.deb
18c3adcfaba975f01043755fac7df84f 12454 sound optional pulseaudio-module-zeroconf_0.9.5-5_i386.deb
c6710d2f5cc6ca213fa062a71bb2159c 12672 sound optional pulseaudio-module-hal_0.9.5-5_i386.deb
3b3fb102d23c8d1fd775e2782f77c55b 12664 sound optional pulseaudio-module-jack_0.9.5-5_i386.deb
480c65f6c53e190be6e4dc91daf8276d 7936 sound optional pulseaudio-module-lirc_0.9.5-5_i386.deb
64c3dbef82f7c89ae7475a08abc1e2c9 11162 sound optional pulseaudio-module-gconf_0.9.5-5_i386.deb
29fb8e8b027232e34a421760d9fa8127 13766 sound optional pulseaudio-module-x11_0.9.5-5_i386.deb
4eb9b5bf37736176e6300687d88eacd2 97882 libs optional libpulse0_0.9.5-5_i386.deb
3f2c63445e33a5c4a6969ce614228c87 10032 sound optional libpulse-mainloop-glib0_0.9.5-5_i386.deb
7fa56136f35752c5c0db25dccd13e763 9756 sound optional libpulse-browse0_0.9.5-5_i386.deb
73ee4ba3ed0728b0ea17c147e52403e5 161514 libdevel optional libpulse-dev_0.9.5-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFpktkgTd+SodosdIRAjCuAKCY+rwIoyBrML5+Np6yaHZKmT/UHwCfRK2s
mngha+4Cva3xvRek5Dz3kgs=
=VO3k
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 10:01:16 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 11:16:07 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.