Question regarding (kernel?) Priority and perl

2023-04-11 Thread Sven F.
Dear readers, I have an openBSD just freshly updated to 7.3. Amazing release, Thank you I run ttyd on it, a tty over http small demon and because i like log level i run a custom rc script nothing fancy here : daemon_user=support rc_bg=YES and in rc_start su -fl -c ${daemon_class} -s /bin/sh

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Nathan Gilbert
> On Apr 11, 2023, at 6:02 PM, Todd C. Miller wrote: > Sounds like you need to reboot into single user mode (-s at the > boot prompt) and change root's shell back to /bin/ksh ;-) That did it! I was able to change my root’s shell back to /bin/ksh (where it’s staying now.) I should be able to

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Todd C . Miller
On Tue, 11 Apr 2023 17:55:52 -0600, Nathan Gilbert wrote: > I seem to stuck in a double bind, my wm needs to be recompiled, but also my s > hell (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.) > > I may have to chalk

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Nathan Gilbert
> On Apr 11, 2023, at 5:54 PM, John Mettraux wrote > > I log in as root via the screen 1, 2, 3, or 4 (Ctrl-Alt-Fn-F1...) and edit > /etc/shells. > > Maybe you, for some reason, don't have access to your root account. I would > then just use an install stick and escape to shell when it asks

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Nathan Gilbert
On Apr 11, 2023, at 5:49 PM, Lorenzo Torres wrote: > If I remember correcly LeftWM is written in Rust, the 7.3 update seems to > have broke some Rust binaries built for 7.2. You should probably try > re-compiling LeftWM using the updated rustc. Yes, it is written in rust. I’m just catching up

Re: Can't login after upgrading to 7.3

2023-04-11 Thread John Mettraux
On Tue, Apr 11, 2023 at 05:41:57PM -0600, Nathan Gilbert wrote: > > On Apr 11, 2023, at 5:40 PM, John Mettraux wrote: > > > > Could your account be using a shell not listed in /etc/shells ? > > > > I use fish and sometimes experience the same issue on upgrades. I solve it > > by > > re-adding

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Lorenzo Torres
On Tue, Apr 11, 2023 at 05:12:34PM -0600, Nathan Gilbert wrote:> Hi,> > I ran sysupgrade on a ThinkPad X1 Carbon running 7.2 and am unable to login afterwards. I’m unable to log in as my normal user in either the WM (LeftWM) or the terminal, I immediately get kicked back to login. I’m able to

Re: Can't login after upgrading to 7.3

2023-04-11 Thread John Mettraux
On Tue, Apr 11, 2023 at 05:12:34PM -0600, Nathan Gilbert wrote: > > I ran sysupgrade on a ThinkPad X1 Carbon running 7.2 and am unable to login > afterwards. I’m unable to log in as my normal user in either the WM > (LeftWM) or the terminal, I immediately get kicked back to login. I’m able > to

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Thomas Frohwein
On Tue, Apr 11, 2023 at 05:12:34PM -0600, Nathan Gilbert wrote: > Hi, > > I ran sysupgrade on a ThinkPad X1 Carbon running 7.2 and am unable to login > afterwards. I’m unable to log in as my normal user in either the WM (LeftWM) > or the terminal, I immediately get kicked back to login. I’m

groups update

2023-04-11 Thread Jan Prunk
0 C Slovenia P T Ljubljana F First Thursday of each month at 8:00PM O BSD users group Slovenia I Jan Prunk M janpr...@gmail.com U https://bsd.si N *BSD

Can't login after upgrading to 7.3

2023-04-11 Thread Nathan Gilbert
Hi, I ran sysupgrade on a ThinkPad X1 Carbon running 7.2 and am unable to login afterwards. I’m unable to log in as my normal user in either the WM (LeftWM) or the terminal, I immediately get kicked back to login. I’m able to login with root to fvwm or cwm but can’t open a terminal. On the

groups new

2023-04-11 Thread Jan Prunk
0 C Slovenia P Ljubljana T Ljubljana F 1st Thursday, 8:00 PM O BSD users group Slovenia I Jan Prunk M janpr...@gmail.com U https://bsd.si N *BSD

groups new

2023-04-11 Thread Jan Prunk
0 C Slovenia P Ljubljana T Ljubljana F 1st Thursday, 8:00 PM O BSD users group Slovenia I Jan Prunk M janpr...@gmail.com U https://bsd.si N *BSD.

Re: IPv4 to IPv6 mapping

2023-04-11 Thread Nicolas Goy
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 $dummy_v6_address to

simple measurement between 7.2 and 7.3

2023-04-11 Thread Holger Glaess
hi Just for fun i did between the upgrade from 7.2 to 7.3 a simple ipferf measurement to compare the speed diffrent. the machines are diffrent hardware see  dmesg bellow. and i say "WOW" great job for you the OpenBSD Developer Team. THANK YOU. Holger on both machines i did: sysupgrade

