[Bug 228977] /etc/devd/devmatch.conf has bad 'action' line

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug 228977] /etc/devd/devmatch.conf has bad 'action' line


            Bug ID: 228977
           Summary: /etc/devd/devmatch.conf has bad 'action' line
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: [hidden email]
          Reporter: [hidden email]

The new /etc/devd/devmatch.conf has an action line for 'nomatch' in it that
does not work correctly.

Instead of passing a single argument containing embedded white space to the
/etc/rc.d/devmatch script as parameter 2, the 'service' command strips off the
single quote characters, which causes the parameter to be passed as multiple
arguments to the 'devmatch' script, instead.

This causes the devmatch program to receive '?' as the parameter following '-p'
which gives you an error message similar to:

  devmatch: Malformed NOMATCH string: ''

A simple workaround can be performed by using the following action string:

  action "/etc/rc.d/devmatch start '?$_'";

this avoids calling 'service' and invokes the rc script directly.

You are receiving this mail because:
You are the assignee for the bug.
[hidden email] mailing list
To unsubscribe, send any mail to "[hidden email]"