dhclient SYNCDHCP messiness

Ian Lepore freebsd at damnhippie.dyndns.org
Thu Feb 23 01:24:21 UTC 2012


On Wed, 2012-02-22 at 17:23 -0700, Warren Block wrote:
> On Wed, 22 Feb 2012, Ian Lepore wrote:
> 
> > First, let me correct myself:  I *am* seeing exactly this glitch, I just
> > hadn't noticed it until a few minutes ago when I rebooted and looked
> > much more closely.
> >
> > Devd sees the link-up event because it sees all the events that happened
> > before it started (for some definition of "all"; there's probably some
> > reasonable list-length or buffer size limit somewhere).  I rebooted to
> > test my vague memory on this... boot into single-user mode and manually
> > run /sbin/devd -D and you'll see it processing the buffered events
> > before daemonizing.  For some reason I had to mount / writeable before
> > running devd in single-user or it failed.
> >
> > I now suspect (but haven't tested to confirm) that this message may be a
> > side effect of r226345 which replaced some one-off pidfile logic in
> > rc.d/dhclient with use of the standard rc_pid scheme, which is what is
> > doing the whining.  I think the old one-off code to deal with the
> > pidfile avoided whining in the 'quietstart' case.
> 
> Has r226345 been MFCed to 8-stable?  I only see it in head.

Apparently so, in r231278.  Maybe you're not seeing what you expect
because there was some glitch with the way the merge was done, which I
totally didn't understand when I saw the commit mail and replies -- I'm
just starting to learn svn so I didn't get all the implications of that
thread.

-- Ian




More information about the freebsd-rc mailing list