Thanks Darren for finding the bug. I've fixed the strings. The old archives have been discarded. New builds are running.
Anurag Darren Kenny wrote: > Hi, > > On updating to RC4, I found that NWAM was going into maintenance. > > Looking at the SMF log I found: > > /lib/svc/method/net-nwam: test: argument expected > > Eventually I traced this down to missing quotes in the test for the > IPSEC_POLICY_CONFIG_FILE: > > --- /lib/svc/method/net-nwam~ Wed Oct 21 11:47:04 2009 > +++ /lib/svc/method/net-nwam Wed Oct 21 11:47:46 2009 > @@ -335,7 +335,7 @@ > write_loc_prop "ike-config-file" $IKE_CONFIG_FILE \ > $CREATE_LOC_LEGACY_FILE > fi > - if [ -n "$IPSEC_POLICY_CONFIG_FILE" -a -f $IPSEC_POLICY_CONFIG_FILE ];\ > + if [ -n "$IPSEC_POLICY_CONFIG_FILE" -a -f "$IPSEC_POLICY_CONFIG_FILE" > ];\ > then > write_loc_prop "ipsecpolicy-config-file" \ > $IPSEC_POLICY_CONFIG_FILE $CREATE_LOC_LEGACY_FILE > > I noticed one or two other non-quoted strings too in there, which possibly > should also be changed... > > Darren. > _______________________________________________ > nwam-dev mailing list > nwam-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/nwam-dev >
