Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Klemens Nanni
On Sun, Jul 03, 2022 at 01:55:44PM +0200, Alexander Hall wrote: > On Sun, Jul 03, 2022 at 09:59:21AM +, Klemens Nanni wrote: > > ... > > _ifs seems like idiomatic way in our shell code, i.e. assign function > > arguments to local variables, but $@ is a bit special. > > > > In fact, "$@" is `se

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Alexander Hall
On Sun, Jul 03, 2022 at 09:59:21AM +, Klemens Nanni wrote: > ... > _ifs seems like idiomatic way in our shell code, i.e. assign function > arguments to local variables, but $@ is a bit special. > > In fact, "$@" is `set -u' clean whereas "${_ifs[@]}" is not. > netstart does not use `set -u', b

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Klemens Nanni
On Sun, Jul 03, 2022 at 09:05:28AM +0200, Alexander Hall wrote: > On Sat, Jul 02, 2022 at 08:12:29PM +, Klemens Nanni wrote: > > On Sat, Jul 02, 2022 at 03:00:00PM +0200, Alexander Hall wrote: > > > On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > > > > On Tue, Dec 07, 2021 at 0

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Alexander Hall
On Sat, Jul 02, 2022 at 08:12:29PM +, Klemens Nanni wrote: > On Sat, Jul 02, 2022 at 03:00:00PM +0200, Alexander Hall wrote: > > On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > > > On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > > > > On Tue, Nov 23, 2021 at 01

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-02 Thread Klemens Nanni
On Sat, Jul 02, 2022 at 03:00:00PM +0200, Alexander Hall wrote: > On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > > On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > > > On Tue, Nov 23, 2021 at 01:17:14AM +, Klemens Nanni wrote: > > > > On Tue, Nov 16, 2021 at 11

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-02 Thread Alexander Hall
On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > > On Tue, Nov 23, 2021 at 01:17:14AM +, Klemens Nanni wrote: > > > On Tue, Nov 16, 2021 at 11:09:40PM +, Klemens Nanni wrote: > > > > Run on boot without argumen

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-06-30 Thread Klemens Nanni
On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > On Tue, Nov 23, 2021 at 01:17:14AM +, Klemens Nanni wrote: > > On Tue, Nov 16, 2021 at 11:09:40PM +, Klemens Nanni wrote: > > > Run on boot without arguments, netstart(8) creates all virtual > > > interfaces *for which hostnam

Re: netstart: create virtual interfaces upfront when passing specific ones

2021-12-07 Thread Klemens Nanni
On Tue, Nov 23, 2021 at 01:17:14AM +, Klemens Nanni wrote: > On Tue, Nov 16, 2021 at 11:09:40PM +, Klemens Nanni wrote: > > Run on boot without arguments, netstart(8) creates all virtual > > interfaces *for which hostname.if files exist* before configuring them. > > > > This prevents order

Re: netstart: create virtual interfaces upfront when passing specific ones

2021-11-22 Thread Klemens Nanni
On Tue, Nov 16, 2021 at 11:09:40PM +, Klemens Nanni wrote: > Run on boot without arguments, netstart(8) creates all virtual > interfaces *for which hostname.if files exist* before configuring them. > > This prevents ordering problems with bridges and its members, as dlg's > commit message from

netstart: create virtual interfaces upfront when passing specific ones

2021-11-16 Thread Klemens Nanni
Run on boot without arguments, netstart(8) creates all virtual interfaces *for which hostname.if files exist* before configuring them. This prevents ordering problems with bridges and its members, as dlg's commit message from 2018 reminds us. But it also helps interface types like pair(4) which p