Re: 7.5 install crashes on "entry point at 0x1001000" HP Elitebook 840 G10

2024-05-24 Thread Comète
Thanks Sven, I can't install OpenBDS because I get the error when trying to boot the install image. Comete 24 mai 2024 07:48 "Sven Wolf" a écrit: > Hi, > > I had a silimar issue on a Lenovo V130. > For this machine I needed to remove the amdgpu driver in the kernel. > > See also: >

custom syspatch

2024-05-24 Thread Kapetanakis Giannis
Suppose I want to add a custom patch to a release system (backport patch from current and compile on release), but keep the system able to load more official syspatches: is it enough to put the relevant new object file (say pf.o) in /usr/share/relink/kernel/GENERIC.MP/ and just do

Re: 7.5 install crashes on "entry point at 0x1001000" HP Elitebook 840 G10

2024-05-23 Thread Sven Wolf
Hi, I had a silimar issue on a Lenovo V130. For this machine I needed to remove the amdgpu driver in the kernel. See also: https://marc.info/?l=openbsd-misc=160232897421774=2 https://marc.info/?l=openbsd-tech=160383074317608=2 Do you get the error "entry point at 0x1001000" also with the

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread James Cook
You are probably haunted by a bad issue with DMA memory and running out of it. Your top is missing -SH since then you would probably see the pagedameon go bananas. The problem is you have not enough memory below 4G but the pagedaemon is not able to properly free memory there since it has no

7.5 install crashes on "entry point at 0x1001000" HP Elitebook 840 G10

2024-05-23 Thread Comète
Hello, I tried to install OpenBSD 7.5 on a new HP Elitebook 840 G10 (UEFI capable only) without success. It is stuck at boot on "entry point at 0x1001000". Even retried after a BIOS upgrade but no luck either. I tried with a snapshot install too with the same result. I post here what lspci

Re: Q: Problems forwarding traffic using pf ...

2024-05-23 Thread Zé Loff
On Thu, May 23, 2024 at 08:24:03PM +0300, Kapetanakis Giannis wrote: > On 23/05/2024 20:18, Peter N. M. Hansteen wrote: > > On Thu, May 23, 2024 at 11:14:20AM +0200, Why 42? The lists account. wrote: > > > I need to quickly create a solution for forwarding multicast traffic > > > between two

Re: Q: Problems forwarding traffic using pf ...

2024-05-23 Thread Kapetanakis Giannis
On 23/05/2024 20:18, Peter N. M. Hansteen wrote: On Thu, May 23, 2024 at 11:14:20AM +0200, Why 42? The lists account. wrote: I need to quickly create a solution for forwarding multicast traffic between two systems, so I though perhaps I could use pf to do just that by writing some rules along

Re: Q: Problems forwarding traffic using pf ...

2024-05-23 Thread Peter N. M. Hansteen
On Thu, May 23, 2024 at 11:14:20AM +0200, Why 42? The lists account. wrote: > I need to quickly create a solution for forwarding multicast traffic > between two systems, so I though perhaps I could use pf to do just that > by writing some rules along the lines of: > > 1. pass in on iface A

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Claudio Jeker
On Thu, May 23, 2024 at 03:37:24PM +, James Cook wrote: > On Thu, May 23, 2024 at 08:00:37AM GMT, Nick Holland wrote: > > On 5/23/24 03:18, Stuart Henderson wrote: > > > On 2024-05-22, James Cook wrote: > > > > One of my OpenBSD boxes sometimes gets in a weird locked-up or > > > >

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread James Cook
On Thu, May 23, 2024 at 08:00:37AM GMT, Nick Holland wrote: On 5/23/24 03:18, Stuart Henderson wrote: On 2024-05-22, James Cook wrote: One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens.

Re: How to assign apps to cwm groups?

2024-05-23 Thread Sadeep Madurange
On 2024-05-23 22:07:27, Sadeep Madurange wrote: > I'm trying to assign xterm to group 1 and firefox to group 2. Then, > I'd like to only see a specific group at any given time. > > After logging in, I start xterm. Then I start firefox. Problem is > firefox opens right on top of my terminal. I

How to assign apps to cwm groups?

