Re: [Grml-devel] Grml.org patch bomb
- To: email@example.com
- Cc: grml development mailinglist <firstname.lastname@example.org>, Michal Suchanek <email@example.com>, Christian Hofstaedtler <firstname.lastname@example.org>
- Subject: Re: [Grml-devel] Grml.org patch bomb
- From: intrigeri <email@example.com>
- Date: Fri, 07 Oct 2011 00:41:24 +0200
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <20110911220103.GA9005@percival.namespace.at> (Christian Hofstaedtler's message of "Mon, 12 Sep 2011 00:01:03 +0200")
- References: <2011-07-26T23email@example.com> <4E3AF04C.firstname.lastname@example.org> <20110804195457.GA1934@shell.spamt.net> <4E3AFD8F.email@example.com> <20110804205917.GB1934@shell.spamt.net> <CAOMqctQX=ePrNka0Fq9tBey8sjxkYWbMHnTtLyHzvmoifkNPJQ@mail.gmail.com> <firstname.lastname@example.org> <20110911220103.GA9005@percival.namespace.at>
Christian Hofstaedtler wrote (11 Sep 2011 22:01:03 GMT) :
> This patch is required to support standard ip= style IP configuration,
> as supported by the kernel and klibc. Unfortunately the code in
> initramfs-tools isn't flexible enough so we couldn't reuse it.
> Also the patch simplifies the code quite a bit.
Thanks for the explanation. Christian and other grml folks, there are
a few things that need to be improved before I'm happy to merge these
two patches in:
1. The rationale for get_ipconfig_para, and the way this function
works, should be minimally documented. Two lines of inline
comments should be enough.
2. The fact standard ip= parameters can now be used must be
documented in the manpage.
3. Your patch seems to remove support for ip=[frommedia]. If this is
intended, please explain why, and update the manpage accordingly.
If this is not intended, how about getting the deleted code back?
Other than that, I've reviewed these patches quite carefully and they
seem right to me. Not only do they add support for standard ip=
arguments (and allow using it for multiple devices, btw), but they
generally improve the robustness and maintainability of the
do_netsetup code. However, I'm far from having a shard global view of
the live-boot networking -related code, so I'd welcome other reviews
before we merge these patches.
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
| Did you exchange a walk on part in the war
| for a lead role in the cage?