Peter van Gemert wrote: > Hi All, > > This is what I did: > > # svccfg import serv.xml > # svcprop -p start/timeout_seconds serv > 100 > > # svccfg > svc:> select serv > svc:/site/serv> editprop > setprop start/timeout_seconds = count: (200) # change 100 into 200 > :wq > svc:/site/serv> exit > > # svcadm refresh serv > # svcprop -p start/timeout_seconds serv > 200 > > When I now re-import my manifest the value for timeout_seconds is not changed > back to 100 but stays 200. This is expected behavior. > > Is there a way to mark the start/timeouts_seconds property to "changeable" > again. What I'm looking for is a way to tell SMF that the > start/timeout_seconds property may change again with the next manifest import > instead of having it marked 'persistent'. > > The only way I can think of right now is delete the complete service from my > system and re-create it from scratch with a new import. >
Wouldn't setting start/timeout to its original value (100) allow the next manifest import to overide it again? Since it then has the value it had at last import, svccfg would assume that the admin didn't change the value since importing the manifest, so changing the value on the next import would be considered ok. Menno -- Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno