http://defect.opensolaris.org/bz/show_bug.cgi?id=12017

           Summary: enm start/stop strings handle arguments poorly
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: renee.danson at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Renee Danson Sommerfeld <renee.danson at sun.com> 
2009-10-15 23:09:53 UTC ---
>From an early access user:

I am using the NWAM properties GUI to configure ENM scripts for specific
interfaces. There is a problem with the way arguments are passed to the
scripts. I am passing two arguments with no quotes around them, but they
being combined into a single argument as if there were quotes around the
two of them. This breaks the scripts I am using, and requires me to parse
$1 as if it were multiple arguments.

and

I took at closer look at the handling of arguments in ENM scripts.

http://src.opensolaris.org/source/xref/nwam/nwam1/usr/src/cmd/cmd-inet/lib/nwamd/enm.c#201

Unless this is fixed, it should be documented that you can only pass at
most one argument to your command. This breaks anything that accepts
multiple arguments.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to