Re: "ifconfig create" breaks between r238227 - r238290?

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 10 Jul 2012 19:26:04 -0700
On Tue, Jul 10, 2012 at 07:15:21PM -0700, Garrett Cooper wrote:
> ...
> Curious. I was wondering about this because there's some logic in
> network.subr that parses ifconfig -l output -- thinking that the
> fallout might have been there.
> I would be curious next to see what devd is trying to execute.
> 
> As a fun next test, try adding the following line to devd.conf (look
> for "dhclient") and restart devd:
> 
> nomatch "bus" "uhub[0-9]+";
> ....

Well, devd wasn't particularly happy about that:

g1-228(10.0-C)[7] sudo service devd restart
Stopping devd.
Waiting for PIDS: 1736.
Starting devd.
devd: Cannot parse /etc/devd.conf at line 55
/etc/rc.d/devd: WARNING: failed to start devd
g1-228(10.0-C)[8] cat -n devd.conf | grep -wC 3 55
    52  notify 0 {
    53          match "system"          "IFNET";
    54          match "type"            "LINK_UP";
    55          nomatch "bus"           "uhub[0-9]+";
    56          media-type              "ethernet";
    57          action "/etc/rc.d/dhclient quietstart $subsystem";
    58  };
g1-228(10.0-C)[9] 

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Wed Jul 11 2012 - 00:26:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC