Re: Open Source / BSD License Copyright infringements

2024-06-05 Thread Stuart Henderson
On 2024-06-05, Peter J. Philipp wrote: > I have been made aware of hearsay that someone took my open source code > protected under the same license as OpenBSD and sold it for a lot of money. There is nothing in either the ISC license used in OpenBSD (or in the GNU public license for that

Re: IPv6 routing problems with vether and vmm

2024-06-04 Thread Stuart Henderson
On 2024-06-04, Kapetanakis Giannis wrote: > On 04/06/2024 08:50, jrmu wrote: >>> When you manage a hypervisor, using only 1x/64 is less than ideal. It's just >>> not enough because you can have more than 1 'type of usage'. I always >>> request at least 1x/56. >> Thanks. I spoke with the ISP and

Re: amd64 bsd.rd for 7.0, 7.1, 7.2

2024-06-04 Thread Stuart Henderson
On 2024-06-04, Jan Stary wrote: >> > I want to upgrade an amd64 system running 6.9. > > Backup, reinstall current from scratch, > restore from backup. > >> > wget https://cdn.openbsd.org/pub/OpenBSD/7.{0,1,2}/amd64/bsd.rd >> > returns 404 for all three queries. >> > Where can I find the bsd.rd

Re: Using nopass on a single user machine

2024-06-03 Thread Stuart Henderson
On 2024-06-03, 04-psyche.tot...@icloud.com <04-psyche.tot...@icloud.com> wrote: > Hi all, > > Is there any downside is using the nopass option of doas, for a single user > machine? > > It's a machine that I access to only via ssh, with an identity file. > > In what way would it increase the

Re: vim editor with TERM

2024-05-31 Thread Stuart Henderson
On 2024-05-31, 04-psyche.tot...@icloud.com <04-psyche.tot...@icloud.com> wrote: > Hi all, > > I use the following terminal: > > echo $TERM > xterm-256color > > when in my ~/.profile I do: > > export EDITOR=nano > > everything works well. > > However, if I do > > export EDITOR=vim > > then when I

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

2024-05-31 Thread Stuart Henderson
On 2024-05-30, Radek wrote: > 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

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 >

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

Re: binding on privileged ports as user

2024-05-29 Thread Stuart Henderson
On 2024-05-29, Gregory Edigarov wrote: > Hello, everybody > > I remember exactly, that I was able to do that with systrace. > Can I do that now? Is there any workaround for that? You could listen on another port and rdr-to. > If for example I need to run some potentially exploitable service, >

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

2024-05-29 Thread Stuart Henderson
On 2024/05/29 18:08, Vitaliy Makkoveev wrote: > On Wed, May 29, 2024 at 01:23:47PM -0000, Stuart Henderson wrote: > > On 2024-05-29, Vitaliy Makkoveev wrote: > > > On Wed, May 29, 2024 at 12:48:41PM +0200, Radek wrote: > > >> Thank you, that explains everything.

Re: OpenBSD bgpd / rad "Permission denied" messages ?

2024-05-29 Thread Stuart Henderson
On 2024-05-28, Claudio Jeker wrote: > On Tue, May 28, 2024 at 06:28:27PM +0200, Rachel Roch wrote: >> Hi >> >> I'm struggling to understand what is going on here. >> >> I have an Openbsd 7.2 box which has been working beautifully for about 3 >> years. >> >> Now it seemingly suddenly refuses

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

2024-05-29 Thread Stuart Henderson
On 2024-05-29, Vitaliy Makkoveev wrote: > On Wed, May 29, 2024 at 12:48:41PM +0200, Radek wrote: >> Thank you, that explains everything. >> Does wireguard support replication? Will it work properly in my CARP setup? >> > > No for both questions. However, wireguard allows to create complicated >

Re: x64

2024-05-29 Thread Stuart Henderson
On 2024-05-29, Gustavo Rios wrote: > i have installed obsd 7.5 amd64. I wrote a small function and apparently, > obsd is not generating x64 bit code. I am very confused by the output os > file and nm program on my anci c code. > > Here you have them: > > etosha# file xdr_vopq.o > xdr_vopq.o: ELF

Re: httpd & pixelfed

2024-05-28 Thread Stuart Henderson
On 2024-05-27, Am Jam wrote: > > Most of what makes pixelfed work is located in /var/www/pixelfed/public, > and hence pixelfed requires that the root directory be > /var/www/pixelfed/public. > So in /etc/httpd.conf I have the following lines: > - root "/pixelfed/public" > - directory index

Re: wifi

2024-05-25 Thread Stuart Henderson
On 2024-05-24, Gustavo Rios wrote: > --b1957806193be4bf > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > Is there plan to add support ? Can't say for sure what somebody might like to work on, but from reading posts from people using these

Re: OpenBSD 7.4 in virtualize env

2024-05-24 Thread Stuart Henderson
On 2024-05-24, Sven F. wrote: > --c4123906193364e5 > Content-Type: text/plain; charset="UTF-8" > > Hello, > > Sometimes, rarely, across multiple version ( did not see it in 7.5 so far ) > the log `scsi_xfer pool exhausted` just get spammed forever, > > It doesn't crash, the device

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

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

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: 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: 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: 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 >>

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: 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: 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

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: 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-15 Thread Stuart Henderson
On 2024-05-14, Marco Agostani wrote: > I try to setup an openbgpd setup involving multipath configuration ...with = > no success. ... > neighbor $GW01 { > descr "bgp#1" > announce IPv4 unicast > announce add-path recv yes > set localpref

Re: gmake compile of python3.12 crashes on openBSD 7.5 but not on openBSD 7.4

2024-05-13 Thread Stuart Henderson
On 2024-05-12, Sandeep Gupta wrote: > ./Tools/scripts/pydoc3 > build/scripts-3.12/pydoc3.12 > Illegal instruction (core dumped) > > I am unable to find a proper debugger into which to load the python.core > generated after core dump, so can't provide any useful debug info. pkg_add gdb and use

Re: PHP 8.2.18 problem

2024-05-10 Thread Stuart Henderson
On 2024/05/10 14:29, Dan wrote: > > In php.ini a session.save_handler = memcache ^ ... > Looking at phpinfo() I see: > > memcached ^ > Session support: yes Looks like a typo.

Re: unable to startx/xinit on additional virtual terminal

2024-05-10 Thread Stuart Henderson
On 2024-05-10, Sandeep Gupta wrote: > I should be able to launch an additional x11 session given one is already > running by default. that's not supported -- Please keep replies on the mailing list.

Re: gstreamer1 update

2024-05-10 Thread Stuart Henderson
On 2024-05-10, Robert Palm wrote: > pkg_check is now clean. gstreamer still complaining. Updates are currently broken for gstreamer1-plugins-good, it will need a fix in the port + new set of packages. If you don't want to wait, pkg_delete gstreamer1-plugins-good, let it remove any packages

Re: My PC is crashing

2024-05-10 Thread Stuart Henderson
On 2024-05-10, Peter N. M. Hansteen wrote: > On Fri, May 10, 2024 at 08:48:56AM +0200, Anders Andersson wrote: >> Missing from the FAQ is IMO step 0: Run memtest over night to rule out >> hard to debug hardware problems. It won't catch everything of course, >> but it usually finds RAM issues

Re: webssh does not install

2024-05-06 Thread Stuart Henderson
On 2024-05-06, Eyüp Hakan Duran wrote: > --9fb6bb0617c0773e > Content-Type: text/plain; charset="UTF-8" > > Hi all, > > I am trying to install webssh, which is a python package, on OpenBSD 7.5. > My goal is to provide a tool for my email server users a means to change > their

Re: pfstat is having a bad time

2024-05-06 Thread Stuart Henderson
On 2024-05-05, Christer Solskogen wrote: > Running pfstat -q gives: > ioctl: DIOCGETSTATUS: Permission denied > pf_query: query_counters() failed > > This is on a newly updated system (current) > OpenBSD tugs.antarctica.no 7.5 GENERIC.MP#50 amd64 > > Packages are also all up to date. The kernel

Re: fw_update

2024-05-03 Thread Stuart Henderson
On 2024-05-03, Harald Dunkel wrote: > On 2024-05-02 21:25:00, Stuart Henderson wrote: >> >> You have an old fw_update(1) manual lying around which should be >> removed. It moved to fw_update(8). >> > > "Moved"? Yes. It used to be in section 1, it

Re: panic: unix: lock not held

2024-05-03 Thread Stuart Henderson
On 2024-05-03, Amit Kulkarni wrote: > Hi all, > Referring to the existing email chain on bugs@ > https://marc.info/?l=openbsd-bugs=171468519914343=2 > > Unable to boot to a prompt. How do I recover by booting an older kernel? > There is no /obsd to try out. sysupgrade doesn't save old kernels

Re: fw_update

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Harald Dunkel wrote: > On 2024-04-30 13:25:39, Страхиња Радић wrote: >> Дана 24/04/30 01:12PM, Kirill A. Korinsky написа: >>> You may download it by hand and install as fw_update /path/to/firmware.tgz >> >> BTW, this is in fw_update(8). >> >> man 8 fw_update >> /SYNOPSIS >> > >

Re: pax and ext2fs

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Walter Alejandro Iglesias wrote: > I expect from that command no more and no less than what is explained in > the man page: > > Update (and list) only those files in the destination directory > /backup which are older (less recent inode change or file > modification

Re: Ports: micro is broken

2024-05-02 Thread Stuart Henderson
On 2024-05-02, Mizsei Zoltán wrote: > I am unsure if this is the correct list for this to report, but there seems > to be other mails regarding ports here, so... po...@openbsd.org is better for ports-related questions. > I am facing issues with the port of the "micro" editor (written in go) on

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Nathaniel Griswold wrote: > What could be taking so much power? CPUs are idling. some things in this area that people have been looking into: https://cneira.github.io/posts/openbsd-save-battery-changes/ https://github.com/openbsd/src/compare/master...jcs:openbsd-src:jcs

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Souji Thenria wrote: > > Could you elaborate on your point that Go ports are a pain? > I thought a port written in Go would probably be easier to maintain > because no additional libraries are needed to run the program, and > cross-compilation is relatively easy, too. With

Re: ubnt edgerouter 8

2024-04-30 Thread Stuart Henderson
On 2024/04/30 16:46, Marc Peters wrote: > Am Tue, Apr 30, 2024 at 12:03:10PM UTC, schrieb Stuart Henderson: > > Do be aware that they often have less airflow than the original fans. > > > > Sometimes that is not a problem, but sometimes you might want to think > >

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Stuart Henderson wrote: > On 2024-04-30, Souji Thenria wrote: >> Hi everyone, >> >> In the last couple of days, I played with the webserver Caddy [1] and >> would like to use it for some of my web applications. However, the >> webserver i

Re: Caddy webserver is not in the ports tree

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Souji Thenria wrote: > Hi everyone, > > In the last couple of days, I played with the webserver Caddy [1] and > would like to use it for some of my web applications. However, the > webserver is currently not in the ports tree. Is there a specific reason > for that, or has no one

Re: ubnt edgerouter 8

2024-04-30 Thread Stuart Henderson
On 2024-04-30, Marc Peters wrote: > Am Mon, Apr 29, 2024 at 05:31:14PM UTC, schrieb Daniel Gracia: >>I replaced my 8 Pro fans with Noctua units and I'm pretty happy with >>them; they came with several adapters that allow you to choose the >>speed of the fans. > > +1 for the noctua

Re: Is there access to dm...@openbsd.org? / arm64 laptops

2024-04-27 Thread Stuart Henderson
On 2024-04-27, Peter J. Philipp wrote: > I'm looking for a dmesg of an arm64 laptop, the time I think has come to > mothball the apple macbook pro from early 2015 (my old laptop called spica), > I could put a new battery in it but the 80 EUR is not worth it anymore. I'm > also gearing up for job

Re: python dev

2024-04-26 Thread Stuart Henderson
On 2024-04-26, Gustavo Rios wrote: > --78bcdd0617042ecf > Content-Type: text/plain; charset="UTF-8" > > Hi folks! > > May some here tell me if openbsd supports python dev package in the ports > collection ? What is "python dev"? -- Please keep replies on the mailing list.

Re: Getting "Boot error" after replacing a disk in softraid [SOLVED]

2024-04-26 Thread Stuart Henderson
On 2024-04-25, Chris Petrik wrote: > Remember softraid isn't the same as hw raid and I will always chose hw over > soft this includes zfs. There are advantages and disadvantages for both. e.g. a software setup with multiple disk controllers can, if there's support for data error detection[1],

Re: bad first impression [ ...] Fwd: [HUNSN RJ43: USB keyboard lost at boot time]

2024-04-26 Thread Stuart Henderson
On 2024-04-25, Wolfgang Pfeiffer wrote: > - Forwarded message from Harald Dunkel - > This morning I've got a HUNSN RJ43 network appliance with N100 and > 4 2.5Gbit network interfaces. Problem: The keyboard is lost at boot > time. It still worked at the boot> prompt, but in OpenBSD's

Re: what became of "apmd -C"?

2024-04-24 Thread Stuart Henderson
On 2024-04-24, Harald Dunkel wrote: > Hi folks, > > https://www.openbsd.org/faq/upgrade57.html doesn't mention it, so > I wonder what became of "apmd -C"? The man page for OpenBSD 5.7 > silently dropped this option, but even apmd of 7.5 still accepts > it. > > ? apmd used to have code that

Re: Getting "Boot error" after replacing a disk in softraid

2024-04-24 Thread Stuart Henderson
On 2024-04-24, Brian Conway wrote: >> wd0 at pciide0 channel 0 drive 0: > > That seems... unusual. Do you have an (old) IDE compatibility option turned > on in the BIOS? I would have expected it to attach via AHCI: Optiplex 980 is from ~2010, similar age to the HP N54L microserver etc. Disks

Re: mongo shell on openBSD

2024-04-22 Thread Stuart Henderson
On 2024-04-22, Luca Leone wrote: > --51d7aa8ca551402d8b2dd0ebb50142e8 > Content-Type: text/plain > > Thanks again Kirill, top! > > Typing `$ mongo` in the terminal confirmed you're right of course: it starts > the interactive section with mongo db. Before asking here I typed `$ mongosh` > which

Re: Fonts for wscons(4)

2024-04-19 Thread Stuart Henderson
On 2024-04-19, Walter A Iglesias wrote: > I designed some fonts for wscons(4). Once you decompress the tar file > you'll find a test.sh script to test the fonts in a fullscreen xterm. I > include the *.h files to try them in wscons, but you have to recompile > the kernel for this. > >

Re: multi-package ports make

2024-04-19 Thread Stuart Henderson
On 2024-04-18, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > --- =_aa0 > Content-Type: text/plain; charset="us-ascii" > Content-ID: <53906.171346683...@orthanc.ca> > Content-Transfer-Encoding: quoted-printable > > Can somebody tell me what I'm doing wrong here. When I run > 'make'

Re: Since upgrade to OpenBSD 7.5 the FreeRADIUS EAP authentication no longer works

2024-04-17 Thread Stuart Henderson
On 2024-04-17, Federico Giannici wrote: > On 4/17/24 16:34, Stuart Henderson wrote: >> On 2024-04-17, Kapetanakis Giannis wrote: >>> One idea if you have old devices that cannot upgrade to a newer SSL/TLS >>> protocol would be to run some kind of proxy between the

Re: Since upgrade to OpenBSD 7.5 the FreeRADIUS EAP authentication no longer works

2024-04-17 Thread Stuart Henderson
On 2024-04-17, Kapetanakis Giannis wrote: > One idea if you have old devices that cannot upgrade to a newer SSL/TLS > protocol would be to run some kind of proxy between the client and the radius > server (stunnel?) > > Don't know how well this plays with EAP. > Maybe this will only work with

Re: Since upgrade to OpenBSD 7.5 the FreeRADIUS EAP authentication no longer works

2024-04-17 Thread Stuart Henderson
On 2024-04-17, Federico Giannici wrote: > Since we upgraded from OpenBSD amd64 7.3 to 7.5 (passing through 7.4) > the FreeRadius EAP authentication no longer works! > > We are using a custom version of FreeRadius (because we had to do some > little changes and a module of our own), and

Re: Firewall setup

2024-04-15 Thread Stuart Henderson
On 2024-04-15, Karel Lucas wrote: > /etc/hostname.bridge0: > add igc0 add igc1 add igc2 blocknonip igc0 blocknonip igc1 blocknonip > igc2 up bridging with PF is an advanced topic, please get familiar with PF on a standard routed firewall first -- Please keep replies on the mailing list.

Re: Creating GLX context fails on ATI Picasso Radeon

2024-04-13 Thread Stuart Henderson
On 2024-04-12, Страхиња Радић wrote: > Дана 24/04/12 08:46AM, Stuart Henderson написа: >> Unrelated, but: pkg_add -U is mostly for people running snapshots, >> wanting to install a new package without doing a full pkg_add -u run. > > According to pkg_add(1) manpage,

Re: No internet connection (firewall block)

2024-04-13 Thread Stuart Henderson
On 2024-04-13, Janne Johansson wrote: > Den fre 12 apr. 2024 kl 20:22 skrev Karel Lucas : >> Traceroute still won't work. >> Can >> anyone give me some starting points here? > > Put "log" on all your block/pass rules, read the logs (man pflog for > help) and see which rule the traceroute packets

Re: Creating GLX context fails on ATI Picasso Radeon

2024-04-12 Thread Stuart Henderson
On 2024-04-11, Страхиња Радић wrote: > Yes, I have (using the fw_update). I also did `pkg_add -Uu` after upgrading > to > 7.5, for that matter. Unrelated, but: pkg_add -U is mostly for people running snapshots, wanting to install a new package without doing a full pkg_add -u run. It will

Re: Restic rest server broken with relayd.

2024-04-11 Thread Stuart Henderson
On 2024-04-10, a...@abiscuola.com wrote: > Is there a way to restore the previous behaviour in relayd(8) Only by reverting the commit etc. > or, is there a known workaround for restic, in this case? That's probably a question for restic really (or possibly the requirement is coming from a 3rd

Re: newfs fast, but newfs_msdos and newfs_ext2fs very slow

2024-04-10 Thread Stuart Henderson
On 2024-04-09, Stanislav Syekirin wrote: > Hi, > > I'm trying to figure out the best way to format a USB stick as FAT32. > This is what I've tried: > > $ time doas newfs_msdos /dev/rsd1c > /dev/rsd1c: 60007944 sectors in 7500993 FAT32 clusters (4096 > bytes/cluster) > bps=512 spc=8 res=32

Re: ncurses in 7.5

2024-04-10 Thread Stuart Henderson
On 2024-04-09, f...@disciples.com wrote: > Hello, >   > https://www.openbsd.org/plus75.html says: > > Updated ncurses and associated libraries (form, panel, menu) to 6.4-20230826. >   > but https://www.openbsd.org/75.html says:  > > Ncurses 5.7  >   > Is this an oversight or am I overlooking

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-10 Thread Stuart Henderson
On 2024-04-09, Why 42? The lists account. wrote: > > On Sat, Apr 06, 2024 at 02:42:25PM +0200, Eivind Eide wrote: >> After upgrading to 7.5 amd64 -stable (and all ports updated) I get >> these messages in /var/log/messages. This is with bash from ports >> inside tmux over SSH: >> >> tmux:

Re: Upgrade 7.5 /usr full

2024-04-09 Thread Stuart Henderson
On 2024-04-09, Ben Jahmine wrote: > Dear all. > > I just did my unattended upgrade to 7.5. I previously checked the > available disk space in /usr, as suggested by the upgrade guide. My /usr > size is 2 GB, as created by the installer. As this is above 1.1 GB I > started the unattended upgrade

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-09 Thread Stuart Henderson
On 2024-04-09, Eivind Eide wrote: >>The log message no longer appears after running >> >>cp /usr/share/terminfo/x/xterm-256color ~/.terminfo/x/ > > Indeed! After > mkdir -p ~/.terminfo/t/ > cp /usr/share/terminfo/t/tmux-256color ~/.terminfo/t/ > (and the same for other termcaps

Re: Packages upgrade failure after upgrading to 7.5

2024-04-08 Thread Stuart Henderson
On 2024-04-08, Ioan Samarul wrote: > Hello to you all! > > I upgraded without problem to 7.5, everything went smooth as always, > except when I tried to upgrade the packages. > > This are the errors of `doas pkg_add -uV` (there is no version of > firefox installed, if that helps) > > No pkgname

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-08 Thread Stuart Henderson
On 2024-04-08, Eivind Eide wrote: > 24/04/06 06:04PM, Stuart Henderson: >> The fact that these all started hitting this with the same printf string >> (including tmux, which is in base) makes me wonder if it's coming from a >> library, the most likely being libcurses which wa

Re: OpenBSD 7.5 bsd.upgrade hangs after sysupgrade

2024-04-07 Thread Stuart Henderson
On 2024-04-07, Страхиња Радић wrote: > (manually retyped to avoid large attachments): thank you! > 2. The result of entering `boot -c` at the `boot>` prompt with /bsd.upgrade > having the execute bit set (so 7.5 /bsd.upgrade would boot by default): > > OpenBSD 7.5 (RAMDISK_CD) #76: Wed

Re: ipv6 assistance

2024-04-07 Thread Stuart Henderson
On 2024-04-06, Florian Obser wrote: > Someone with pull at UPC^W ziggo^W vodafone^W liberty global could > potentially get that situation improved. Often on an OpenBSD box using one of these connections, you want one or more /64s rather than a host address, I don't think there's an alternative

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-07 Thread Stuart Henderson
On 2024-04-06, Страхиња Радић wrote: > Дана 24/04/06 06:04PM, Stuart Henderson написа: >> The fact that these all started hitting this with the same printf string >> (including tmux, which is in base) makes me wonder if it's coming from a >> library, the most likely

Re: Migrate to different FS layout of OpenBSD

2024-04-07 Thread Stuart Henderson
On 2024-04-06, Kirill A Korinsky wrote: > On Sat, 06 Apr 2024 23:14:39 +0200, > Peter Hessler wrote: >> >> RAID0 is called that because zero is what you'll recover if you lose a >> disk. This is amazingly dangerous, and you're going to have a bad time. >> >> Do a backup, then restore from

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-06 Thread Stuart Henderson
On 2024-04-06, Страхиња Радић wrote: > Дана 24/04/06 02:42PM, Eivind Eide написа: >> tmux: vfprintf %s NULL in "%.*s" >> bash: vfprintf %s NULL in "%.*s" >> multitail: vfprintf %s NULL in "%.*s" >> vim: vfprintf %s NULL in "%.*s" > > This happens in OpenBSD when a program passes NULL pointer to

Re: How to customise the OS update process

2024-04-06 Thread Stuart Henderson
sysupgrade -n rm /home/_sysupgrade/{x,game}*.tgz reboot Though I wouldn't bother unless very constrained on storage space. A lot of time has been wasted by developers over the years when people have not installed xbase (or worse, installed an old one but not updated it) and run into problems with

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Stuart Henderson
On 2024-04-01, Peter N. M. Hansteen wrote: > > This sounds very much like a situation where the base system and packages > are out seriously of sync AND your user is et up with a default shell from > packages (I am guessing bash). Running out of space (especially in /usr) during sysupgrade

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Stuart Henderson
On 2024-04-01, Sandeep Gupta wrote: > > However when i tried to log from the console -- the login message shows but > the system logs me out immediately. > On the desktop gui too, with only root I was able to login. But running > xterm from the fvwm menu fails. > I am a bit clueless as to how to

Re: Bash instead of ksh

2024-04-02 Thread Stuart Henderson
On 2024-04-01, Nick Holland wrote: > The pdksh that comes with OpenBSD by default is very good and supports > most of the "fancy" stuff that bash does, but is stock with the system, > so it has no dependencies, no issues at upgrade, and is quite lean

Re: I DEMAND TO KNOW (re recent activity)

2024-03-31 Thread Stuart Henderson
On 2024-03-31, Peter N. M. Hansteen wrote: > Some recent activity here (you will remember the threads) had me want to post > this earlier, but I was bowled over by a stomach bug and only found the > reference > again now - Just block the senders, ignore the threads and move on.

Re: No coloring with colorls

2024-03-30 Thread Stuart Henderson
On 2024-03-29, Karel Lucas wrote: > What should I put in /etc/ttys, taking into account that I regularly use > multiple virtual consoles? And where in that file do I place that? At > the beginning or the end? Or somewhere in between? Replace "vt220" with your preferred option on "console" and

Re: Dell PERC H745

2024-03-30 Thread Stuart Henderson
On 2024-03-29, Kapetanakis Giannis wrote: > > There are so many adapters given/updated by Dell every year, maybe we should > update the man pages to add the working ones? Diffs welcome :-) > My BOSS-S1 Modular adapter is detected both on 7.4 and current. > PERC H755 Front is indeed also

Re: No coloring with colorls

2024-03-29 Thread Stuart Henderson
On 2024-03-28, Karel Lucas wrote: > > > Op 28-03-2024 om 07:51 schreef Stuart Henderson: >> For the console, use /etc/ttys. >> >> For an X terminal, use whatever mechanism is correct for that terminal >> (.Xdefaults XTerm*termName for xterm). > > The file

Re: Dell PERC H745

2024-03-28 Thread Stuart Henderson
On 2024-03-28, Hrvoje Popovski wrote: > On 28.3.2024. 11:01, Kapetanakis Giannis wrote: >> I'm looking for a new server to replace our firewall/routing. >> >> Would like to ask if PERC H745 is supported. >> >> mfi(4) lists >>    -   Dell PERC 5/e, PERC 5/i, PERC 6/e, PERC 6/i, PERC

Re: No coloring with colorls

2024-03-28 Thread Stuart Henderson
7-03-2024 om 14:02 schreef Stuart Henderson: >> On 2024-03-27, Karel Lucas wrote: >>> It works correctly! My /etc/profile now looks like this: >>> export TERM=xterm-256color >> That is not working correctly, because you forcibly override the correct >>

Re: No coloring with colorls

2024-03-27 Thread Stuart Henderson
On 2024-03-27, Karel Lucas wrote: > It works correctly! My /etc/profile now looks like this: > export TERM=xterm-256color That is not working correctly, because you forcibly override the correct TERM which is set for things like screen/tmux. For the console, use /etc/ttys. For an X terminal,

Re: rm: #08057459: Operation not permitted

2024-03-26 Thread Stuart Henderson
On 2024-03-26, deich...@placebonol.com wrote: > > can you share what caused ls to coredump=20 corrupt timestamp. https://marc.info/?t=17114738861=1=2 -> https://marc.info/?l=openbsd-bugs=17114820954=2

Re: configure rad for ULA addresses

2024-03-26 Thread Stuart Henderson
On 2024-03-25, Evan Sherwood wrote: >>> interface igc1 { >>> prefix fdbf:e79a:8e3e::/48 >> >> lesser operating systems will refuse to form autoconf addresses if the >> prefix length is not 64. > > Thanks, this was helpful. I got addresses allocated on client

Re: securelevel=2 and mount hardening

2024-03-26 Thread Stuart Henderson
On 2024-03-25, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > I am curious to hear peoples thoughts on adding some mount(2) > hardening when the system is running at securelevel 2. Specifically: > > * do not allow removing MT_NODEV, MT_NOEXEC, MT_NOSUID, > or MT_RDONLY in conjunction

Re: No coloring with colorls

2024-03-26 Thread Stuart Henderson
On 2024-03-25, Karel Lucas wrote: > In which configuration file can I change this? Is 'wsvt25' universally > suitable for use? For X, it's configured in your terminal emulator, e.g. for xterm you can use one of these :in .Xdefaults XTerm*termName: xterm-color XTerm*termName: xterm-256color

Re: No coloring with colorls

2024-03-26 Thread Stuart Henderson
On 2024-03-25, Karel Lucas wrote: > Hi all, > > After installing colorls and making some adjustments to the system, I > still have no colored output from colorls. Below I have indicated the > settings that have been made or are present by default. I would like to > know what is wrong and what

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-24 Thread Stuart Henderson
On 2024/03/24 20:12, Sadeep Madurange wrote: > On 2024-03-24 10:51:51, Stuart Henderson wrote: > > On 2024-03-24, Sadeep Madurange wrote: > > > On 2024-03-24 09:43:07, Stuart Henderson wrote: > > >> Any particular reason to not just run esptool on Op

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-24 Thread Stuart Henderson
On 2024-03-24, Sadeep Madurange wrote: > On 2024-03-24 09:43:07, Stuart Henderson wrote: >> On 2024-03-17, Sadeep Madurange wrote: >> > I set up a Linux VM on OpenBSD hoping to flash ESP32 programs from >> > the Linux VM. However when I plug the MCU in, I can't see it

Re: Request for a check 'relinking in progress' before a reboot

2024-03-24 Thread Stuart Henderson
On 2024-03-23, Dan wrote: > Eg. actually I was testing changes to my /etc/bsd.re-config ( as per > different thread ), it needs two reboots to apply changes.. Run /usr/libexec/reorder_kernel after your edit.

Re: Request for a check 'relinking in progress' before a reboot

2024-03-24 Thread Stuart Henderson
On 2024-03-23, Florian Obser wrote: > > diff --git libexec/reorder_kernel/reorder_kernel.sh > libexec/reorder_kernel/reorder_kernel.sh > index fb1d151f42a..809d1e18e55 100644 > --- libexec/reorder_kernel/reorder_kernel.sh > +++ libexec/reorder_kernel/reorder_kernel.sh > @@ -30,6 +30,14 @@

Re: Trying to access /dev/ttyUSB0 device from VM

2024-03-24 Thread Stuart Henderson
On 2024-03-17, Sadeep Madurange wrote: > I set up a Linux VM on OpenBSD hoping to flash ESP32 programs from the > Linux VM. However when I plug the MCU in, I can't see it in the /dev > directory. Any particular reason to not just run esptool on OpenBSD? It's in packages..

Re: Mutt shows ? in place of spaces

2024-03-23 Thread Stuart Henderson
On 2024-03-23, Sadeep Madurange wrote: > Hello, > > I see a bunch of question marks instead of spaces (0x20 in ASCII) in > some emails when viewed in mutt. This happens with emails that contains > patches, output of commands like ifconfig (content with indented > blocks). > > Output of locale: >

Re: DMARC/DKIM and OpenBSD Mailinglists

2024-03-22 Thread Stuart Henderson
On 2024-03-22, Odhiambo Washington wrote: > --3aa8dc06143b8cab > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Fri, Mar 22, 2024 at 11:18=E2=80=AFAM Stuart Henderson opper.org> > wrote: >

Re: DMARC/DKIM and OpenBSD Mailinglists

2024-03-22 Thread Stuart Henderson
On 2024-03-21, Roderick wrote: > --e4360006142cfd57 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > Is it not ARC meant to be the solution for > this problem? That was sort-of the idea, but it requires mail server admins to decide which

  1   2   3   4   5   6   7   8   9   10   >