2024-05-23 Thread Sadeep Madurange
Hello, I'm trying to assign xterm to group 1 and firefox to group 2. Then, I'd like to only see a specific group at any given time. After logging in, I start xterm. Then I start firefox. Problem is firefox opens right on top of my terminal. I expected it to open in group 2 such that either it's

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-23 Thread Stuart Henderson
On 2024/05/23 12:12, Ali Farzanrad wrote: > Hi Stuart, > > Stuart Henderson wrote: > > On 2024-05-23, Ali Farzanrad wrote: > > > Hi misc@, > > > > > > My Minisforum UM790 keeps reboot every 5-10 minutes, without any Kernel > > > Panic or visible message how may I debug it? > > > I'm using

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-23 Thread Ali Farzanrad
Hi Stuart, Stuart Henderson wrote: > On 2024-05-23, Ali Farzanrad wrote: > > Hi misc@, > > > > My Minisforum UM790 keeps reboot every 5-10 minutes, without any Kernel > > Panic or visible message how may I debug it? > > I'm using latest OpenBSD snapshot with this amd64/BUILDINFO: > > Build

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Nick Holland
On 5/23/24 03:18, Stuart Henderson wrote: On 2024-05-22, James Cook wrote: One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens. ... I would also expect the cache number to be much higher.

Re: how to fsck automatically at boot

