Bug#660722: mumble-server: Update fails if ICE used instead of DBUS

Alexander Trentini ajt at atritas.net
Tue Feb 21 09:07:56 UTC 2012


Package: mumble-server
Version: 1.2.2-6+squeeze1
Severity: minor


The recent security update for mumble-server can't be installed on a system
where murmurd is configured to use ICE instead of DBUS.

Steps to reproduce:
===================
 - Install original mumble-server .deb
 - Configure /etc/mumble-server.ini
   - Disable DBUS in the configuration file; enable ICE instead
   - update-rc.d -f remove dbus
 - /etc/init.d/mumble-server start
 - Try to apply security update .deb

The update will fail with an error message that DBUS can't be reloaded.
If you temporarily start the (not needed) DBUS daemon, the update still
fails until DBUS is activated again via update-rc.d.

Original error message(s):
==========================
*****:~$ sudo aptitude safe-upgrade
[sudo] password for *****:
The following packages will be upgraded:
  mumble-server
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/815 kB of archives. After unpacking 8,192 B will be freed.
Do you want to continue? [Y/n/?] y
Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for *****
Preconfiguring packages ...
(Reading database ... 24226 files and directories currently installed.)
Preparing to replace mumble-server 1.2.2-6 (using .../mumble-server_1.2.2-6+squeeze1_amd64.deb) ...
Unpacking replacement mumble-server ...
Processing triggers for man-db ...
Setting up mumble-server (1.2.2-6+squeeze1) ...
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
insserv: Service dbus has to be enabled to start service mumble-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing mumble-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 mumble-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mumble-server (1.2.2-6+squeeze1) ...
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
insserv: Service dbus has to be enabled to start service mumble-server
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing mumble-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mumble-server

Current status: 0 updates [-1].

Conclusion/Opinion:
===================
As DBUS is *not* needed (nor recommended, deprecated even!), the debian
package should not fail ultimately when applying updated packages; some
maintainer scripts should be adapted, i think...

As a sidenote i only have DBUS installed because mumble-server depends
on it. Maybe it should only be a recommended package, as murmur treats
the usage of DBUS as deprecated anyway (Is this a seperate bug? Wishlist?).

For the mumble DBUS deprecation notice, see:
  http://mumble.sourceforge.net/DBus


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mumble-server depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  dbus                  1.2.24-4+squeeze1  simple interprocess messaging syst
ii  debconf [debconf-2.0] 1.5.36.1           Debian configuration management sy
ii  libavahi-client3      0.6.27-2+squeeze1  Avahi client library
ii  libavahi-common3      0.6.27-2+squeeze1  Avahi common library
ii  libavahi-compat-libdn 0.6.27-2+squeeze1  Avahi Apple Bonjour compatibility 
ii  libc6                 2.11.3-3           Embedded GNU C Library: Shared lib
ii  libcap2               1:2.19-3           support for getting/setting POSIX.
ii  libgcc1               1:4.4.5-8          GCC support library
ii  libiceutil33          3.3.1-12           Ice for C++ misc utility library
ii  libprotobuf6          2.3.0-4            protocol buffers C++ library
ii  libqt4-dbus           4:4.6.3-4+squeeze1 Qt 4 D-Bus module
ii  libqt4-network        4:4.6.3-4+squeeze1 Qt 4 network module
ii  libqt4-sql            4:4.6.3-4+squeeze1 Qt 4 SQL module
ii  libqt4-sql-sqlite     4:4.6.3-4+squeeze1 Qt 4 SQLite 3 database driver
ii  libqt4-xml            4:4.6.3-4+squeeze1 Qt 4 XML module
ii  libqtcore4            4:4.6.3-4+squeeze1 Qt 4 core module
ii  libssl0.9.8           0.9.8o-4squeeze7   SSL shared libraries
ii  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
ii  libzeroc-ice33        3.3.1-12           Ice for C++ runtime library

mumble-server recommends no packages.

Versions of packages mumble-server suggests:
pn  mumble-django                 <none>     (no description available)
pn  mumble-server-web             <none>     (no description available)

-- Configuration Files:
/etc/mumble-server.ini [Errno 13] Permission denied: u'/etc/mumble-server.ini'

Relevant configuration options:
===============================
...
# Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
# RPC methods available in murmur, please specify so here.
#
#dbus=system

...

# If you want to use ZeroC Ice to communicate with Murmur, you need
# to specify the endpoint to use. Since there is no authentication
# with ICE, you should only use it if you trust all the users who have
# shell access to your machine.
# Please see the ICE documentation on how to specify endpoints.
ice="tcp -h 127.0.0.1 -p 6502"

# Ice primarily uses local sockets. This means anyone who has a
# user account on your machine can connect to the Ice services.
# You can set a plaintext "secret" on the Ice conntection, and
# any script attempting to access must then have this secret.
icesecret=supersecretpasswordforthebugreport

...

# You can configure any of the configuration options for Ice here. We recommend
# leave the defaults as they are.
# Please note that this section has to be last in the configuration file.
#
[Ice]
Ice.Warn.UnknownProperties=1
Ice.MessageSizeMax=65536

-- debconf information:
* mumble-server/use_capabilities: false
* mumble-server/start_daemon: true





More information about the Pkg-voip-maintainers mailing list