doveadm index segfaults after upgrade to 7.5

2024-05-30 Thread Maksim Rodin
Hello After upgrading the machine to 7.5 amd64 doveadm command used for indexing mailboxes does not work anymore: # doveadm -Dvv index -u somemail...@somedom.com '*' ... some usual diagnostic messages... May 31 06:33:12 doveadm(somemail...@somedom.com): \ Debug: Mailbox INBOX: UID 1048: Op

Re: VLAN-tagging, how?

2024-05-30 Thread Jason Tubnor
Add to hostname.vlan101 as well: autoconf up Remove dhcp/autoconf from hostname.em0 but make sure there is an ‘up’ in there. If you are using a macro like $ext_if in pf, just change from em0 to vlan101 and all your external interface rules will work like they did before. Cheers Sent from my

Re: VLAN-tagging, how?

2024-05-30 Thread Martin
Would this be adequate? /etc/hostname.vlan101 vlandev em0 vnetid 101 em0 is the physical interface connected to the fiber box, it is then setup to get an IP via DHCP. Does vlan101 need to be addressed in PF in any way or are the rules which currently work for em0 enough? > Sorry for the non-inl

Re: Awk split()/array bug in 7.5

2024-05-30 Thread Jeremy Mates
On 2024-05-30 14:56:50 -0600, Todd C. Miller wrote: > This is not a bug. An awk associative array is effectively a hash > table so when you iterate over it like this you are not guaranteed > to get things in any particular order. In fact, our awk, mawk and > gawk all produce different output when

Re: Correct fdisk info for ext2fs?

2024-05-30 Thread Brian Conway
On Thu, May 30, 2024, at 6:02 PM, nisp1953 wrote: > OpenBSD 7.5 GENERIC.MP#82 amd64 > > Hi all: > > I formatted a 2TB USB Hard Drive under Linux and get the following from > fdisk: > > # fdisk sd1 > Disk: sd1 geometry: 243201/255/63 [3907029167 Sectors] > Offset: 0 Signature: 0x0 >

Re: VLAN-tagging, how?

2024-05-30 Thread Jason Tubnor
Sorry for the non-inline text. OpenBSD makes this super simple and it is well documented. The flow is to bring up your physical interface and then use that as a parent for your pseudo vlan interface. man ifconfig Move down to the VLAN section and it is well described to provide you with the o

Re: Call sysctl before sysctl.conf

2024-05-30 Thread Stuart Henderson
On 2024-05-30, 04-psyche.tot...@icloud.com <04-psyche.tot...@icloud.com> wrote: > Hi all, > > When openBSD runs my processor at 100%, it makes a noise. Interestingly, when > in bios, this noise does not appear. > > To get rid of the noise I call sysctl with this: > > sysctl hw.perfpolicy=manual >

Correct fdisk info for ext2fs?

2024-05-30 Thread nisp1953
OpenBSD 7.5 GENERIC.MP#82 amd64 Hi all: I formatted a 2TB USB Hard Drive under Linux and get the following from fdisk: # fdisk sd1 Disk: sd1 geometry: 243201/255/63 [3907029167 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H

Re: Awk split()/array bug in 7.5

2024-05-30 Thread Karsten Pedersen
Hi, Upon finding out about this "quirk" in the awk language, if you are now horrified that you have loads of code that relies on this order, there is a temporary solution. Check out the WHINY_USERS environment variable: https://linux.die.net/man/1/mawk In mawk and (apparently) undocumented in

VLAN-tagging, how?

2024-05-30 Thread Martin
I am currently using a home made router with OpenBSD which is connected directly to my ISP's fiber router. The OpenBSD router is setup with a fixed IP on the WAN port and I do internal NAT etc. In about a month a new ISP is going to provide internet via the fiber and they are changing the equipmen

Re: umount raid volume before shutdown?

2024-05-30 Thread 04-psyche . totter
From my reading of /etc/rc, it seems that at shutdown or reboot, the OS will automatically unmount everything. So that will unmount my encrypted partition. However, it does not run bioctl -d sd* for the pseudo-device. So I guess the question become, is it a problem to exit the system without d

Re: Awk split()/array bug in 7.5

2024-05-30 Thread Jeff Penn
Todd, Thanks for the explanation. Jeff On Thu, 30 May 2024 at 21:56, Todd C. Miller wrote: > > On Thu, 30 May 2024 21:42:08 +0100, Jeff Penn wrote: > > > I spotted the following issue, which is also present in FreeBSD. > > > > $ awk -V > > awk version 20240122 > > $ awk 'BEGIN {split("A B C", AB

Re: Awk split()/array bug in 7.5

