[Pkg-utopia-maintainers] Bug#384859: dbus: update lsb logging
David Härdeman
david at 2gen.com
Sun Aug 27 12:53:53 UTC 2006
Package: dbus
Version: 0.62-4
Severity: minor
Tags: patch
Hi,
the attached patch contains some tiny changes to the dbus init.d scripts
use of lsb logging functions (log_begin_msg is just a helper function).
Regards,
David
-------------- next part --------------
diff -ur ./dbus-0.62.orig/debian/control ./dbus-0.62/debian/control
--- ./dbus-0.62.orig/debian/control 2006-08-27 14:43:56.000000000 +0200
+++ ./dbus-0.62/debian/control 2006-08-27 14:50:59.000000000 +0200
@@ -9,7 +9,7 @@
Package: dbus
Architecture: any
-Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.22.0), lsb-base (>= 3.0)
+Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.22.0), lsb-base (>= 3.0-10)
Conflicts: libdbus0, dbus-1, dbus-1-utils (<< 0.50-2), libdbus-1-1
Replaces: libdbus0, dbus-1
Description: simple interprocess messaging system
diff -ur ./dbus-0.62.orig/debian/dbus.init ./dbus-0.62/debian/dbus.init
--- ./dbus-0.62.orig/debian/dbus.init 2006-08-27 14:43:56.000000000 +0200
+++ ./dbus-0.62/debian/dbus.init 2006-08-27 14:51:20.000000000 +0200
@@ -77,12 +77,12 @@
reload_it()
{
- log_begin_msg "Reloading $DESC config"
+ log_action_begin_msg "Reloading $DESC config"
dbus-send --print-reply --system --type=method_call \
--dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig > /dev/null
# hopefully this is enough time for dbus to reload it's config file.
- log_end_msg $?
+ log_action_end_msg $?
}
case "$1" in
@@ -101,7 +101,7 @@
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|reload|restart|force-reload}" >&2
- exit 1
+ exit 2
;;
esac
More information about the Pkg-utopia-maintainers
mailing list