2024-05-23 Thread Nick Holland
On 5/22/24 08:08, Kirill A. Korinsky wrote: On Wed, 22 May 2024 12:53:11 +0100, Nick Holland wrote: For reasons of multi-hour fsck's on a few systems, I'm looking at remounting the problem file systems as "rw" when writing is actually needed and "ro" after the writing is complete (IN THIS

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-23 Thread Stuart Henderson
On 2024-05-23, Ali Farzanrad wrote: > Hi misc@, > > My Minisforum UM790 keeps reboot every 5-10 minutes, without any Kernel > Panic or visible message how may I debug it? > I'm using latest OpenBSD snapshot with this amd64/BUILDINFO: > Build date: 1716424636 - Thu May 23 00:37:16 UTC 2024 Not a

Sudden reboot every 5-10 minutes on latest snapshot

2024-05-23 Thread Ali Farzanrad
Hi misc@, My Minisforum UM790 keeps reboot every 5-10 minutes, without any Kernel Panic or visible message how may I debug it? I'm using latest OpenBSD snapshot with this amd64/BUILDINFO: Build date: 1716424636 - Thu May 23 00:37:16 UTC 2024 # (dmesg; sysctl hw.sensors) OpenBSD 7.5-current

Q: Problems forwarding traffic using pf ...

2024-05-23 Thread Why 42? The lists account.
Hi All, I need to quickly create a solution for forwarding multicast traffic between two systems, so I though perhaps I could use pf to do just that by writing some rules along the lines of: 1. pass in on iface A proto UDP ... tag mcast 2. pass out on iface B tagged mcast And

Re: wifi

2024-05-23 Thread Mizsei Zoltán
>From a quick glance it is a bog-standard m.2 / NGFF card, so it should be >fairly trivial to replace the card with a supported one, see the removal >steps at 01:30 : https://www.youtube.com/watch?app=desktop=dqJ9LjY0Jco Stuart Henderson írta 2024. máj.. 23, Cs-n 09:23 órakor: > On

Re: wifi

2024-05-23 Thread Stuart Henderson
On 2024-05-23, Gustavo Rios wrote: > --1fa3f9061917b744 > Content-Type: text/plain; charset="UTF-8" > > Hi folks! > > I would like to setup my openbsd wifi but up to now, no success. > Here is my lspci output. May some one help me ? > > Thanks a lot. > > 02:00.0 Network controller:

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Stuart Henderson
On 2024-05-22, James Cook wrote: > One of my OpenBSD boxes sometimes gets in a weird locked-up or > almost-locked-up state. I'm wondering what I can do to debug it > further next time it happens. ... > I would also expect the cache number to be much higher. E.g. on > this occasion, I was running

Re: wifi

2024-05-23 Thread Otto Moerbeek
On Thu, May 23, 2024 at 03:56:01AM -0300, Gustavo Rios wrote: > Here you have them: ... "Realtek 8821CE" rev 0x00 at pci2 dev 0 function 0 not configured That means there is no driver available in OpenBSD for that card. -Otto

Re: wifi

2024-05-23 Thread Gustavo Rios
Here you have them: Em qui., 23 de mai. de 2024 às 02:59, Otto Moerbeek escreveu: > On Thu, May 23, 2024 at 01:44:57AM -0300, Gustavo Rios wrote: > > > Hi folks! > > > > I would like to setup my openbsd wifi but up to now, no success. > > Here is my lspci output. May some one help me ? > > >

Re: wifi

2024-05-22 Thread Otto Moerbeek
On Thu, May 23, 2024 at 01:44:57AM -0300, Gustavo Rios wrote: > Hi folks! > > I would like to setup my openbsd wifi but up to now, no success. > Here is my lspci output. May some one help me ? > > Thanks a lot. > > 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE >

wifi

2024-05-22 Thread Gustavo Rios
Hi folks! I would like to setup my openbsd wifi but up to now, no success. Here is my lspci output. May some one help me ? Thanks a lot. 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter -- The lion and the tiger may be more powerful,

advice debugging lockups with swap-thrashing symptoms?

2024-05-22 Thread James Cook
Hi, One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens. It feels like swap thrashing, but top reports plenty of memory free. Symptoms: 1. top reports lots of free memory, small act/tot

Re: how to fsck automatically at boot

2024-05-22 Thread Stuart Henderson
On 2024-05-22, Kirill A Korinsky wrote: > On Wed, 22 May 2024 12:53:11 +0100, > Nick Holland wrote: >> > Do you need atime on that FS? Disable it dramatically reduces chances of > manual interraction with fsck. btw: you probably _do_ want atime on /tmp (see /etc/daily). But that's a fairly

Re: httpd & nextcloud

2024-05-22 Thread Souji Thenria
On Wed May 22, 2024 at 4:46 PM BST, Am Jam wrote: Your tip led me in the right direction and I now have what I need. Thank you! Glad I could help. One thing to note. I had to add the following line to get everything to work: - location "/" { block return 301

Re: httpd & nextcloud

2024-05-22 Thread Am Jam
Hi Souji, Your tip led me in the right direction and I now have what I need. Thank you! One thing to note. I had to add the following line to get everything to work: - location "/" { block return 301 "$https://$SERVER_NAME/index.php; } I added this line because, for some reason, without this

Re: httpd & nextcloud

2024-05-22 Thread Souji Thenria
On Wed May 22, 2024 at 2:38 PM BST, Am Jam wrote: Hi Everyone, Hi Am, Before anyone asks, removing "/nextcloud" from each of the location strings does not work. When I do that I get an "ERR_EMPTY_RESPONSE" error in my browser (Chrome). My httpd.conf below was inspired by the one outlined in

httpd & nextcloud

2024-05-22 Thread Am Jam
Hi Everyone, I am trying to run a small nextcloud website and I'm having a problem with the URLs. I installed nextcloud via pkg_add, and all of its files were installed under /var/www/nextcloud. The pkg-readmes were helpful in getting nextcloud working with httpd. However, though everything

Re: how to fsck automatically at boot

2024-05-22 Thread Kirill A . Korinsky
On Wed, 22 May 2024 12:53:11 +0100, Nick Holland wrote: > > For reasons of multi-hour fsck's on a few systems, I'm looking at > remounting the problem file systems as "rw" when writing is actually > needed and "ro" after the writing is complete (IN THIS APPLICATION, this > is known) to reduce my

Re: Bgpd multipath conf

2024-05-22 Thread Marco Agostani
In the end I found out a way to manage mutipath. Outside the bgpd daemon. Basically I evaluate the bgp peer status from ifstated rules and I install/remove static multipath route on variation. The first test seem promising. In the end I can even manage carp based on peer availabilty with this

Re: how to fsck automatically at boot

2024-05-22 Thread Nick Holland
On 5/21/24 08:28, Stuart Henderson wrote: On 2024-05-21, Nick Holland wrote: ... When I remove that disk the boot sequence stops and asks for a fsck I would like that this disk is mounted when it's present, but when it's not installed I don't want the boot sequence to stop Make it also

Re: how to fsck automatically at boot

2024-05-22 Thread Mik J
Hello Nick, Stuart, Kirill, Jan, Thank you for all your answers. Le mardi 21 mai 2024 à 14:31:13 UTC+2, Stuart Henderson a écrit : On 2024-05-21, Nick Holland wrote: > On 5/20/24 09:37, Jan Stary wrote: >> On May 20 13:22:26, mikyde...@yahoo.fr wrote: >>> Hello, >>> >>> I have two

Re: IPv6 routing problems with vether and vmm

2024-05-22 Thread Stuart Henderson
On 2024/05/21 20:30, jrmu wrote: > Greetings, > > > > I also don't control the entire /48. > > > > > > Here is the information I was given: > > > > > > My IPv6 Address Subnet: 2602:fccf:400:41::/64 > > > Hypervisor' IPv6 Gateway: 2602:fccf:400::1 > > > > > > I was only given a /64. > > > > So

Re: packet filter silently ignores a rule

2024-05-21 Thread Maksim Rodin
Hello! This was the first thing I checked. But I think there was a deadly combo of two factors: 1) the continuation character 2) The nuance described in man pf.conf: "Care should be taken when commenting out multi-line text: the comment is effective until the end of the entire block." After

Re: IPv6 routing problems with vether and vmm

2024-05-21 Thread jrmu
Greetings, > > I also don't control the entire /48. > > > > Here is the information I was given: > > > > My IPv6 Address Subnet: 2602:fccf:400:41::/64 > > Hypervisor' IPv6 Gateway: 2602:fccf:400::1 > > > > I was only given a /64. > > So you should use a /64 prefix length not the /48 which you

Re: IPv6 routing problems with vether and vmm

2024-05-21 Thread Willy Manga
. On 21/05/2024 22:04, jrmu wrote: Greetings, Here is my configuration: Inside hypervisor: hypervisor$ cat /etc/hostname.em1 inet 104.167.241.211 0xffc0 inet6 2602:fccf:400:41:: 48 Why are you using 48 as mask here and not 64? I don't have control over the hypervisor's gateway,

Re: IPv6 routing problems with vether and vmm

2024-05-21 Thread Stuart Henderson
On 2024-05-21, jrmu wrote: > > --qhuug7BO2jqFJSbi > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Greetings, > >> > Here is my configuration: >>=20 >> > Inside hypervisor: >>=20 >> > hypervisor$ cat /etc/hostname.em1 >>

Important message for Apple Silicon OpenBSD/arm64 users

2024-05-21 Thread Mark Kettenis
As indicated here: https://social.treehouse.systems/@AsahiLinux/112449204541186432 The system firmware that comes with macOS Sonoma 14.5 triggers a bug in the m1n1 bootloader that is used to boot OpenBSD on these machines. The bug will prevent OpenBSD from booting on some machines after the

Re: IPv6 routing problems with vether and vmm

2024-05-21 Thread jrmu
Greetings, > > Here is my configuration: > > > Inside hypervisor: > > > hypervisor$ cat /etc/hostname.em1 > > inet 104.167.241.211 0xffc0 > > inet6 2602:fccf:400:41:: 48 > > Why are you using 48 as mask here and not 64? I don't have control over the hypervisor's gateway, that is provided

Re: IPv6 routing problems with vether and vmm

2024-05-21 Thread Willy Manga
Hi On 21/05/2024 04:01, jrmu wrote: > Here is my configuration: > Inside hypervisor: > hypervisor$ cat /etc/hostname.em1 > inet 104.167.241.211 0xffc0 > inet6 2602:fccf:400:41:: 48 Why are you using 48 as mask here and not 64? Here is a suggestion in term of routing. From your

Re: how to fsck automatically at boot

2024-05-21 Thread Stuart Henderson
On 2024-05-21, Nick Holland wrote: > On 5/20/24 09:37, Jan Stary wrote: >> On May 20 13:22:26, mikyde...@yahoo.fr wrote: >>> Hello, >>> >>> I have two use cases and problems with fsck. >>> >>> 1) When my openbsd boots after an outage, the system asks me to fsck /, >>> /usr, /var or /home

