Re: Require host-name from DHCP clients

2023-09-26 Thread Florian Obser
On 2023-09-27 01:01 +02, Joel Carnat wrote: > Hi, > > Because of Apple Private Address feature, my static IP allocations based > on MAC address (hardware ethernet) doesn't work anymore. Looking at > dhcpd.leases, some devices provide a client-hostname value ; but not > every one. > > Is there a

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Janne Johansson
> > How could be that there is a process with PID 0 before init? > Probably I'm missing something about OpenBSD core. > As for this small part of the mystery, even init starts out as a skeleton process created early by the kernel, which then does an exec() of /sbin/init so that whatever program

Re: I nuked my filesystem

2023-09-26 Thread Daniele B.
> But yeah. You need a good backup. > here's mine: https://holland-consulting.net/scripts/ibs/ > ksh shell script + rsync + another computer and big disk. I personally use rdiff. Eheh, I'm interested to know if anyone has sad story about rdiff? Thanks, -- Daniele Bonini Sep 27, 2023

Re: I nuked my filesystem

2023-09-26 Thread Nick Holland
On 9/26/23 21:42, sprits killshot wrote: I did the thing. dd'd a 5gb img to my ssd instead of my usb and I want to die. dd if=file.iso of=/dev/sd1c I am using a CRYPTO RAID partition and luckily I'm smart enough not to nuke that. My ssd is 2TB so I believe it uses FFS2 by default. I'm

Re: I nuked my filesystem

2023-09-26 Thread B. Atticus Grobe
restore from backup. scan_ffs doesn't find ffs2 filesystems.

I nuked my filesystem

2023-09-26 Thread sprits killshot
I did the thing. dd'd a 5gb img to my ssd instead of my usb and I want to die. dd if=file.iso of=/dev/sd1c I am using a CRYPTO RAID partition and luckily I'm smart enough not to nuke that. My ssd is 2TB so I believe it uses FFS2 by default. I'm hopelessly running scan_ffs on it in case it was

Require host-name from DHCP clients

2023-09-26 Thread Joel Carnat
Hi, Because of Apple Private Address feature, my static IP allocations based on MAC address (hardware ethernet) doesn't work anymore. Looking at dhcpd.leases, some devices provide a client-hostname value ; but not every one. Is there a dhcpd.conf configuration parameter that forces DHCP clients

Re: mg wishlist: vertical split

2023-09-26 Thread Eponymous Pseudonym
Another option would be to use a loop with sdiff(1) for side-by-side.. diffs $ man sdiff http://man.openbsd.org/sdiff.1 When you need something more from mg(1) or outside its intended feature set, remember editors/emacs is in ports too. $ pkg_locate readmes/emacs

Re: fail to powerdown from installed system

2023-09-26 Thread Stuart Henderson
On 2023-09-26, Dimitrios Moustos wrote: > I believe the problem appeared arround openbsd 7.2, or 7.1. I am not sure. > Knowing exactly when the problem appeared might help locate the problem. > In this case I will install some older versions and report back. Please try -current first.

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Benjamin Stürz
Am 26.09.23 um 18:12 schrieb Alessandro Baggi: Il 26/09/23 17:30, Claudio Jeker ha scritto: On Tue, Sep 26, 2023 at 05:13:46PM +0200, Andreas Kähäri wrote: On Tue, Sep 26, 2023 at 04:59:22PM +0200, Alessandro Baggi wrote: Hi list, running this python3 script: #!/usr/bin/env python3 import

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Alessandro Baggi
Il 26/09/23 17:30, Claudio Jeker ha scritto: On Tue, Sep 26, 2023 at 05:13:46PM +0200, Andreas Kähäri wrote: On Tue, Sep 26, 2023 at 04:59:22PM +0200, Alessandro Baggi wrote: Hi list, running this python3 script: #!/usr/bin/env python3 import psutil pids = psutil.pids() for i in pids:

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Claudio Jeker
On Tue, Sep 26, 2023 at 05:13:46PM +0200, Andreas Kähäri wrote: > On Tue, Sep 26, 2023 at 04:59:22PM +0200, Alessandro Baggi wrote: > > Hi list, > > running this python3 script: > > > > #!/usr/bin/env python3 > > import psutil > > > > pids = psutil.pids() > > for i in pids: > > p =

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Alessandro Baggi
Il 26/09/23 17:13, Andreas Kähäri ha scritto: On Tue, Sep 26, 2023 at 04:59:22PM +0200, Alessandro Baggi wrote: Hi list, running this python3 script: #!/usr/bin/env python3 import psutil pids = psutil.pids() for i in pids: p = psutil.Process(i) with p.oneshot():

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Andreas Kähäri
On Tue, Sep 26, 2023 at 04:59:22PM +0200, Alessandro Baggi wrote: > Hi list, > running this python3 script: > > #!/usr/bin/env python3 > import psutil > > pids = psutil.pids() > for i in pids: > p = psutil.Process(i) > with p.oneshot(): > print(str(i) + " " + p.name()) > > The

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Dave Voutila
Alessandro Baggi writes: > Hi list, > running this python3 script: > > #!/usr/bin/env python3 > import psutil > > pids = psutil.pids() > for i in pids: > p = psutil.Process(i) > with p.oneshot(): > print(str(i) + " " + p.name()) > > The result start with: > > 0 swapper > 1 init

OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Alessandro Baggi
Hi list, running this python3 script: #!/usr/bin/env python3 import psutil pids = psutil.pids() for i in pids: p = psutil.Process(i) with p.oneshot(): print(str(i) + " " + p.name()) The result start with: 0 swapper 1 init 536 smtpd 868 ksh ... This process does not appear in

Re: Panic during 7.3 installation on VM

2023-09-26 Thread Alessandro Baggi
Il 26/09/23 13:50, Dave Voutila ha scritto: Alessandro Baggi writes: Hi list, I'm trying to install OpenBSD 7.3 on a VM (Linux KVM) but when it starts to install sets I got panic and "syncing disk... 8 8 8 8 ..." until it reboot automatically. Can you share the panic and backtrace? This

fail to powerdown from installed system

2023-09-26 Thread Dimitrios Moustos
Hello, The system whose dmesg is attached fails to powerdown or reboot. I am not sure if it is a bug, a misconfiguration or a missing or incomplete driver. After halt -p from an installed system the system hangs after: syncing disks... done and in case of a reboot: syncing disks... done

Re: Panic during 7.3 installation on VM

2023-09-26 Thread Dave Voutila
Alessandro Baggi writes: > Hi list, > I'm trying to install OpenBSD 7.3 on a VM (Linux KVM) but when it > starts to install sets I got panic and "syncing disk... 8 8 8 8 ..." > until it reboot automatically. Can you share the panic and backtrace? > > This is a simple installation, no disk

Re: mg wishlist: vertical split

2023-09-26 Thread Bodie
On 26.9.2023 09:40, Harald Dunkel wrote: Hi folks, would it be possible to introduce a vertical split window (Ctrl-X 3) in mg, similar to horizontal split? I am really missing this feature. Vertical split allows me to work with similar files (shown side-by-side) much more efficiently.

Re: Panic during 7.3 installation on VM

2023-09-26 Thread misc
Also got a lot of these trying to install 7.3 in Virtualbox, under Linux. Then installed in tmpfs (memory) and later moved the virtual disk (.vdi) to the SATA disk, then it booted properly. SATA disk isnt corrupted, must be something related to disk access / read / write speed, while under

Re: Unclear Memory Leakage since OpenBSD 7.3 upgrade (nginx and MariaDB; Not consistent)

2023-09-26 Thread Stuart Henderson
On 2023-09-25, Tobias Fiebig wrote: > On Mon, 2023-09-25 at 18:15 +0200, Rudolf Leitgeb wrote: >> Either this, or the TLS 1.3 code was always buggy, but now >> it was actually used per default. > Yes, setting up nginx with enabled tlsv1.3 on 7.2 and earlier is also > on the todo. Similarly,

Panic during 7.3 installation on VM

2023-09-26 Thread Alessandro Baggi
Hi list, I'm trying to install OpenBSD 7.3 on a VM (Linux KVM) but when it starts to install sets I got panic and "syncing disk... 8 8 8 8 ..." until it reboot automatically. This is a simple installation, no disk encryption, default OpenBSD layout... The VM has VNC Server as "graphic"

mg wishlist: vertical split

2023-09-26 Thread Harald Dunkel
Hi folks, would it be possible to introduce a vertical split window (Ctrl-X 3) in mg, similar to horizontal split? I am really missing this feature. Vertical split allows me to work with similar files (shown side-by-side) much more efficiently. Regards Harri

Re: OpenBSD 7.2 fw stack trace on Dell R740

2023-09-26 Thread Joerg Streckfuss
Hi Stuart, Am 25.09.23 um 19:08 schrieb Stuart Henderson: That might possibly be the one fixed by 7.2 errata 008, so if you don't already have that you at least want to syspatch. That was my guess as well. However, the systems were patched up to 7.2 errata-016. I applied the remaining

Re: undocumented command switches -OR- fix documentation fully

2023-09-26 Thread Marc Espie
On Mon, Sep 25, 2023 at 09:05:40PM +0200, Rudolf Leitgeb wrote: > If you document a switch, you are basically required to keep that > functionality around forever. Given that the OpenBSD devs don't like > these --options all that much, I don't see that happening. Submitting > a patch won't change