Project

General

Profile

Bug #7852

Updated by Andrew Stormont almost 4 years ago

svccfg restore fails with "Syntax error." because it is unable to parse the FMA events stored in the "notification_parameters" section of the archive.    This is because the parser doesn't recognise SCF_NOTIFY_PG_POSTFIX.    This is something used internally and is added on restore.    The archive logic should not be exporting it. 

 <pre> 
 root@omnios:~# svccfg 
 svc:/system/fm/notify-params> select notify-params:default 
 svc:/system/fm/notify-params:default> listpg 
 general                   framework 
 list.suspect,fmnotify     notify_params 
 list.repaired,fmnotify    notify_params 
 list.resolved,fmnotify    notify_params 
 restarter                 framework 	 NONPERSISTENT 
 restarter_actions         framework 	 NONPERSISTENT 
 svc:/system/fm/notify-params:default>  
 </pre> 

 Webrev: http://cr.illumos.org/~webrev/andy_js/7852/

Back