[Pkg-utopia-maintainers] Bug#672358: dbus: some machines do not shutdown properly and do not do poweroff

Jürgen Kaiser kaiser at kaiser-systemtechnik.de
Thu May 10 10:56:30 UTC 2012


Package: dbus
Version: 1.5.12-1
Justification: breaks the whole system
Severity: critical                                                                                                                                                                                                    

Dear Maintainer,                                                                                                                                                                                                      

I have some desktop, server and notebooks running debian.

All machines have nvidia graphic cards and driver are proprietary from nvidia.

Until 05/2012 I run debian squeeze on all machines.

In 05/2012 I begin update to debian wheezy with fresh install.

Kernel used is taken from kernel.org without any patches, configuration is 
taken from debian experimental.

All machines uses kde as window system.

With debian wheezy (testing), last dist-upgrade 09.05.2012, on all type of 
machines, I have got problems with full shutdown by running

shutdown -h now
or
shutdown -hP now

on notebook system, which is an Acer Aspire 8930G-944. The system hang on try 
to kill remaining processes.

Desktop system do the shutdown.

For I'am using a new kernel on the notebook, I think this may be a kernel/bios 
problem and I try the typical acpi, etc. kernel options with no success. 

After this probes I think it maybe a problem with nvidia driver and try 
several versions, no success.

At least I inspect the run level and found that there is no dbus kill link in 
run level 0 for dbus.

I added a link to stop dbus lately after kdm and after adding this kill link 
the shutdown process finished successfully.

Inspecting lsb header of dbus script in /etc/init.d I see that there is no 
entry for Default-Stop.

It seem that the finishing kill on remaining processes at end of shutdown do 
not stop dbus and related processes.

I add a file dbus to /etc/insserv/overrides with content

### BEGIN INIT INFO
# Provides:          dbus
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: D-Bus systemwide message bus
# Description:       D-Bus is a simple interprocess messaging system, used
#                    for sending messages between applications.
### END INIT INFO

It is not clear to me whether this file is honored on update of dbus because I 
have problems understanding the complex handling of program update-rc.d.

Please enter proper stop directives (0 1 6) to lsb header in init script and 
postinst script to honor this change.

Thanks in advance

                                                                                                                                                                                                                      
-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.5-ksamd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbus depends on:                                                                                                                                                                                 
ii  adduser            3.113+nmu1
ii  libc6              2.13-32
ii  libdbus-1-3        1.5.12-1
ii  libexpat1          2.1.0-1
ii  libselinux1        2.1.9-2
ii  libsystemd-login0  37-1.1
ii  lsb-base           4.1+Debian2

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11  1.5.12-1





More information about the Pkg-utopia-maintainers mailing list