[Pkg-utopia-maintainers] Bug#540693: /etc/init.d/dbus: Please stop restarting services when restarting dbus

Josh Triplett josh at joshtriplett.org
Sun Aug 9 17:32:07 UTC 2009


Package: dbus
Version: 1.2.16-2
Severity: normal
File: /etc/init.d/dbus

Please, stop restarting other services when restarting dbus.  At least
some of these services can cope just fine with dbus going away and
coming back, and those that cannot need fixing so they can.  Restarting
services forcibly when dbus restarts has led to much breakage past and
present, such as:

- New nautilus windows popping up
- Icons/applets disappearing from the panel
- Network connections temporarily going away
- X server losing input

As a stopgap measure while waiting for services to get fixed, how about
this: find out the init scripts that depend on dbus as you do now,
*don't* stop them, go ahead and restart dbus, and then run "start" on
those scripts afterward, which should nothing if the service remains
running.  I checked all the dbus-dependent scripts on my system, and
"start" does indeed work fine with the daemon already running.

- Josh Triplett

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dbus depends on:
ii  adduser                       3.110      add and remove users and groups
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libexpat1                     2.0.1-4    XML parsing C library - runtime li
ii  libselinux1                   2.0.82-1   SELinux shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

dbus recommends no packages.

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

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list