Re: ospfd: allow specifying area by number as well as id

2019-04-28 Thread Remi Locherer
Hi David On Mon, Apr 29, 2019 at 11:53:27AM +1000, David Gwynne wrote: > it's always bothered me that i config areas on a crisco using a number, > but then have to think hard to convert that number to an address for use > in openbsd. eg, i was given area 700 in one place, which is 0.0.2.188 > as a

ospfd: allow specifying area by number as well as id

2019-04-28 Thread David Gwynne
it's always bothered me that i config areas on a crisco using a number, but then have to think hard to convert that number to an address for use in openbsd. eg, i was given area 700 in one place, which is 0.0.2.188 as an address. super annoying. so this changes the ospfd parser so it accepts both

Re: Conditional sysupgrade

2019-04-28 Thread Marco Bonetti
On 04/27, Christian Weisgerber wrote: > On 2019-04-27, Marco Bonetti wrote: > > > +unpriv -f SHA256.sig.tmp ftp -Vmo SHA256.sig.tmp ${URL}SHA256.sig > > +TMP_SHA=$(sha256 -q SHA256.sig.tmp) > > + > > +unpriv touch SHA256.sig > > This fails if SHA256.sig doesn't exist yet. The unprivileged user

Re: Conditional sysupgrade

2019-04-28 Thread Marco Bonetti
On 04/27, Andreas Kusalananda K?h?ri wrote: > On Sat, Apr 27, 2019 at 01:23:20PM +0100, Marco Bonetti wrote: > > Hello folks, > > > > First of all congratulations on a new OpenBSD release and thanks for > > introducing sysupgrade in -current. > > > > Before sysupgrade, I was using a custom script

Re: Conditional sysupgrade

2019-04-28 Thread Marco Bonetti
On 04/27, Florian Obser wrote: > On Sat, Apr 27, 2019 at 01:23:20PM +0100, Marco Bonetti wrote: > > Hello folks, > > > > First of all congratulations on a new OpenBSD release and thanks for > > introducing sysupgrade in -current. > > > > Before sysupgrade, I was using a custom script for achievin

Re: ospf(6)d: check rdomain for depend on interfaces

2019-04-28 Thread Sebastian Benoit
Remi Locherer(remi.loche...@relo.ch) on 2019.04.28 11:43:41 +0200: > Hi, > > the parser in ospf(6)d accepts depend on interfaces that are in a > different rdomain. This works on startup of the daemon. But since it > filters route messages based on it's rdomain it will not get notified > if the dep

Re: ld.so speedup (part 2)

2019-04-28 Thread Brian Callahan
On 4/28/19 6:01 AM, Matthieu Herrb wrote: On Sun, Apr 28, 2019 at 08:55:16AM +0100, Stuart Henderson wrote: On Sat, Apr 27, 2019 at 09:55:33PM +0800, Nathanael Rensen wrote: The diff below speeds up ld.so library intialisation where the dependency tree is broad and deep, such as samba's sm

Re: ld.so speedup (part 2)

2019-04-28 Thread Charlene Wendling
On Sun, 28 Apr 2019 13:04:22 +0200 Robert Nagy wrote: > On 28/04/19 12:01 +0200, Matthieu Herrb wrote: > > On Sun, Apr 28, 2019 at 08:55:16AM +0100, Stuart Henderson wrote: > > > > >> > On Sat, Apr 27, 2019 at 09:55:33PM +0800, Nathanael Rensen > > > > >> > wrote: > > > > >> > > The diff below sp

Re: ld.so speedup (part 2)

2019-04-28 Thread Robert Nagy
On 28/04/19 12:01 +0200, Matthieu Herrb wrote: > On Sun, Apr 28, 2019 at 08:55:16AM +0100, Stuart Henderson wrote: > > > >> > On Sat, Apr 27, 2019 at 09:55:33PM +0800, Nathanael Rensen wrote: > > > >> > > The diff below speeds up ld.so library intialisation where the > > > >>dependency > > > >> > >

Re: ld.so speedup (part 2)

2019-04-28 Thread Matthieu Herrb
On Sun, Apr 28, 2019 at 08:55:16AM +0100, Stuart Henderson wrote: > > >> > On Sat, Apr 27, 2019 at 09:55:33PM +0800, Nathanael Rensen wrote: > > >> > > The diff below speeds up ld.so library intialisation where the > > >>dependency > > >> > > tree is broad and deep, such as samba's smbd which links

ospf(6)d: check rdomain for depend on interfaces

2019-04-28 Thread Remi Locherer
Hi, the parser in ospf(6)d accepts depend on interfaces that are in a different rdomain. This works on startup of the daemon. But since it filters route messages based on it's rdomain it will not get notified if the depend on interface changes link state. Below diff extends the existing conf_chec

Re: ld.so speedup (part 2)

2019-04-28 Thread Stuart Henderson
> >> > On Sat, Apr 27, 2019 at 09:55:33PM +0800, Nathanael Rensen wrote: > >> > > The diff below speeds up ld.so library intialisation where the > >>dependency > >> > > tree is broad and deep, such as samba's smbd which links over 100 > >>libraries. Past experience with ld.so changes suggests it w

Re: Conditional sysupgrade

2019-04-28 Thread Mischa
On 27 Apr at 22:57, Florian Obser wrote: > On Sat, Apr 27, 2019 at 09:53:08PM +0200, Mischa Peters wrote: > > Let me know if this needs more work. Love the idea of sysupgrade! > > Please shelf this for now, there is a lot of churn going on in the > tool in private and we are moving very fast. >