[Pkg-utopia-maintainers] Bug#589662: dbus: segfaults on kfreebsd if reloaded

Axel Beckert abe at debian.org
Mon Jul 19 17:41:13 UTC 2010


Package: dbus
Version: 1.2.24-1
Severity: important
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

A running dbus-daemon segfaults on kfreebsd-i386, if "service dbus
reload" is issued. Since the hal maintainer scripts issue this command
on upgrade or installation, hal currently fails to install or upgrade on
kfreebsd because of that.

Happens with both, the current version in testing (1.2.24-1) as well as
the version in unstable (1.2.24-2), so I'm reporting this as found in
1.2.24-1.

If someone can instruct me how to force dbus-daemon to dump core, I can
also provide a backtrace. I found a core at /dbus-daemon.core, but it
was 2 days old and from before I installed the dbus-1-dbg package. The
reproducable segfault doesn't seem to dump core anymore, at least not in
"/" which seems the cwd of dbus-daemon.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.0-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbus depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc0.1                       2.11.2-2   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-2   simple interprocess messaging syst
ii  libexpat1                     2.0.1-7    XML parsing C library - runtime li
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11                      1.2.24-2   simple interprocess messaging syst

-- Configuration Files:
/etc/dbus-1/system.conf changed:
<!-- This configuration file controls the systemwide message bus.
     Add a system-local.conf and edit that rather than changing this 
     file directly. -->
<!-- Note that there are any number of ways you can hose yourself
     security-wise by screwing up this file; in particular, you
     probably don't want to listen on any more addresses, add any more
     auth mechanisms, run as a different user, etc. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Our well-known bus type, do not change this -->
  <type>system</type>
  <!-- Run as special user -->
  <user>messagebus</user>
  <!-- Fork into daemon mode -->
  <fork/>
  <!-- We use system service launching using a helper -->
  <standard_system_servicedirs/>
  <!-- This is a setuid helper that is used to launch system services -->
  <servicehelper>/usr/lib/dbus-1.0/dbus-daemon-launch-helper</servicehelper>
  <!-- Write a pid file -->
  <pidfile>/var/run/dbus/pid</pidfile>
  <!-- Enable logging to syslog -->
  <syslog/>
  <!-- Only allow socket-credentials-based authentication -->
  <auth>EXTERNAL</auth>
  <!-- Only listen on a local socket. (abstract=/path/to/socket 
       means use abstract namespace, don't really create filesystem 
       file; only Linux supports this. Use path=/whatever on other 
       systems.) -->
  <listen>unix:path=/var/run/dbus/system_bus_socket</listen>
  <policy context="default">
    <!-- All users can connect to system bus -->
    <allow user="*"/>
    <!-- Holes must be punched in service configuration files for
         name ownership and sending method calls -->
    <deny own="*"/>
    <deny send_type="method_call"/>
    <!-- Signals and reply messages (method returns, errors) are allowed
         by default -->
    <allow send_type="signal"/>
    <allow send_requested_reply="true" send_type="method_return"/>
    <allow send_requested_reply="true" send_type="error"/>
    <!-- All messages may be received by default -->
    <allow receive_type="method_call"/>
    <allow receive_type="method_return"/>
    <allow receive_type="error"/>
    <allow receive_type="signal"/>
    <!-- Allow anyone to talk to the message bus -->
    <allow send_destination="org.freedesktop.DBus"/>
    <!-- But disallow some specific bus services -->
    <deny send_destination="org.freedesktop.DBus"
          send_interface="org.freedesktop.DBus"
          send_member="UpdateActivationEnvironment"/>
  </policy>
  <!-- Config files are placed here that among other things, punch 
       holes in the above policy for specific services. -->
  <includedir>system.d</includedir>
  <!-- This is included last so local configuration can override what's 
       in this standard file -->
  <include ignore_missing="yes">system-local.conf</include>
  <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
</busconfig>


-- no debconf information





More information about the Pkg-utopia-maintainers mailing list