FreeBSD Bugzilla – Attachment 187588 Details for
Bug 223327
dhclient: close the pidfile before calling chroot(2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
forces the dhclient to work in the vnet-jail again on FreeBSD-CURRENT
dhclient.patch (text/plain), 389 bytes, created by
Oleg Ginzburg
on 2017-10-30 18:38:14 UTC
(
hide
)
Description:
forces the dhclient to work in the vnet-jail again on FreeBSD-CURRENT
Filename:
MIME Type:
Creator:
Oleg Ginzburg
Created:
2017-10-30 18:38:14 UTC
Size:
389 bytes
patch
obsolete
>--- /usr/src/sbin/dhclient/dhclient.c.bak 2017-10-28 15:59:13.507237000 +0000 >+++ /usr/src/sbin/dhclient/dhclient.c 2017-10-29 23:40:29.835454000 +0000 >@@ -504,6 +504,8 @@ > if (cap_rights_limit(routefd, &rights) < 0 && errno != ENOSYS) > error("can't limit route socket: %m"); > >+ pidfile_close(pidfile); >+ > if (chroot(_PATH_VAREMPTY) == -1) > error("chroot"); > if (chdir("/") == -1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223327
: 187588