From owner-svn-src-head@freebsd.org Sat Feb 17 06:57:41 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8298F14426; Sat, 17 Feb 2018 06:57:41 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01D8A6AC10; Sat, 17 Feb 2018 06:57:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3958119442; Sat, 17 Feb 2018 06:57:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1H6vdKi027813; Sat, 17 Feb 2018 06:57:39 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1H6vcnX027812; Sat, 17 Feb 2018 06:57:38 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201802170657.w1H6vcnX027812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sat, 17 Feb 2018 06:57:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329445 - head/etc/devd X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/etc/devd X-SVN-Commit-Revision: 329445 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 06:57:42 -0000 Author: imp Date: Sat Feb 17 06:57:38 2018 New Revision: 329445 URL: https://svnweb.freebsd.org/changeset/base/329445 Log: Pass in the NOMATCH event to devmatch In devd/devmatch.conf, we need to pass the event to the devmatch serivce. It gets passed to devmatch -p for matching. We always pass this, unlike hps' original patch, so we kill two birds with one stone and only match modules to the event passed in. Submitted by: hps@ Sponsored by: Netflix Modified: head/etc/devd/devmatch.conf Modified: head/etc/devd/devmatch.conf ============================================================================== --- head/etc/devd/devmatch.conf Sat Feb 17 06:57:34 2018 (r329444) +++ head/etc/devd/devmatch.conf Sat Feb 17 06:57:38 2018 (r329445) @@ -9,7 +9,7 @@ # # Generic NOMATCH event nomatch 100 { - action "service devmatch start"; + action "service devmatch start '?$_'"; }; # Add the following to devd.conf to prevent this from running: