[Bug 223327] dhclient: close the pidfile before calling chroot(2)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 6 16:27:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223327

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|Open                        |Closed
           Assignee|bugs at FreeBSD.org            |markj at FreeBSD.org

--- Comment #13 from Mark Johnston <markj at FreeBSD.org> ---
Committed the workaround in r337382.  The general problem still exists, and I'm
not sure what the best solution is.  Anything that uses pidfile(3) and
chroot(2) is susceptible to the problem.  I think r337382 is a desirable change
regardless: there's no point in chrooting if we're in capability mode, and
there might be multiple dhclient pidfiles so it's nice to keep them in their
own subdirectory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list