Re: how to fsck automatically at boot

2024-05-21 Thread Nick Holland
On 5/20/24 09:37, Jan Stary wrote: On May 20 13:22:26, mikyde...@yahoo.fr wrote: Hello, I have two use cases and problems with fsck. 1) When my openbsd boots after an outage, the system asks me to fsck /, /usr, /var or /home manually. So I do fsck /dev/sd0a And then I'm asked questions and I

Re: packet filter silently ignores a rule

2024-05-21 Thread Stuart Henderson
On 2024-05-21, Maksim Rodin wrote: > I solved the problem by copying the entire rule block right after > the old one and commenting out the old one. > > New: > pass in on egress inet proto tcp to (egress) port $mail_ports \ > keep state (max-src-conn 20, \ > max-src-conn-rate 35/300,

Re: packet filter silently ignores a rule

2024-05-21 Thread Maksim Rodin
I solved the problem by copying the entire rule block right after the old one and commenting out the old one. New: pass in on egress inet proto tcp to (egress) port $mail_ports \ keep state (max-src-conn 20, \ max-src-conn-rate 35/300, overload \ flush global) \

IPv6 routing problems with vether and vmm

2024-05-20 Thread jrmu
Greetings, I'm running into issues with IPv6 networking using vmm with an openbsd guest, both running OpenBSD 7.5. Setup and diagnostic info here: https://paste.ircnow.org/05ejwpmf4hi74xuz0h2n I am setting up an openbsd virtual machine inside vmm using this configuration:

Re: [PATCH] [cwm] config option to run all apps maximized

2024-05-20 Thread ZenitDS
Hi, I am experiencing a similar issue in my setup, in my case when running $ xterm -geometry 500x500+0+0 the window lags a lot when toggling maximization again. It happens also if you use client_toggle_fullscreen instead. Also, is there any reason that you maximize instead of fullscreen?

Re: how to fsck automatically at boot

2024-05-20 Thread Kirill A . Korinsky
On Mon, 20 May 2024 14:22:26 +0100, Mik J wrote: > > aa929243b0f5.a /var/mylogs ffs rw,nodev,nosuid 1 2 You may add noatime which should decrease probability of issues when an outage had happened. Also, you may consider to use sync option which should future decrease probability of issues

Re: how to fsck automatically at boot

2024-05-20 Thread Jan Stary
On May 20 13:22:26, mikyde...@yahoo.fr wrote: > Hello, > > I have two use cases and problems with fsck. > > 1) When my openbsd boots after an outage, the system asks me to fsck /, /usr, > /var or /home manually. > So I do > fsck /dev/sd0a > And then I'm asked questions and I usually answer F >

