Hi,

I need to configure system-log to disable logging from a remote host. To do so 
I use the following command:

svccfg -s [b]svc:/system/system-log[/b] "setprop config/log_from_remote = 
[b]false[/b]"

I noticed that when I run the command,
svcprop -p config/log_from_remote [b]system-log[/b]
or
svcprop -p config/log_from_remote [b]system-log:defaut[/b]
or
svcprop -p config/log_from_remote [b]svc:/system/system-log:default[/b]
they all return true.

However, when I run the command,
svcprop -p config/log_from_remote [b]svc:/system/system-log[/b], it returns 
false.

I also tried the command:
svccfg -s [b]svc:/system/system-log:default[/b] "setprop config/log_from_remote 
= false"
It does not work, returns: svccfg: No such property group "config".

Can anyone explain why the differences?
I am presuming that I should use "svc:/system/system-log" for both svccfg and 
svcprop.  Is this correct?

Thanks
Paul W.
-- 
This message posted from opensolaris.org

Reply via email to