Date: Wed, 13 Jun 2018 09:34:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 228977] /etc/devd/devmatch.conf has bad 'action' line Message-ID: <bug-228977-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228977 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: freebsd-arm@FreeBSD.org Reporter: bobf@mrp3.com 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228977-7>