Help for another wiped out disklabel

2023-04-12 Thread Greg Thomas
I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and I have no idea what happened to the disklabel on sd1 (during the install I only did an automatic disklabel on sd0). This is just a backup of my current laptop so not the end of the world (unless my current laptop dies before

coverity running on OpenBSD to scan a port

2023-04-12 Thread Tom Smyth
Folks, does anyone have experience on running coverity on OpenBSD ... Im trying to scan a port im maintaining at the minute... there does not seem to be binaries for coverity for OpenBSD Tjanks -- Kindest regards, Tom Smyth.

Re: IPv4 to IPv6 mapping

2023-04-12 Thread Nicolas Goy
On Wed, 2023-04-12 at 21:42 +, Stuart Henderson wrote: > On 2023-04-12, Gabor LENCSE wrote: > > > > That's for the opposite translation (v6 connection to "fake" > addresses > mapped to v4). > > Nicolas wants the other direction. af-to can do that as well, to a > fixed > address, but

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Daniele Bonini
Stuart Henderson wrote: > > how does ldconfig -r look? > > > > /var/run/ld.so.hints: > > search directories: /usr/lib:/usr/local/lib > > That should have /usr/X11R6/lib as well. confirming.. mine (8.0.29)$ ldconfig -r /var/run/ld.so.hints: search directories:

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Kent Watsen
> That should have /usr/X11R6/lib as well. This makes me want to mention that I installed xshare73 and xbase73 after the installer completed, using these commands: ``` (curl -s -O https://cdn.openbsd.org/pub/OpenBSD/7.3/amd64/xshare73.tgz && cd / && tar xzvphf /root/xshare73.tgz) (curl

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Daniele Bonini
Kent Watsen wrote: > I'm confused. PHP is looking for > `/usr/local/lib/php-8.1/modules/gd.so`, is > `/usr/local/lib/libgd.so.23.0` related? mine (PHP 8.0.29)$ ldd /usr/local/lib/php-8.0/modules/gd.so /usr/local/lib/php-8.0/modules/gd.so: StartEnd Type Open

Re: IPv4 to IPv6 mapping

2023-04-12 Thread Stuart Henderson
On 2023-04-12, Gabor LENCSE wrote: > Hi, > > On 4/12/2023 12:09 AM, Nicolas Goy wrote: >> On Fri, 2023-04-07 at 10:30 +, Stuart Henderson wrote: >>> On 2023-04-04, Nicolas Goy wrote: >>> >>> >>> Looking at pf.conf(5) for syntax I just tried something fairly >>> obvious: >>> >>> pass in quick

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Stuart Henderson
On 2023/04/12 21:00, Kent Watsen wrote: > > is /usr/X11R6/lib a real directory or have you moved it elsewhere > and replaced with a symlink? > > > No symlink. No mount either. > > > > did you get any errors after "creating runtime link editor directory > cache" at boot?

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Daniele B.
> >> Checking for link dependencies (huh?!) Here 7.2 with php 8.0.29 like a charm. And just in case it is necessary to mention it.. we are talking about gd, one of the main libraries of PHP difficult to endorse the suppository of a such a broken base. I hope you can investigate further.

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Kent Watsen
> is /usr/X11R6/lib a real directory or have you moved it elsewhere > and replaced with a symlink? No symlink. No mount either. > did you get any errors after "creating runtime link editor directory > cache" at boot? (check with dmesg -s) None. Here are the last 5 lines of `dmesg -s`: ```

Re: 7.3 php gd.so cannot load

2023-04-12 Thread Stuart Henderson
is /usr/X11R6/lib a real directory or have you moved it elsewhere and replaced with a symlink? did you get any errors after "creating runtime link editor directory cache" at boot? (check with dmesg -s) how does ldconfig -r look? On 2023/04/12 20:20, Kent Watsen wrote: > [I'm new to PHP, but I

7.3 php gd.so cannot load

2023-04-12 Thread Kent Watsen
[I'm new to PHP, but I believe that this was an issue in 7.2 as well] Both 'xbase' and 'xshare' are installed. What got me started was trying to run a DokuWiki CLI command ``` # ./bin/plugin.php usermanager list PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried:

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Theo de Raadt
Stuart Henderson wrote: > There is a complication in Kaya's case because if my handle on the > config is correct, there are likely to be nameservers learned from > both DHCP (in one rdomain) and PPPOE (in another), but they won't > work on the opposite connection. > > In this situation I would

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Theo de Raadt
Kaya Saman wrote: > Like I mentioned previously, it may have had something to do with me > running: sh /etc/netstart pppoe0 a few times after the system had been > booted. I was at the time trying to make use of 2 isp's and route > accordingly per subnet or even ip address. It might have even

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Stuart Henderson
On 2023/04/12 13:20, Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2023-04-11, Theo de Raadt wrote: > > > Kaya Saman wrote: > > > > > >> This somehow is overriding my resolv.conf file; another words the > > >> information is *not* being used from resolv.conf and is instead being > >

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Kaya Saman
On 4/12/23 20:20, Theo de Raadt wrote: Stuart Henderson wrote: On 2023-04-11, Theo de Raadt wrote: Kaya Saman wrote: This somehow is overriding my resolv.conf file; another words the information is *not* being used from resolv.conf and is instead being used from the ipcp negotiation as

After sysupgrade, computer hangs after efi0

2023-04-12 Thread Jeff Ross
Hi all, I did a sysupgrade from 7.2 to 7.3 on an HP EliteDesk (amd64). The upgrade went great but now the computer will not boot. Here's what I get at boot: (typed from photo--disregard any typos) [ using 3644008 bytes of bsf ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993    

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Theo de Raadt
Stuart Henderson wrote: > On 2023-04-11, Theo de Raadt wrote: > > Kaya Saman wrote: > > > >> This somehow is overriding my resolv.conf file; another words the > >> information is *not* being used from resolv.conf and is instead being > >> used from the ipcp negotiation as part of the pppoe

Re: dns priority from different network connections - or disabling?

2023-04-12 Thread Stuart Henderson
On 2023-04-11, Theo de Raadt wrote: > Kaya Saman wrote: > >> This somehow is overriding my resolv.conf file; another words the >> information is *not* being used from resolv.conf and is instead being >> used from the ipcp negotiation as part of the pppoe kernel module. > > then the pppoe code

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Laura Smith
--- Original Message --- On Wednesday, April 12th, 2023 at 16:57, Denis Fondras wrote: > I started to write something that looks like a driver but haven't gone far > yet. > There is no freely available doc about this chipset. The only source is the > FreeBSD driver and it is

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Laura Smith
Sent with Proton Mail secure email. --- Original Message --- On Wednesday, April 12th, 2023 at 16:13, Claudio Jeker wrote: > These integrated network ports are often disabled. I have not found a > reasonably priced system that has them exposed. This is an important reason > why

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Denis Fondras
Le Wed, Apr 12, 2023 at 10:01:01AM +, Laura Smith a écrit : > Has anyone had the opportunity to experiment using OpenBSD in conjunction > with AMD EPYC/RYZEN native 10gb ports ? > > As far as I can see there are no drivers for it in stable ? But maybe > someone's been playing with it on

Firefox is too slow loading pages

2023-04-12 Thread Ivan Kovmir
* Firefox takes 3-10 minutes to load *any* web page. * No internet connectivity problems outside Firefox. - `dig ` shows about 1ms delay as I have a DNS cacher in my LAN. - `ping ` resolves quickly as it should. - `pkg_add ` is quick. - My download speed is about 600 Mbit/sec, tested with

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Claudio Jeker
On Wed, Apr 12, 2023 at 02:05:02PM +, Laura Smith wrote: > No worries. > > (And for anyone following on-list, I think FreeBSD might have > subsequently renamed axgbe to something else beginning on ax, I think > maybe "axa" as per the "history" note on the bottom of this page >

Re: acme-client fails to renew certificate

2023-04-12 Thread readme
On Wed, Apr 12, 2023 at 04:04:54PM +0200, Mike Fischer wrote: [..] >Did you actually test the challenge? >Place a small text file into the challenge dir: ># echo 'Test' > /var/www/acme/test > >The use something like curl to see what happens when you try to access this >file: >curl --head --url

Re: acme-client fails to renew certificate

2023-04-12 Thread Sven F.
acme-client: /var/www/acme/2b9DyMVkYZGU3RNgxaywEc0uHLFp2E8RtOrQotGXugk: created probably some typo in your conf file On Wed, Apr 12, 2023 at 9:38 AM wrote: > > I started having some problems with cert renewal using acme-client after > upgrading to 7.3 (not really sure 7.3 has anything to do

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Laura Smith
No worries. (And for anyone following on-list, I think FreeBSD might have subsequently renamed axgbe to something else beginning on ax, I think maybe "axa" as per the "history" note on the bottom of this page https://www.gsp.com/cgi-bin/man.cgi?section=4=AXP) Sent with Proton Mail secure

Re: acme-client fails to renew certificate

2023-04-12 Thread Mike Fischer
Well as long as you always use the sane challenge directory /var/www/acme/ then I would first simplify this by only defining one server block for all port 80 access: server "www.example.com“ { listen on $www_v4 port 80 listen on $www_v6_a port 80 alias "example.com" block return

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Mischa
Hi Laura, Gotcha... I don't have those laying around. :) Mischa On 2023-04-12 15:54, Laura Smith wrote: Hi Mischa Thank you for that. However I think perhaps I was a little unclear in my original post, and for that I apologise. To be (more) clear, I was not talking about "network cards

Re: acme-client fails to renew certificate

2023-04-12 Thread misc
I do not know about acme-client, but certbot works pretty well: mwavetorture# rcctl stop httpd ; certbot certonly --agree-tos --standalone -d web.XXX.com.br On 2023-04-12 10:36, rea...@catastrophe.net wrote: I started having some problems with cert renewal using acme-client after

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Laura Smith
Hi Mischa Thank you for that. However I think perhaps I was a little unclear in my original post, and for that I apologise. To be (more) clear, I was not talking about "network cards in AMD computers", I was talking about AMD SoC network ports. e.g. in FreeBSD land, these are known as

acme-client fails to renew certificate

2023-04-12 Thread readme
I started having some problems with cert renewal using acme-client after upgrading to 7.3 (not really sure 7.3 has anything to do with the following, however). I've verified that nothing has changed and that httpd is listening correctly, etc. When I run acme-client and watch for any changes to

Re: OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Mischa
Hi Laura, Just received my replacement card (10G RJ45, in stead of SFP+) for the R6415 EPYC machine. It works without any problems in 7.3. bnxt0: flags=808843 mtu 1500 lladdr 2c:ea:7f:ad:ff:3e index 3 priority 0 llprio 3 groups: egress media: Ethernet

OpenBSD and AMD EPYC/RYZEN 10gb

2023-04-12 Thread Laura Smith
Has anyone had the opportunity to experiment using OpenBSD in conjunction with AMD EPYC/RYZEN native 10gb ports ? As far as I can see there are no drivers for it in stable ? But maybe someone's been playing with it on the bleeding-edge ? Thanks ! Laura

Re: IPv4 to IPv6 mapping

2023-04-12 Thread Gabor LENCSE
Hi, On 4/12/2023 12:09 AM, Nicolas Goy wrote: On Fri, 2023-04-07 at 10:30 +, Stuart Henderson wrote: On 2023-04-04, Nicolas Goy wrote: Looking at pf.conf(5) for syntax I just tried something fairly obvious: pass in quick log proto tcp from any to $v4_address port 8383 af-to inet6 from

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-12 Thread Stuart Henderson
On 2023-04-12, rsyk...@disroot.org wrote: > (caused by its security features). After the upgrade to 7.3 I saw > similar segfaults as here reported, which made me to > rebuild my program (I use pizauth to cope with the authentication of > mbsync with office365), but that was not sufficient.

Re: Can't login after upgrading to 7.3

2023-04-12 Thread Stuart Henderson
On 2023-04-11, Nathan Gilbert wrote: > I seem to stuck in a double bind, my wm needs to be recompiled, but also my > shell (fish) is not in /etc/shells now and I can’t log in on the text console > either (I changed my root users shell to fish too.) Sounds like you have a self-built fish too

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-12 Thread rsykora
On 2023-04-11 10:17, Laurence Tratt wrote: In case it's useful to anyone else, one can set this globally in ~/.cargo/config.toml (and avoid tweaking multiple Cargo.toml's, which can be a pain with dependencies) with: [patch.crates-io] ring = { path = "/usr/local/share/ring-0.16.20" }