Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2017 11:56:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223327] dhclient: close the pidfile before calling chroot(2)
Message-ID:  <bug-223327-8-QWzcByIVPF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223327-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223327-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223327

--- Comment #6 from Jilles Tjoelker <jilles@FreeBSD.org> ---
(In reply to Mark Johnston from comment #4)
Although the pidfile library retains the rights, dhclient itself does not:
around line 2435 of sbin/dhclient/dhclient.c it removes all rights from the
descriptor after writing the pidfile.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223327-8-QWzcByIVPF>