On Mon, Jan 16, 2006 at 12:29:50PM -0500, Zack Weinberg wrote: > Package: smart-notifier > Version: 0.23-1 > Severity: grave > Justification: renders package unusable > > Per instructions, I set up smartd, started my usual X session, and then > ran smart-notifier from within the session. It immediately quit with > errors: > > $ smart-notifier > Traceback (most recent call last): > File "/usr/bin/smart-notifier", line 11, in ? > smart_notifier.service() > File "/usr/share/smart-notifier/smart_notifier/__init__.py", line 68, in > service > bus=dbus.SystemBus()) > File "/usr/lib/python2.3/site-packages/dbus.py", line 244, in __init__ > dbus_bindings.bus_acquire_service(self._bus.get_connection(), > service_name) > File "dbus_bindings.pyx", line 1489, in dbus_bindings.bus_acquire_service > dbus_bindings.DBusException: Connection ":1.5" is not allowed to own the > service "smart_notifier.DbusService" due to security policies in the > configuration file > $ > > I'm not sure what's wrong here, but if I had to guess, I would be guessing > that it oughta be asking for the session bus, not the system bus...? Only > maybe then it doesn't work?
Yeah, it is meant to be on the system bus, because it needs to communicate from a process running as root to a process running as the user. The package does install the config for that, but doesn't re-start the dbus daemon for it to take effect. A simple /etc/init.d/dbus-1 restart should solve it. That was meant to be in my next upload, but I am having problems updating the package to the new API in python2.4-dbus. Sadly that API seems to be a brick wall which "just doesn't work". > > confused, > zw > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/dash > Kernel: Linux 2.6.15-1-686-smp > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > > Versions of packages smart-notifier depends on: > ii python2.3 2.3.5-9 An interactive high-level > object-o > ii python2.3-dbus 0.23.4-8 simple interprocess messaging > syst > ii python2.3-glade2 2.6.3-2 GTK+ bindings: Glade support > ii python2.3-gtk2 2.6.3-2 Python bindings for the GTK+ > widge > ii smartmontools 5.33+5.34cvs20050802-3 control and monitor storage > system > > smart-notifier recommends no packages. > > -- no debconf information > > -- Brian Sutherland Metropolis - "it's the first movie with a robot. And she's a woman. And she's EVIL!!" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]