Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 19:26:04 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        Brandon Gooch <jamesbrandongooch@gmail.com>, current@freebsd.org
Subject:   Re: "ifconfig create" breaks between r238227 - r238290?
Message-ID:  <20120711022604.GC1898@albert.catwhisker.org>
In-Reply-To: <CAGH67wQgmG2s5dMtPOG7XOup0SMzQPQRHJLH4YrJZXvJrRSTQg@mail.gmail.com>
References:  <20120709131957.GI1552@albert.catwhisker.org> <CALBk6yJTSeBtsmV15zYOi=yssik4LeUCt1y5uOiat03%2BZqEEtg@mail.gmail.com> <CAGH67wQQJKcUOeTHnW654TrQqPfRN3An-0J9zY-F4ei3B-4FLg@mail.gmail.com> <20120711020609.GB1898@albert.catwhisker.org> <CAGH67wQgmG2s5dMtPOG7XOup0SMzQPQRHJLH4YrJZXvJrRSTQg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--kfjH4zxOES6UT95V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> As a fun next test, try adding the following line to devd.conf (look
> for "dhclient") and restart devd:
>=20
> 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]=20

Peace,
david
--=20
David H. Wolfskill				david@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.

--kfjH4zxOES6UT95V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/85DwACgkQmprOCmdXAD0UcQCbBanu1AG9s1f88jlETOyESeIQ
PI4An1vOPupzCfDDGivnrFSdCvt+KSJf
=XCcS
-----END PGP SIGNATURE-----

--kfjH4zxOES6UT95V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120711022604.GC1898>