2024-05-30 Thread Todd C . Miller
On Thu, 30 May 2024 21:42:08 +0100, Jeff Penn wrote: > I spotted the following issue, which is also present in FreeBSD. > > $ awk -V > awk version 20240122 > $ awk 'BEGIN {split("A B C", ABC, " ");for (x in ABC) {print x}}' > 2 > 3 > 1 This is not a bug. An awk associative array is effectively a

Awk split()/array bug in 7.5

2024-05-30 Thread Jeff Penn
I spotted the following issue, which is also present in FreeBSD. $ awk -V awk version 20240122 $ awk 'BEGIN {split("A B C", ABC, " ");for (x in ABC) {print x}}' 2 3 1 FreeBSD 14, awk 20210724: $ awk 'BEGIN {split("A B C", ABC, " ");for (x in ABC) {print x}}' 2 3 1 Linux, mawk 1.3.4 20200120: $ a

Call sysctl before sysctl.conf

2024-05-30 Thread 04-psyche . totter
Hi all, When openBSD runs my processor at 100%, it makes a noise. Interestingly, when in bios, this noise does not appear. To get rid of the noise I call sysctl with this: sysctl hw.perfpolicy=manual sysctl hw.setperf=99 The problem is, at the beginning of boot, openBSD runs the processor with

Re: mounting audio cd

2024-05-30 Thread Ampie Niemand
On Thu, May 30, 2024 at 06:43:13PM +0200, Manfred Koch wrote: Hi all, I have tried to mount an audio cd with the command: doas mount -t cd9660 /dev/cd0c /cdrom mount_cd9660: /dev/cd0c on /cdrom: Invalid argument You cannot mount it like that because its an audio CD and not a Data CD. If it w

mounting audio cd

2024-05-30 Thread Manfred Koch
Hi all, I have tried to mount an audio cd with the command: doas mount -t cd9660 /dev/cd0c /cdrom mount_cd9660: /dev/cd0c on /cdrom: Invalid argument doas dmesg | grep cd shows me: cd0 at scsibus1 targ 0 lun 0: removable cd0(ahci0:0:0): Check Condition (error 0x70) on opcode 0x0 cd0 at scsibu

Re: How to set number of blocks in fdisk GPT

2024-05-30 Thread 04-psyche . totter
Thanks Kirill. Yes, I saw that, but in my case, FAT32 is not the file format that I am using to encrypt the partition. The partition is on an SSD with 4.2BSD filesystem. On Thu, 30 May 2024 10:06:11 +0100, > > > > How can I choose the blocks parametres in the command: > > > > fdisk -gy -b blocks

Re: [7.5/amd64] ipsec + npppd + sasyncd + carp - doesn't pick up the VPN session at switchover

2024-05-30 Thread Radek
Thank you all for your replies. Actually, I did not know that providing seamless switching VPN solutions is so problematic. If it can't be done in a simple way, then it doesn't have to be seamless at any cost. Users will manually reconnect to this VPN when CARP does switchover and there will b

Re: How to set number of blocks in fdisk GPT

2024-05-30 Thread Kirill A . Korinsky
On Thu, 30 May 2024 10:06:11 +0100, 04-psyche.tot...@icloud.com wrote: > > How can I choose the blocks parametres in the command: > > fdisk -gy -b blocks disk > > The man page does not indicate how to make an informed choice. I couldn’t > find relevant help on the internet. > As suggested at

Re: umount raid volume before shutdown?

2024-05-30 Thread Rubén Llorente
Personally, I'd just have your encrypted filesystem not listed in /etc/fstab at all, since it can't be mounted without attaching the softraid device manually anyway. Since the password is needed in every case, just attach the softraid device with bioctl and mount the filesystem with mount when

umount raid volume before shutdown?

2024-05-30 Thread 04-psyche . totter
Hi all, on my main hard drive, I have a partition `p` that I have encrypted in the following way: $bioctl -c C -l sd0p softraid0 -> This created the sd1 pseudo-device, on which I ran the following: $fdisk -g sd1 $disklabel -E sd1 # created partition i, to take all the space. This is the uniq

How to set number of blocks in fdisk GPT

2024-05-30 Thread 04-psyche . totter
Hi all, How can I choose the blocks parametres in the command: fdisk -gy -b blocks disk The man page does not indicate how to make an informed choice. I couldn’t find relevant help on the internet. Thanks!

Re: [7.5/amd64] ipsec + npppd + sasyncd + carp - doesn't pick up the VPN session at switchover

2024-05-30 Thread Stuart Henderson
On 2024-05-29, Vitaliy Makkoveev wrote: > He wants replication. This means both wireguard "servers" know the client > state. No client reconnection at failure, no delay, seamless migration > from failed node to the backup. Something like sasyncd(8), but for > npppd(8) or wg(4). wireguard doesn't