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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 03:24:32 UTC 2017


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

--- Comment #4 from Mark Johnston <markj at FreeBSD.org> ---
I realize that this doesn't address the general problem, but what's the reason
for chrooting in the first place now that dhclient runs in capability mode?

(In reply to Jilles Tjoelker from comment #2)
I don't quite follow the comment about pidfile_verify() - we do retain the
CAP_FSTAT capability on the pidfile descriptor (see r322370).

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


More information about the freebsd-bugs mailing list