/var/svc/manifest/network/ipfilter.xml has been changed to add the 
"config" property group.  Your script skips that.  you should bfu the 
gate builds and then copy files over.

Anurag


Michael Hunter wrote:
> On Thu, 19 Feb 2009 11:10:16 -0500
> "Anurag S. Maskey" <Anurag.Maskey at Sun.COM> wrote:
>
>   
>>> One clue is that this only happens if I boot with nwam enabled.  If I
>>> boot with network/physical:default enabled and later enable nwam then
>>> network/location starts fine.
>>>   
>>>       
>> Can you add a "set -x" in the net-loc script and reboot with nwam 
>> enabled.  The log can then specify which svccfg is failing.
>>     
>
> [ Feb 19 08:21:03 Enabled. ]
> [ Feb 19 08:21:24 Executing start method ("/lib/svc/method/net-loc start"). ]
> AUTOFS_FMRI=svc:/system/filesystem/autofs
> IPSEC_IKE_FMRI=svc:/network/ipsec/ike:default
> IPSEC_POLICY_FMRI=svc:/network/ipsec/policy:default
> IPFILTER_FMRI=svc:/network/ipfilter:default
> MAPID_FMRI=svc:/network/nfs/mapid:default
> NSC_FMRI=svc:/system/name-service-cache:default
> NWAM_FMRI=svc:/network/physical:nwam
> CAT=/usr/bin/cat
> CP=/usr/bin/cp
> CUT=/usr/bin/cut
> MKDIR=/usr/bin/mkdir
> NAWK=/usr/bin/nawk
> NWAMCFG=/usr/sbin/nwamcfg
> SVCADM=/usr/sbin/svcadm
> SVCCFG=/usr/sbin/svccfg
> SVCPROP=/usr/bin/svcprop
> + smf_configure_ip 
> + /sbin/zonename -t 
> + [ global = global -o shared = exclusive ] 
> + return 0 
> + is_enabled svc:/network/physical:nwam 
> + /usr/bin/svcprop -c -p general/enabled svc:/network/physical:nwam 
> nwam_enabled=true
> + [ true != true ] 
> LOC_CREATED=false
> + /usr/sbin/nwamcfg list loc Automatic 
> + [ 0 -eq 1 ] 
> + /usr/sbin/nwamcfg list loc NoNet 
> + [ 0 -eq 1 ] 
> + /usr/sbin/nwamcfg list loc Legacy 
> + [ 0 -eq 1 ] 
> + [ false = true ] 
> + /usr/bin/svcprop -p location/selected svc:/network/location:default 
> sel_loc=
> loc_not_selected=1
> + [ 1 -eq 1 ] 
> + /usr/sbin/svccfg -s svc:/network/location:default addpg location 
> application P 
> + activate_loc NoNet 
> loc=NoNet
> + disable_svcs NoNet 
> loc=NoNet
> + get_loc_prop NoNet svcs-disable 
> + /usr/sbin/nwamcfg select loc NoNet; get -V svcs-disable 
> Get error: property 'svcs-disable' has not been set
> value=
> rtn=1
> + echo 
> + return 1 
> svclist=
> IFS=,
> + do_sec NoNet 
> + get_loc_prop NoNet ike-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ike-config-file 
> Get error: property 'ike-config-file' has not been set
> value=
> rtn=1
> + echo 
> + return 1 
> ike_file=
> ike_set=1
> + get_loc_prop NoNet ipsecpolicy-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ipsecpolicy-config-file 
> Get error: property 'ipsecpolicy-config-file' has not been set
> value=
> rtn=1
> + echo 
> + return 1 
> pol_file=
> pol_set=1
> + get_loc_prop NoNet ipfilter-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ipfilter-config-file 
> value=/etc/nwam/loc/NoNet/ipf.conf
> rtn=0
> + echo /etc/nwam/loc/NoNet/ipf.conf 
> + return 0 
> ipf_file=/etc/nwam/loc/NoNet/ipf.conf
> ipf_set=0
> + get_loc_prop NoNet ipfilter-v6-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ipfilter-v6-config-file 
> value=/etc/nwam/loc/NoNet/ipf6.conf
> rtn=0
> + echo /etc/nwam/loc/NoNet/ipf6.conf 
> + return 0 
> ipf6_file=/etc/nwam/loc/NoNet/ipf6.conf
> ipf6_set=0
> + get_loc_prop NoNet ipnat-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ipnat-config-file 
> Get error: property 'ipnat-config-file' has not been set
> value=
> rtn=1
> + echo 
> + return 1 
> ipnat_file=
> ipnat_set=1
> + get_loc_prop NoNet ippool-config-file 
> + /usr/sbin/nwamcfg select loc NoNet; get -V ippool-config-file 
> Get error: property 'ippool-config-file' has not been set
> value=
> rtn=1
> + echo 
> + return 1 
> ippool_file=
> ippool_set=1
> refresh_ike=false
> + [ 1 -eq 0 ] 
> refresh_pol=false
> + [ 1 -eq 0 ] 
> refresh_ipf=false
> + [ 0 -eq 0 ] 
> + set_prop svc:/network/ipfilter:default config/ipf_config_file 
> /etc/nwam/loc/NoNet/ipf.conf 
> + /usr/sbin/svccfg -s svc:/network/ipfilter:default setprop 
> config/ipf_config_file = /etc/nwam/loc/NoNet/ipf.conf 
> svccfg: No such property group "config".
> + exit 95 
> [ Feb 19 08:21:28 Method "start" exited with status 95. ]
>   

Reply via email to