"ifconfig create" breaks between r238227 - r238290?

David Wolfskill david at catwhisker.org
Wed Jul 11 02:26:05 UTC 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120711/3a380932/attachment.pgp


More information about the freebsd-current mailing list