Package: powersave Version: 0.15.20-3 Severity: normal While reading the powersaved code trying to fix #510633, I noticed that all messages on unknown interfaces are completely ignored. This is rather unfriendly, particularly for the Introspect interface as used from Python - the caller will eventually time out, but it will typically take 25 seconds.
The intended handling of messages on unknown interfaces is that if the
message type is "method call", a suitable "unknown interface" error is
returned; otherwise, the message is ignored.
"org.freedesktop.DBus.Error.UnknownMethod" (which is DBUS_ERROR_UNKNOWN_METHOD
in <dbus/protocol.h>) is a reasonable error name to use.
Of course, it would be better still if Introspect returned the
appropriate blob of XML!
Regards,
Simon
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
signature.asc
Description: Digital signature

