1 |
On Sunday 11 October 2009, Dirk Heinrichs wrote: |
2 |
> Mick schrieb: |
3 |
> > If in addition you use the --verbose and or --debug options you should |
4 |
> > see all that dbus has to tell you. |
5 |
> |
6 |
> Such options don't exist. |
7 |
|
8 |
Huh? They seem to exist here (although the script calls them "flags"): |
9 |
================================= |
10 |
# /etc/init.d/dbus |
11 |
Usage: dbus [ flags ] < options > |
12 |
|
13 |
Normal Options: |
14 |
start stop restart pause zap |
15 |
Default init.d options. |
16 |
|
17 |
Additional Options: |
18 |
reload |
19 |
Extra options supported by this init.d script. |
20 |
|
21 |
Flags: |
22 |
--quiet |
23 |
Suppress output to stdout, except if: |
24 |
1) It is a warning, then output to stdout |
25 |
2) It is an error, then output to stderr |
26 |
--verbose Output extra information |
27 |
--debug Output debug information |
28 |
--nocolor Suppress the use of colors |
29 |
|
30 |
Configuration files: |
31 |
/etc/conf.d/dbus /etc/rc.conf |
32 |
|
33 |
For more info, please run '/etc/init.d/dbus help'. |
34 |
================================= |
35 |
|
36 |
Running it with --debug gives loads of info: |
37 |
================================= |
38 |
# /etc/init.d/dbus --debug status |
39 |
+ [[ '' != \y\e\s ]] |
40 |
+ source /sbin/functions.sh |
41 |
++ RC_GOT_FUNCTIONS=yes |
42 |
++ [[ -f /etc/conf.d/rc ]] |
43 |
++ source /etc/conf.d/rc |
44 |
|
45 |
[snip...] |
46 |
+ service_starting dbus |
47 |
+ test_service_state dbus starting |
48 |
+ [[ -z dbus ]] |
49 |
+ [[ -z starting ]] |
50 |
+ local f=/var/lib/init.d/starting/dbus |
51 |
+ [[ ! -x /etc/init.d/dbus ]] |
52 |
+ [[ -e /var/lib/init.d/starting/dbus ]] |
53 |
+ service_started dbus |
54 |
+ test_service_state dbus started |
55 |
+ [[ -z dbus ]] |
56 |
+ [[ -z started ]] |
57 |
+ local f=/var/lib/init.d/started/dbus |
58 |
+ [[ ! -x /etc/init.d/dbus ]] |
59 |
+ [[ -e /var/lib/init.d/started/dbus ]] |
60 |
+ return 1 |
61 |
+ svc_stop |
62 |
+ local x= mydep= mydeps= retval=0 |
63 |
+ servicelist=() |
64 |
+ local -a servicelist |
65 |
+ is_runlevel_stop |
66 |
+ [[ -d /var/lib/init.d/softscripts.new ]] |
67 |
+ service_stopped dbus |
68 |
+ [[ -z dbus ]] |
69 |
[snip...] |
70 |
================================= |
71 |
|
72 |
HTH. |
73 |
-- |
74 |
Regards, |
75 |
Mick |