Re: ypldap: reduce imsg traffic

2023-03-29 Thread A Tammy
On 3/27/23 01:45, Jonathan Matthew wrote: > On systems where we pull in around 100k users from ldap, ypldap uses a > fair bit of memory (over 300MB peak) moving data from the ldapclient process > to the main process. > > The ldapclient process sends each user and group record to the parent proces

OpenBSD Errata: March 29, 2023 (xserver)

2023-03-29 Thread Alexander Bluhm
Errata patches for X11 server have been released for OpenBSD 7.1 and 7.2. Binary updates for the amd64, i386 and arm64 platform are available via the syspatch utility. Source code patches can be found on the respective errata page: https://www.openbsd.org/errata71.html https://www.openbsd.or

Re: rpki-client change metrics carepo uri for TA

2023-03-29 Thread Theo Buehler
On Wed, Mar 29, 2023 at 06:09:04PM +0200, Claudio Jeker wrote: > On Wed, Mar 29, 2023 at 10:13:22AM +0200, Theo Buehler wrote: > > On Wed, Mar 29, 2023 at 09:51:56AM +0200, Claudio Jeker wrote: > > > In the metrics file the TA is currently reported as: > > > rpki_client_repository_objects{type="cer

Re: rpki-client change metrics carepo uri for TA

2023-03-29 Thread Claudio Jeker
On Wed, Mar 29, 2023 at 10:13:22AM +0200, Theo Buehler wrote: > On Wed, Mar 29, 2023 at 09:51:56AM +0200, Claudio Jeker wrote: > > In the metrics file the TA is currently reported as: > > rpki_client_repository_objects{type="cert",state="valid",name="ripe",carepo="ripe"} > > 1 > > > > The carepo

[patch] /usr.bin/script: Fix process name hardcode for shell subprocesses

2023-03-29 Thread lux
Hi, the name of the shell subprocess is hardcoded in the `script' command. The test is as follows: $ echo $SHELL /bin/ksh $ script -c 'echo $0' Script started, output file is typescript sh < The correct one should

Re: mg: drop needless global tagsfn path

2023-03-29 Thread Theo Buehler
On Wed, Mar 29, 2023 at 10:22:09AM +0200, Omar Polo wrote: > mg keeps the path to the last loaded tag file in tagsfn which was used > both for the lazily loading (now removed) and as a flag to know if any > tags are currently loaded. It's redundant, we can just check if the > rb tree is empty inst

Re: bgpd switch adjout lookup funtions to use pt_entry

2023-03-29 Thread Theo Buehler
On Wed, Mar 29, 2023 at 10:39:29AM +0200, Claudio Jeker wrote: > The lookup functions for the Adj-RIB-Out trees (prefix_adjout_{get,lookup}) > work mainly with a pt_entry so lets change them. > Now prefix_adjout_lookup() which returns the first path (in case of > add-path) is also used by bgpctl co

bgpd switch adjout lookup funtions to use pt_entry

2023-03-29 Thread Claudio Jeker
The lookup functions for the Adj-RIB-Out trees (prefix_adjout_{get,lookup}) work mainly with a pt_entry so lets change them. Now prefix_adjout_lookup() which returns the first path (in case of add-path) is also used by bgpctl code-paths and there we want to keep using bgpd_addr. This diff changes

mg: drop needless global tagsfn path

2023-03-29 Thread Omar Polo
mg keeps the path to the last loaded tag file in tagsfn which was used both for the lazily loading (now removed) and as a flag to know if any tags are currently loaded. It's redundant, we can just check if the rb tree is empty instead. The only difference I can think of is with the corner cases o

Re: rpki-client change metrics carepo uri for TA

2023-03-29 Thread Theo Buehler
On Wed, Mar 29, 2023 at 09:51:56AM +0200, Claudio Jeker wrote: > In the metrics file the TA is currently reported as: > rpki_client_repository_objects{type="cert",state="valid",name="ripe",carepo="ripe"} > 1 > > The carepo which is a rsync URI for other repositories is just the TAL > name. Instea

txphy: update comment: RTL8139 -> TNETE2101

2023-03-29 Thread Kevin Lo
ok? Index: sys/dev/mii/txphy.c === RCS file: /cvs/src/sys/dev/mii/txphy.c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 txphy.c --- sys/dev/mii/txphy.c 6 Apr 2022 18:59:29 - 1.12 +++ sys/dev/mii/txphy.c 29 Mar 2023 08:0

rpki-client change metrics carepo uri for TA

2023-03-29 Thread Claudio Jeker
In the metrics file the TA is currently reported as: rpki_client_repository_objects{type="cert",state="valid",name="ripe",carepo="ripe"} 1 The carepo which is a rsync URI for other repositories is just the TAL name. Instead it may be better to display the first URI from the TAL, like: rpki_clien