lidaction on an M1 macbook

2023-04-11 Thread Jan Stary
> o On arm64, add a machdep.lidaction sysctl(8) > for aplsmc(4) Apple Silicon laptops. Should that be mentioned in the arm64 examples/sysctl.conf as on other such architectures? Index: etc/etc.arm64/sysctl.conf === RCS file:

X11 not working after upgrade to 7.3

2023-04-11 Thread Steven Shockley
I've just upgraded a Windows 10 Hyper-V VM from 7.2 to 7.3 using sysupgrade, sysmerge (no changes) and pkg_add -u. Since the upgrade xenodm doesn't start. The error from Xorg.0.log is: [ 1599.318] (II) VESA(0): virtual address = 0xfe5219000, physical address = 0xf800, size =

Re: OpenBSD 7.3 released

2023-04-11 Thread Kevin Williams
Thank you to all the developers for such a great release! Sysupgrade went flawlessly on my cloud instances, router, and laptop host. Keep up the great work! On Mon, Apr 10, 2023, at 6:52 AM, Theo de Raadt wrote: > > > -

Re: Setuid changed on /sbin/ping after installing patch 022_resolv

2023-04-11 Thread Theo de Raadt
the man page says: o Check for changes in setuid/setgid files and devices. Those setuid binaries did change. They were replaced. The sizes are different also. That's because there is a libc.a change and these are static binaries. the security script is not not just reporting whether

Setuid changed on /sbin/ping after installing patch 022_resolv

2023-04-11 Thread tetrahedra
Hi all, security(8) sent me an alert that Setuid changed on /sbin/ping and /sbin/ping6: Running security(8): Setuid changes: -r-sr-xr-x 2 root bin 347728 Sep 27 17:40:01 2022 /sbin/ping -r-sr-xr-x 1 root bin 347776 Mar 11 19:42:17 2023 /sbin/ping

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

2023-04-11 Thread Theo de Raadt
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 should submit a RTM_PROPOSAL route message ...

Re: fido2 hardware key with PIN in browsers

2023-04-11 Thread rsykora
Greg Steuck wrote: > rsyk...@disroot.org writes: > > > Fabio Martins wrote: > >> About your question, I believe you need to do a tail -f /var/log/messages > > > > this is what I see after pluging the key in the computer: > > > > Apr 7 19:02:06 odin /bsd: uhidev1 at uhub0 port 1 configuration 1

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Siegfried Levin
Oh shoot! Sorry I misunderstood the solution. I got rust-ring package installed and tried Laurie’s recipe. Now all errors are gone. Thanks a lot! > On Apr 11, 2023, at 17:06, Theo Buehler wrote: > > On Tue, Apr 11, 2023 at 04:43:04PM +0800, Siegfried Levin wrote: >> I checked the core dump

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Theo Buehler
On Tue, Apr 11, 2023 at 04:43:04PM +0800, Siegfried Levin wrote: > I checked the core dump again. There is still an error on Ring 0.16.20. Yes, that's expected. If you read my mail again, I told you to use the patched source in /usr/local/share/ring-0.16.20 from the rust-ring package, not simply

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

2023-04-11 Thread Kaya Saman
Thanks Stu, and everyone else who responded :-) On 4/11/23 09:01, Stuart Henderson wrote: On 2023-04-10, Kaya Saman wrote: On 4/10/23 16:24, Daniele B. wrote: Apr 10, 2023 12:52:22 Kaya Saman : how do I override OpenBSD's behavior to explicitly not use the dns servers obtained through

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Siegfried Levin
I checked the core dump again. There is still an error on Ring 0.16.20. Where can I know more about the protection introduced in 7.3 in case that I need to report this on GitHub? Thanks. Reading symbols from /usr/libexec/ld.so...Error while reading shared library symbols: Dwarf Error: wrong

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Laurence Tratt
On Mon, Apr 10, 2023 at 08:53:55PM +0200, Theo Buehler wrote: Hello Theo, > with something like this in Cargo.toml: > > [dependencies.ring] > version = "^0.16" > path = "/usr/local/share/ring-0.16.20" In case it's useful to anyone else, one can set this globally in ~/.cargo/config.toml

Re: All my Rust programs stop working on OpenBSD 7.3

2023-04-11 Thread Stuart Henderson
On 2023-04-10, Siegfried Levin wrote: > I fixed Cargo by “pkg_add -u rust” Ignoring the rust-specific bits which tb@ and semarie@ have commented on, you should always run straight "pkg_add -u" after an update - rust or not. OpenBSD does not give much consideration for compatibility with old

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

2023-04-11 Thread Stuart Henderson
On 2023-04-10, Kaya Saman wrote: > > On 4/10/23 16:24, Daniele B. wrote: >> Apr 10, 2023 12:52:22 Kaya Saman : >> > how do I override OpenBSD's > behavior to explicitly not use the dns servers obtained through ipcp but > instead use the ones form the resolv.conf file? >> My solution