Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI

From: Teske, Devin <Devin.Teske_at_fisglobal.com>
Date: Tue, 8 Oct 2013 01:03:07 +0000
On Oct 7, 2013, at 5:31 PM, Allan Jude wrote:

> On 2013-10-07 20:21, Teske, Devin wrote:
>> On Oct 7, 2013, at 5:18 PM, Warren Block wrote:
>> 
>>> On Mon, 7 Oct 2013, Allan Jude wrote:
>>> 
>>>> On 2013-10-07 16:43, Warren Block wrote:
>>>>> On Mon, 7 Oct 2013, Allan Jude wrote:
>>>>> 
>>>>>> Additional, it includes some other changes to bsdinstall:
>>>>>> 1. Change the default to the 'non-standard keyboard mapping' prompt
>>>>>> to no
>>>>> Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/162175 .
>>>> That is a good idea, I'll add that
>>>> 
>>>> I've also hit this:
>>>> http://lists.freebsd.org/pipermail/freebsd-sysinstall/2013-September/000949.html
>>>> and plan to throw in a fix for that.
>>>> Which makes more sense, blindly 'killall dhclient' before we try to
>>>> acquire a new lease, or detect that dhclient is running and try to use
>>>> the IP that has already been assigned?
>>> killall seems all right.  In fact, internally, it's going to do that check.  If nothing named dhclient is running, it will return immediately.
>>> 
>>> Although on 10.0, dhclient does not want to die sometimes.
>>> 
>>> Here's another PR for usability:
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/161547
>> Hope you guys aren't rewriting bsdconfig's network.subr
> 
> These changes are in usr.sbin/bsdinstall/scripts/network and
> usr.sbin/bsdinstall/scripts/network_ipv4
> 

Correct, but I meant "reinvent" actually.

There's an enormous API for dealing with the network.

/usr/share/bsdconfig/media/tcpip.subr

Is for acquiring/maintaining active TCP connections
Meanwhile,...

/usr/share/bsdconfig/network/*.subr

Is for configuring permanent network settings that stick after a reboot.



> I've not touched bsdconfig's network stuff
> 

Probably worth a look. It can probably replace bsdinstall's netconfig.
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
Received on Mon Oct 07 2013 - 23:03:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC