Have you done a "svcadm refresh finger" after the svccfg ?

If the service is in maintenance, can you provide the output of
svcs -xv ?

For supportability, you should not change the original .xml file
(either via vi or svccfg). If you want to dump the service description
into a file : "svccfg export finger > myfile.xml"

-- Renaud




-------- Original Message  --------
Subject: [smf-discuss] problems with the inetadm, svcprop and the xml file
From: Bernd Gruber <grube...@gmx.at>
To: smf-discuss at opensolaris.org
Date: Fri Aug 10 2007 13:01:43 GMT+0200 (CEST)

> hi,
> i wanted to change 2 properties of /network/finger
> i did so by using the inetadm command
> when i have a look at the properties by using the inetadm -l command it shows 
> the right changes
> 
> inetadm -m finger user="xxx"
> inetadm -m finger exec="/etc/myscript xxx"
> 
> bash-3.00# inetadm -l finger
> .....
> isrpc=FALSE
> wait=FALSE
> exec="/etc/myscript xxx"
> user="xxx"
> default bind_addr=""
> .....
> 
> 
> thats' okay!!
> 
> BUT!!!
> 
> scvprop has i think a problem with the widespace because it shows
> exec="/etc/myscript\ xxx". so at the end of myscript an backslash.
> 
> when i use svccfg and type:
> select finger
> listprop
> 
> the listprop command shows the wrong (the old) properties.
> 
> and the finger command is in the maintenance status (maybe because of the 
> backslash?!?!?!?)
> 
> maintenance 10:27:13 svc:/network/finger:default
> 
> 1) what can i do to fix this (the maintenance problem and the thing with the 
> svccfg command, that it show the right properties)
> 2.) how can i change the .xml file (not with vi, with the svccfg command (i 
> hope that this is possible))
> 
> thanks
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org


Reply via email to