how to fsck automatically at boot

2024-05-20 Thread Mik J
Hello, I have two use cases and problems with fsck. 1) When my openbsd boots after an outage, the system asks me to fsck /, /usr, /var or /home manually. So I do fsck /dev/sd0a And then I'm asked questions and I usually answer F So my question is that I want this process to be done

Re: pf anchors attached to irrelevant states

2024-05-20 Thread Kapetanakis Giannis
On 19/05/2024 19:35, Kapetanakis Giannis wrote: > On 19/05/2024 14:37, Stuart Henderson wrote: >> On 2024-05-19, Kapetanakis Giannis wrote: >>> This is a bit strange. pf works normal, but rules after an enchor an >>> being attached to the anchor (somehow). >>> >>> All states that are created from

packet filter silently ignores a rule

2024-05-20 Thread Maksim Rodin
Hello, I use OpenBSD 7.5 stable amd64. I uncommented an old rule and the corresponding macro in pf.conf which definitely worked when the machine was on version 7.3 and possibly 7.4. After that: pfctl -nf /etc/pf.conf shows nothing pfctl -f /etc/pf.conf shows nothing So Packet Filter seems to be

Re: kernel rebuild to debug problem

2024-05-19 Thread Kapetanakis Giannis
On 20/05/2024 00:03, Kirill A. Korinsky wrote: > On Sun, 19 May 2024 20:52:56 +0100, > Kapetanakis Giannis wrote: >> I'm trying to bisect a bug and compile an older kernel from cvs >> >> cvs checkout -D "2023-01-05" src/sys >> >> and following https://www.openbsd.org/faq/faq5.html#Options >> +

Re: kernel rebuild to debug problem

2024-05-19 Thread Kirill A . Korinsky
On Sun, 19 May 2024 20:52:56 +0100, Kapetanakis Giannis wrote: > > I'm trying to bisect a bug and compile an older kernel from cvs > > cvs checkout -D "2023-01-05" src/sys > > and following https://www.openbsd.org/faq/faq5.html#Options > + make install > > New kernel compiles and boots but I

kernel rebuild to debug problem

2024-05-19 Thread Kapetanakis Giannis
I'm trying to bisect a bug and compile an older kernel from cvs cvs checkout -D "2023-01-05" src/sys and following https://www.openbsd.org/faq/faq5.html#Options + make install New kernel compiles and boots but I get: # pfctl -f /etc/pf.conf pfctl: DIOCADDRULE: Operation not supported by

Re: pf anchors attached to irrelevant states

2024-05-19 Thread Markus Wernig
On 5/19/24 13:37, Stuart Henderson wrote: I can confirm this is a problem, definitely seen in 7.4, I can't remember if 7.3 was affected. 7.2 from Dec 22 seems ok. Yes, 7.3 is affected. It is the same problem reported here: https://marc.info/?l=openbsd-misc=168754952806369

Re: pf anchors attached to irrelevant states

2024-05-19 Thread Kapetanakis Giannis
On 19/05/2024 14:37, Stuart Henderson wrote: On 2024-05-19, Kapetanakis Giannis wrote: This is a bit strange. pf works normal, but rules after an enchor an being attached to the anchor (somehow). All states that are created from rules after the anchor, show the anchor (pf rule) number instead

