[Pkg-utopia-maintainers] Bug#397511: dbus: Very similar problem, and additional information

Witold Baryluk baryluk at smp.if.uj.edu.pl
Wed Mar 12 09:19:36 UTC 2008


Package: dbus
Version: 1.0.2-1
Followup-For: Bug #397511

Hi,

I have lots of computer with authentification via pam-ldap,
with some very old, but also fresh accounts. All are only in "users"
group. Addtitonaly /etc/security/group.conf contains:
 gdm;*;*;Al0000-2400;cdrom,floppy,plugdev,audio,dip,video,fuse,scanner

It is possible that ldap server is not availble in early
stage of botting. I have
 passwd:         compat ldap
 group:          compat ldap
 shadow:         compat
in /etc/nsswitch.conf

In /var/log/auth.log this is raported:
Mar  3 11:12:48 romeo dbus-daemon: nss_ldap: could not search LDAP server - Server is unavailable

but this can be false cause, becouse i was today restarting this
computer, and there was no new log line.

Just after user login to GNOME, popup appear with message
"HAL is not initialised."

but ps aux, shows:
# ps aux | grep hal
105       4632  0.3  0.7   6016  4072 ?        Ss   09:55   0:03
/usr/sbin/hald
root      4633  0.0  0.1   2888  1004 ?        S    09:55   0:00
hald-runner
105       4639  0.0  0.1   2232   692 ?        S    09:55   0:00
hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
105       4645  0.0  0.1   2228   696 ?        S    09:55   0:00
hald-addon-keyboard: listening on /dev/input/event0
root      4658  0.0  0.1   1804   616 ?        S    09:55   0:00
hald-addon-storage: polling /dev/hdd

but dbus isn't!

# ps aux | grep dbus
#

Also gnome-volume-manager is not stared, and trying to run one
ends with error:

$ gnome-volume-manager -n
Gtk-Message: Failed to load module "atk-bridge": libatk-bridge.so: nie
można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani
katalogu
GTK Accessibility Module initialized

(gnome-volume-manager:4167): Gnome-WARNING **: Accessibility: failed to
find module 'libgail-gnome' which is needed to make this application
accessible

(gnome-volume-manager:4167): Gnome-WARNING **: Accessibility: failed to
find module 'libatk-bridge' which is needed to make this application
accessible
manager.c/2711: could not get system bus: Did not receive a reply.
Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout
expired, or the network connection was broken.


another problems:

$ dbus-monitor --system
Failed to open connection to system message bus: Did not receive a
reply. Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.

$ hal-device
error: dbus_bus_get: org.freedesktop.DBus.Error.NoReply: Did not receive
a reply. Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.


from root user, hal-device is working:

# hal-device | head -2
0: udi = '/org/freedesktop/Hal/devices/volume_label_PL_WINXP_1264_2'
  volume.unmount.valid_options = { 'lazy' } (string list)
....



I found only one solution to this problem (i have this problem
[popup in GNOME, and not working usb storage detection for users]
since begining of last year).

# /etc/init.d/dbus restart
Stopping Hardware abstraction layer: hald.
Stopping system message bus: dbus.
Starting system message bus: dbus.
Starting Hardware abstraction layer: hald.
#

After this everything works automagicly.
(Need to relogin, or start gnome-volume-manager manualy)


Any idea why it's not starting, or can have any 
connections with LDAP ?

I can provide additional logs, if needed.






-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages dbus depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libdbus-1-3            1.0.2-1           simple interprocess messaging syst
ii  libexpat1              1.95.8-3.4        XML parsing C library - runtime li
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip

dbus recommends no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list