Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 22:19:53 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: check_dhcp
Message-ID:  <alpine.BSF.2.11.1407242205140.3624@wonkity.com>
In-Reply-To: <20140725035533.GB1065@hub.FreeBSD.org>
References:  <alpine.BSF.2.11.1407242042240.3624@wonkity.com> <20140725032045.GY1065@hub.FreeBSD.org> <alpine.BSF.2.11.1407242122540.3624@wonkity.com> <20140725033114.GZ1065@hub.FreeBSD.org> <alpine.BSF.2.11.1407242132590.3624@wonkity.com> <20140725034600.GA1065@hub.FreeBSD.org> <alpine.BSF.2.11.1407242147440.3624@wonkity.com> <20140725035533.GB1065@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jul 2014, Glen Barber wrote:

> I think dhclient still will not work though, since it is set as 'nojail'
> in /etc/rc.d/dhclient rc script.

To be clear, what worked was running /sbin/dhclient, not the rc script. 
It requests and gets a lease, but does not manage to assign the address 
to the jail's interface.

> Does /var/run/dhclient* stuff exist in the jail, with valid entries?

It does create a pid file, and a dhclient.leases file in /var/db/.  But 
the lease address is not assigned.

> I suspect no, and if yes, I would argue this is a bug that it does.

It runs, but toothlessly, which seems about right. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1407242205140.3624>