Re: pf anchors attached to irrelevant states

2024-05-19 Thread Stuart Henderson
On 2024-05-19, Kapetanakis Giannis wrote: > This is a bit strange. pf works normal, but rules after an enchor an > being attached to the anchor (somehow). > > All states that are created from rules after the anchor, show the anchor > (pf rule) number instead of (only) the rule number in pfctl

pf anchors attached to irrelevant states

2024-05-19 Thread Kapetanakis Giannis
This is a bit strange. pf works normal, but rules after an enchor an being attached to the anchor (somehow). All states that are created from rules after the anchor, show the anchor (pf rule) number instead of (only) the rule number in pfctl -vv and in pflog. Here is a quite simple example.

Re: smtpd outgoing mail configuration

2024-05-18 Thread Ampie Niemand
On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: How to forward outgoing mail to a remote SMTP server with smtpd? I found this page, but it's out of date I think. https://romanzolotarev.com/openbsd/smtpd-forward.html Tks Pascal I have mine setup like this and its working. My

Re: pax and ext2fs

2024-05-18 Thread Walter Alejandro Iglesias
On Sat May 18 08:50:21 2024 Philip Guenther wrote: > > So yeah, what's needed is pathconfat(2)** but whether this winding loose > > end ("That poor yak.") merits that much code and surface is yet to be > > examined deeply. > > The fix for this has now been committed, so it'll be in 7.6 and a

Re: nginx + php = system() not working?

2024-05-18 Thread Stuart Henderson
On 2024-05-17, Martijn van Duren wrote: > On Thu, 2024-05-16 at 21:58 -0400, F Bax wrote: >> I think I missed something simple? I installed 7.5 release in a VM. I then >> installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: >> # rcctl enable php83_fpm >> # rcctl start

Re: pax and ext2fs

2024-05-17 Thread Philip Guenther
On Thu, May 16, 2024 at 12:08 AM Philip Guenther wrote: > On Wed, May 15, 2024 at 1:14 AM Philip Guenther wrote: ... >> I think you've managed to hit a spot where the POSIX standard doesn't >> provide a way for a program to find the information it needs to do its job >> correctly. I've filed

Re: nginx + php = system() not working?

2024-05-17 Thread Dan
"Souji Thenria" wrote: > Another issue might be that nginx is still running as www and doesn't > have access to /home/Testing. As per above suggestion double check that the user by which you run nginx (usually www) has access almost by the group to to the prefix directory declared by the -p

Re: nginx + php = system() not working?

2024-05-17 Thread Souji Thenria
On Fri May 17, 2024 at 2:56 PM BST, F Bax wrote: In /etc/rc.conf.local - I changed nginx_flags="-u -p /home/Testing" (home directory of a real user). reboot system and now browser is refused connection This site can’t be reached 192.168.1.131 refused to connect. Neither

Re: nginx + php = system() not working?

2024-05-17 Thread Martijn van Duren
On Thu, 2024-05-16 at 21:58 -0400, F Bax wrote: > I think I missed something simple? I installed 7.5 release in a VM. I then > installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: > # rcctl enable php83_fpm > # rcctl start php83_fpm > I found an issue with php system()

Re: nginx + php = system() not working?

2024-05-17 Thread F Bax
Thanks for the tips and security warnings Mike, Souji and Dan, In php-fpm.conf - I changed "; chroot = /var/www" to comment. In /etc/rc.conf.local - I changed nginx_flags="-u -p /home/Testing" (home directory of a real user). reboot system and now browser is refused connection This site can’t be

Re: nginx + php = system() not working?

2024-05-17 Thread Dan
It can even help to run nginx in "unsecure mode" if you want to stay not chrooted: nginx_flags="-u -p /home/mytests" man nginx ; while php-fpm.conf should remain with the default values ; in this case.. -dan Mike Fischer wrote: > > > Am 17.05.2024 um 03:58 schrieb F Bax : > > > > I

Re: nginx + php = system() not working?

2024-05-17 Thread Dan
May 17, 2024 11:30:25 Souji Thenria : > -u   By default nginx will chroot(2) to the home > directory of the user running the daemon, typically > "www", or to the home directory of user in > nginx.conf.  The -u option

Re: nginx + php = system() not working?

2024-05-17 Thread Souji Thenria
On Fri May 17, 2024 at 4:38 AM BST, Mike Fischer wrote: OpenBSD httpd would be a different situation because it runs in a chroot(2) environment by default. You can’t call on a PHP-FPM process that is not also running in the chroot(2) environment. The communication between httpd(8) and PHP-FPM

