On Sunday 11 October 2009, Dirk Heinrichs wrote:
> Mick schrieb:
> > If in addition you use the --verbose and or --debug options you should
> > see all that dbus has to tell you.
>
> Such options don't exist.

Huh?  They seem to exist here (although the script calls them "flags"):
=================================
# /etc/init.d/dbus                 
Usage: dbus [ flags ] < options >

Normal Options:
    start stop restart pause zap
      Default init.d options.

Additional Options:
    reload
      Extra options supported by this init.d script.

Flags:
    --quiet
      Suppress output to stdout, except if:
      1) It is a warning, then output to stdout
      2) It is an error, then output to stderr
    --verbose   Output extra information
    --debug     Output debug information
    --nocolor   Suppress the use of colors

Configuration files:
    /etc/conf.d/dbus    /etc/rc.conf

For more info, please run '/etc/init.d/dbus help'.
=================================

Running it with --debug gives loads of info:
=================================
# /etc/init.d/dbus --debug status
+ [[ '' != \y\e\s ]]
+ source /sbin/functions.sh
++ RC_GOT_FUNCTIONS=yes
++ [[ -f /etc/conf.d/rc ]]
++ source /etc/conf.d/rc

[snip...]
+ service_starting dbus
+ test_service_state dbus starting
+ [[ -z dbus ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/dbus
+ [[ ! -x /etc/init.d/dbus ]]
+ [[ -e /var/lib/init.d/starting/dbus ]]
+ service_started dbus
+ test_service_state dbus started
+ [[ -z dbus ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/dbus
+ [[ ! -x /etc/init.d/dbus ]]
+ [[ -e /var/lib/init.d/started/dbus ]]
+ return 1
+ svc_stop
+ local x= mydep= mydeps= retval=0
+ servicelist=()
+ local -a servicelist
+ is_runlevel_stop
+ [[ -d /var/lib/init.d/softscripts.new ]]
+ service_stopped dbus
+ [[ -z dbus ]]
[snip...]
=================================

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to