Re: TLS handshake failure during pkg_add

2024-06-19 Thread Mizsei Zoltán
Hi and thanks for your reply. Some extra information: - If i try pkg_add many times, it will eventually do its job without any error. But it needs many tries. Also switching to other mirror using the /etc/installurl helps *sometimes*... I don't have any issue with other networking programs.

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Collin Funk
Mark Kettenis wrote: >> +#ifndef _MODE_T_DEFINED_ >> +#define _MODE_T_DEFINED_ >> +typedef __mode_tmode_t; >> +#endif > > It may be safer to drop this bit... > >> +void strmode(mode_t, char *); > ...and use __mode_t in the prototype and implementation. Someone including might expect

Re: TLS handshake failure during pkg_add

2024-06-19 Thread Stuart Henderson
On 2024/06/19 23:36, Mizsei Zoltán wrote: > Hi, > > I am facing this issue on my VPS. All other machines are unaffected. All of > them are in the same TZ. > > vps# pkg-add -u > /bin/ksh: pkg-add: not found > vps# > vps# pkg_add -u > quirks-7.14 signed on 2024-06-15T18:27:56Z >

TLS handshake failure during pkg_add

2024-06-19 Thread Mizsei Zoltán
Hi, I am facing this issue on my VPS. All other machines are unaffected. All of them are in the same TZ. vps# pkg-add -u /bin/ksh: pkg-add: not found vps# vps# pkg_add -u quirks-7.14 signed on 2024-06-15T18:27:56Z

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Theo Buehler
These are the ports using strmode. archivers/libarchive archivers/libtar editors/emacs games/gemrb math/octave misc/findutils net/lftp security/ssh-ldap-helper shells/ksh93 sysutils/bfs sysutils/colorls sysutils/coreutils sysutils/lnav sysutils/tarsnap Given the short list and the nature of the

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Theo de Raadt
Todd C. Miller wrote: > On Wed, 19 Jun 2024 15:17:05 +0200, Otto Moerbeek wrote: > > > Additionally, the implementation in src/libn/libc/string/strmode.c > > needs to start using mode_t. > > > > Building base now with the diff below. So far so good. > > > > But this is more tricky you would

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Todd C . Miller
On Wed, 19 Jun 2024 15:17:05 +0200, Otto Moerbeek wrote: > Additionally, the implementation in src/libn/libc/string/strmode.c > needs to start using mode_t. > > Building base now with the diff below. So far so good. > > But this is more tricky you would think. Modifying string.h to include > more

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Mark Kettenis
> Date: Wed, 19 Jun 2024 15:17:05 +0200 > From: Otto Moerbeek > > On Tue, Jun 18, 2024 at 10:00:20PM -0700, Collin Funk wrote: > > > Hi, > > > > I noticed that strmode(3) says that the first argument should be > > mode_t. OpenBSD declares it with int which is not compatible since > > mode_t

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Dana Koch
On Wed, Jun 19, 2024 at 6:58 AM Martin Pieuchot wrote: > This is a lock order reversal reported by WITNESS. Thankfully claudio@ > already committed a fix for this on the 16th. So please, try with > up-to-date sources Just to be paranoid, I built a kernel with recent sources and MP_LOCKDEBUG

Re: strmode should take a mode_t instead of int.

2024-06-19 Thread Otto Moerbeek
On Tue, Jun 18, 2024 at 10:00:20PM -0700, Collin Funk wrote: > Hi, > > I noticed that strmode(3) says that the first argument should be > mode_t. OpenBSD declares it with int which is not compatible since > mode_t appears to be unsigned, from what I can tell. > > NetBSD fixed this a long time

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Martin Pieuchot
On 18/06/24(Tue) 23:34, Dana Koch wrote: > >Synopsis: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels > >Category: kernel > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5-current (GENERIC.MP) #69: Wed Jun 12 04:43:28 MDT > 2024 >

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Claudio Jeker
On Wed, Jun 19, 2024 at 12:08:19PM +0200, Mark Kettenis wrote: > > From: Dana Koch > > Date: Tue, 18 Jun 2024 23:34:07 -0400 > > Hi Dana, > > Thanks for the report. I have an M2 Pro Mac Mini that is very > reliable. And I believe there are folks using machines with M2 Max > without issues as

Re: Mac Studio hangs; locking problems on WITNESS/MP_LOCKDEBUG kernels

2024-06-19 Thread Mark Kettenis
> From: Dana Koch > Date: Tue, 18 Jun 2024 23:34:07 -0400 Hi Dana, Thanks for the report. I have an M2 Pro Mac Mini that is very reliable. And I believe there are folks using machines with M2 Max without issues as well. So these issues are likely specific to the M2 Ultra SoC. The fact that

Re: dhcp6leased problem on pppoe0 timeout

2024-06-19 Thread Sebastien Marie
Florian Obser writes: > On 2024-06-17 15:02 +02, Sebastien Marie wrote: >> Hi, >> >> I am using dhcp6leased on my gateway to get ipv6-pd over pppoe from my >> ISP. >> >> The problem is when the pppoe0 disconnect/reconnect due to LCP keepalive >> timeout, my ISP consider the dhcp leased as not