Re: pax and ext2fs

2024-05-17 Thread Walter Alejandro Iglesias
On Fri May 17 09:50:58 2024 Philip Guenther wrote: > Sounds like you copied with something like 'cp -p' so the copy has a > mtime with zero nsecs part, so now they do compare as equal. This morning I realized that when I copied the symlink from the ext2 drive to my hard disk, cp(1) didn't copy

Re: smtpd outgoing mail configuration

2024-05-17 Thread Janne Johansson
Den fre 17 maj 2024 kl 08:56 skrev Pascal Deveaux : > > The command > # chown root:_smtpd /etc/mail/secrets > Return : group smtpd doesn't exist The error message doesn't match the command at all, and the _smtpd group has been in the group file for some 15 years. Look for misspellings somewhere.

Re: pax and ext2fs

2024-05-17 Thread Philip Guenther
On Thu, May 16, 2024 at 5:33 AM Walter Alejandro Iglesias wrote: > > On Thu May 16 09:48:45 2024 Philip Guenther wrote: > > So yeah, what's needed is pathconfat(2)** but whether this winding loose > > end ("That poor yak.") merits that much code and surface is yet to be > > examined deeply. ... >

Re: smtpd outgoing mail configuration

2024-05-17 Thread Pascal Deveaux
The command # chown root:_smtpd /etc/mail/secrets Return : group smtpd doesn't exist 17 mai 2024 10:32:19 Otto Moerbeek : > On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: > >> How to forward outgoing mail to a remote SMTP server with smtpd? >> >> I found this page, but it's

Re: smtpd outgoing mail configuration

2024-05-17 Thread James Watt
On 17/05/24 11:42, fr...@lilo.org wrote: How to forward outgoing mail to a remote SMTP server with smtpd? I found this page, but it's out of date I think. https://romanzolotarev.com/openbsd/smtpd-forward.html Tks Pascal The config looks fine, use:  man smtpd.conf -James

Re: smtpd outgoing mail configuration

2024-05-17 Thread Otto Moerbeek
On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: > How to forward outgoing mail to a remote SMTP server with smtpd? > > I found this page, but it's out of date I think. > https://romanzolotarev.com/openbsd/smtpd-forward.html > > Tks > Pascal man smtpd.conf, first exmaple

smtpd outgoing mail configuration

2024-05-17 Thread fr5dh
How to forward outgoing mail to a remote SMTP server with smtpd? I found this page, but it's out of date I think. https://romanzolotarev.com/openbsd/smtpd-forward.html Tks Pascal

Re: nginx + php = system() not working?

2024-05-16 Thread Mike Fischer
> Am 17.05.2024 um 03:58 schrieb F Bax : > > I think I missed something simple? I installed 7.5 release in a VM. I then > installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: > # rcctl enable php83_fpm > # rcctl start php83_fpm > I found an issue with php system()

Re: What software to debugging and analyzing C?

2024-05-16 Thread j
But you do realise that adding printf() calls to the code can also change, for example, the memory layout that the compiler uses, so certain memory allocation bugs might become more or less easily triggerable? This is a big deal especially debugging code that fails with -O3 but succeeds

nginx + php = system() not working?

2024-05-16 Thread F Bax
I think I missed something simple? I installed 7.5 release in a VM. I then installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: # rcctl enable php83_fpm # rcctl start php83_fpm I found an issue with php system() function; so created this simple script which produces

Re: OpenBSD 7.5: xfce-4.18.1: missing Special Characters utility

2024-05-16 Thread Dan
Reinstalled manually after the upgrade to 7.5 with: pkg_add gucharmap -dan Dan wrote: > > Hello, > > In my OpenBSD 7.5, xfce-4.18.1 is missing the Characters Map / Special > Characters utility both graphically, in the menu, and on the disk. > > Thanks! > > -dan

Weird nd6_debug:nd6_ns_input logging on neighbor sol

2024-05-16 Thread Rémi Laurent
Greetings, we're having at least two different weird ndp/icmp6 related behaviours we would like to share The setup is quite simple, we're trying to ping6 from one OpenBSD 6.8 to another, sometimes, without any clear reason, the host sending the request will start to use its link-local address

Re: Bgpd multipath conf

2024-05-16 Thread Benjamin Raskin
I'm working on something similar right now for bgpd, where any connected /128 ipv6 address will be announced over bgp. For example if the router is connected to an adjacent host that has assigned itself an address through slaac such that the router has an entry for that particular host in the

Re: pax and ext2fs

2024-05-16 Thread Walter Alejandro Iglesias
On Thu May 16 09:48:45 2024 Philip Guenther wrote: > So yeah, what's needed is pathconfat(2)** but whether this winding loose > end ("That poor yak.") merits that much code and surface is yet to be > examined deeply. > > Philip Guenther > > > ** or lpathconf(2), but pathconfat(2) is better > I

Re: Bgpd multipath conf

2024-05-16 Thread Marco Agostani
>> Ok so in the end is there a way to install more then one route in the kernel >> table through bgpd or not ? >No. That is what "bgpd ... does not handle adding multiple paths for the same >prefix to the FIB" means. (FIB = "forwarding information base" = kernel route >table) Ok so the only

Re: Bgpd multipath conf

2024-05-16 Thread Stuart Henderson
On 2024-05-16, Marco Agostani wrote: > Ok so in the end is there a way to install more then one route in the kernel > table through bgpd or not ? No. That is what "bgpd ... does not handle adding multiple paths for the same prefix to the FIB" means. (FIB = "forwarding information base" = kernel

Re: Bgpd multipath conf

2024-05-16 Thread Marco Agostani
Ok so in the end is there a way to install more then one route in the kernel table through bgpd or not ? And if it's something that could be done in the future ? Cheers Marco Caterpillar: Confidential Green -Original Message- From: Stuart Henderson Sent: Wednesday, May 15, 2024 8:26

Re: pax and ext2fs

2024-05-16 Thread Philip Guenther
On Wed, May 15, 2024 at 1:14 AM Philip Guenther wrote: > On Tue, May 14, 2024 at 11:59 AM Walter Alejandro Iglesias < > w...@roquesor.com> wrote: > >> Hi Philip, >> >> On Tue May 14 19:40:04 2024 Philip Guenther wrote: >> > If you like, you could try the following patch to pax to more gracefully

Re: Errata: OpenBSD 7.5: high temperature spotted different times

2024-05-15 Thread Dan
Correction: CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 06-45-01, patch 0026 (year 2014) Dan wrote: > Hello, > > In my OpenBSD 7.5 stable temperature incrises timtotime remaining on > 64-65°C; an old quad cores I5 cpu. > > Thanks, > > -dan

OpenBSD 7.5: xfce-4.18.1: missing Special Characters utility

2024-05-15 Thread Dan
Hello, In my OpenBSD 7.5, xfce-4.18.1 is missing the Characters Map / Special Characters utility both graphically, in the menu, and on the disk. Thanks! -dan

OpenBSD 7.5: high temperature spotted different times

2024-05-15 Thread Dan
Hello, In my OpenBSD 7.5 stable temperature incrises timtotime remaining on 64-65°C; an old quad cores I5 cpu. Thanks, -dan

subscribe

2024-05-15 Thread Anon Loli
subscribe please

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 13:04:53 2024 Walter Alejandro Iglesias wrote: > After more testing I realized that I was wrong my modification doesn't > solve the problem. > Yeah, I also realized that what I did was stupid. :-)

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 10:24:32 2024 Walter Alejandro Iglesias wrote: > I get it working but I don't know if what I did is fine. > > As I'd told you the problem was ctime (when using -Y), so I added one > conditional to your diff where it checks only mtime and it works: > > > Index: ar_subs.c >

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 10:20:04 2024 Philip Guenther wrote: > I think you've managed to hit a spot where the POSIX standard doesn't > provide a way for a program to find the information it needs to do its job > correctly. I've filed a ticket there >https://austingroupbugs.net/view.php?id=1831 > >

Re: pax and ext2fs

2024-05-15 Thread Philip Guenther
On Tue, May 14, 2024 at 11:59 AM Walter Alejandro Iglesias wrote: > Hi Philip, > > On Tue May 14 19:40:04 2024 Philip Guenther wrote: > > If you like, you could try the following patch to pax to more gracefully > > handle filesystems with time resolution more granular than nanoseconds. > > After

Re: viomb0 unable to allocate256 physmem pages, error 12

2024-05-15 Thread Philip Guenther
viomb is a driver that tries to support OpenBSD, as a VM guest, responding to a request from the VM host to stop using so much physical memory. That log message indicates that the kernel couldn't easily free up that much physical memory, sorry! The VM host is, of course, free to decide to just

  1   2   3   4   5   6   7   8   9   10   >