Re: MariaDB Source

2025-02-13 Thread Kirill A . Korinsky
On Thu, 13 Feb 2025 23:39:20 +0100, Kirill A. Korinsky wrote: > > On Wed, 12 Feb 2025 08:44:10 +0100, > Lux of the Agony wrote: > > > > MariaDB source is not available when building in ports for 7.6-current; I > > waited a couple months now, thinking someon

Re: MariaDB Source

2025-02-13 Thread Kirill A . Korinsky
On Wed, 12 Feb 2025 08:44:10 +0100, Lux of the Agony wrote: > > MariaDB source is not available when building in ports for 7.6-current; I > waited a couple months now, thinking someone might fix it on their own. > While I could grab it myself without a problem, I thought I might thro

Re: python/3 directory missing from ports tar-file?

2025-02-08 Thread Kirill A . Korinsky
ous reason ports.tar.gz from 7.6 had missed python/3 directory. Use a cvs checkout of the ports tree or a git clone. -- wbr, Kirill

Re: matterbridge pre-built binary on OpenBSD

2025-02-02 Thread Kirill A . Korinsky
On Sun, 02 Feb 2025 15:11:05 +0100, Chaz Kettleson wrote: > > Hello, > > Anyone use matterbridge https://github.com/42wim/matterbridge on > OpenBSD? I'm running 7.6 and attempting to run the pre-built 1.26 binary > for and get the following: > > # ./matterbridge-1.26.0-openbsd-64bit > matter

is cross-compiling from Rust possible on OpenBSD? (was Re: Rust no_std and cross-compiling

2025-01-23 Thread Luke A. Call
Is cross-compiling with Rust even possible on OpenBSD? I don't see rustup available, and ran into the below issues when trying a couple of different triples, with an attempted no_std "hello world". Thank you. On 2025-01-21 17:13:11-0700, Luke A. Call wrote: > I'm att

Rust no_std and cross-compiling

2025-01-21 Thread Luke A. Call
I'm attempting to follow these instructions https://zenn.dev/zulinx86/articles/rust-nostd-101 ...to create a no_std "hello world" in Rust, just to see it work, and its size and speed. I get these two errors: $cargo build --target x86_64-unknown-openbsd Compiling bareme

Re: 32 bit time stamps

2025-01-19 Thread Amelia A Lewis
On Sun, 19 Jan 2025 15:54:43 - (UTC), Stuart Henderson wrote: > On 2025-01-19, Janne Johansson wrote: >>> I noticed while looking through the headers of zlib that there is >>> a time32_t component of it. Would this mean that on January 19th >>> 2038 our .gz&#x

Re: DMARC policy things

2025-01-09 Thread Kirill A . Korinsky
5 at 07:42:00PM +, Anon Loli via RT wrote: > > > > > > > > > > I was recommended to ask you if yo ucould change the DMARC policy > > > from reject > > > > > to quarantine or none.. can that be done per-account or something? > > > > > > &g

Re: Request for open-vm-tools Package on OpenBSD

2025-01-05 Thread Kirill A . Korinsky
On Sun, 05 Jan 2025 13:13:14 +0100, Kyo Ichikawa wrote: > > I tried downloading it from GitHub and building it myself, but I > couldn’t succeed. Is it due to licensing issues that it’s not included? > If so, that’s truly unfortunate. > As far as I can see it has at least GPL license which is ok

Re: acme-client challenges

2024-12-31 Thread Amelia A Lewis
Thanks for the response, Florian, On Tue, 31 Dec 2024 06:55:26 +0100, Florian Obser wrote: > On 2024-12-30 19:44 -05, Amelia A Lewis wrote: >> acme-client: https://acme-staging.api.letsencrypt.org/directory: bad >> comm >> acme-client: bad exit: netproc(39958): 1 > &g

Re: acme-client challenges

2024-12-30 Thread Amelia A Lewis
updating with a little more info on most-recent error. On Mon, 30 Dec 2024 22:54:52 -0500, Amelia A Lewis wrote: [snip] > lessee, delete an 'acme-' ... > > $ doas acme-client -vv simmonpatch.com > acme-client: /etc/acme/letsencrypt-staging-privkey.pem: loaded account >

Re: acme-client challenges

2024-12-30 Thread Amelia A Lewis
Quick response, thank you! On Tue, 31 Dec 2024 03:22:14 +0100, Kirill A. Korinsky wrote: > On Tue, 31 Dec 2024 01:44:15 +0100, > Amelia A Lewis wrote: >> >> $ doas acme-client -vvv simmonpatch.com >> acme-client: /etc/ssl/private/leo-simmonpatch.com.key: loaded domain

Re: acme-client challenges

2024-12-30 Thread Kirill A . Korinsky
On Tue, 31 Dec 2024 01:44:15 +0100, Amelia A Lewis wrote: > > $ doas acme-client -vvv simmonpatch.com > acme-client: /etc/ssl/private/leo-simmonpatch.com.key: loaded domain key > acme-client: /etc/acme/letsencrypt-staging-privkey.pem: loaded account > key > acme-cl

acme-client challenges

2024-12-30 Thread Amelia A Lewis
Hey, misclings, I'm standing up a new domain on a server that's been deployed for a while. Big thanks to Gilles Chehade for his guide ( https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/ ), as well as for smtpd. As part of this, I'm

Re: Which Thinkpad T14 Gen 5 hardware is better supported?

2024-12-17 Thread Kirill A . Korinsky
On Tue, 17 Dec 2024 19:26:20 +0100, Michał wrote: > > > 17.12.2024 15:01 CET Kirill A. Korinsky napisał(a): > > > > > > On Tue, 17 Dec 2024 12:02:40 +0100, > > Michał wrote: > > > > > > > Things that could work, but don't: &

Re: Which Thinkpad T14 Gen 5 hardware is better supported?

2024-12-17 Thread Kirill A . Korinsky
On Tue, 17 Dec 2024 12:02:40 +0100, Michał wrote: > > > Things that could work, but don't: > > Webcam, Suspend > > Webcam not working in a strange way - no video and after awhile it hangs > system > (7.6-current (GENERIC.MP) #480: Sat Dec 14 18:12:05 MST 2024) &

Re: Packet loss whilst using ssh

2024-12-15 Thread Kirill A . Korinsky
On Sun, 15 Dec 2024 21:12:56 +0100, Lloyd wrote: > > Can I use pf to tag egress traffic as 0x00 and see if it goes away? > Do you mean set tos at pf? -- wbr, Kirill

Re: Packet loss whilst using ssh

2024-12-15 Thread Kirill A . Korinsky
On Sun, 15 Dec 2024 19:53:02 +0100, Lloyd wrote: > > Strangely, I can spray packets at this OpenBSD host using iperf3 at nearly > full rate over the wireless network (~ 250Mbps) with zero packet loss. > Only SSH seems to be impacted. > Have you tried to capture a traffic wh

Re: Which Thinkpad T14 Gen 5 hardware is better supported?

2024-12-14 Thread Kirill A . Korinsky
On Sat, 14 Dec 2024 16:47:12 +0100, Stefan Hagen wrote: > > Kirill A. Korinsky wrote (2024-12-14 12:39 CET): > > Here a blind shot. Future debug requires uvideo_debug = 2 which very noise. > > Cool, thank you! Unfortunately it doesn't change much. > > Below is a dmes

Re: Which Thinkpad T14 Gen 5 hardware is better supported?

2024-12-14 Thread Kirill A . Korinsky
On Sat, 14 Dec 2024 09:06:15 +0100, Stefan Hagen wrote: > > Kirill A. Korinsky wrote (2024-12-14 00:46 CET): > > On Fri, 13 Dec 2024 23:54:31 +0100, > > Stefan Hagen wrote: > > > $ ffplay -f v4l2 -list_formats all -i /dev/video0 > > > [video4linux2,v4l2 @ 0x

Re: Which Thinkpad T14 Gen 5 hardware is better supported?

2024-12-13 Thread Kirill A . Korinsky
f v4l2 -i /dev/video0 > [ webcam turns on, it takes a few seconds ] > [video4linux2,v4l2 @ 0xfc8c9cab400] ioctl(VIDIOC_DQBUF): Invalid argument > Input #0, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, bitrate: 147456 kb/s > Stream #0:0: Video: rawvideo (YUY2

Re: Need some advice on C semantics.

2024-12-12 Thread Kirill A . Korinsky
On Thu, 12 Dec 2024 11:54:29 +0100, Christian Schulte wrote: > > is there something specific for OpenBSD like style(9) but for semantics? > I understand that style(9) is all about syntax. As a long term Java > developer having lost all interest in Java, I am searching for somethin

Re: large file system issues and rescue questions

2024-12-12 Thread Kirill A . Korinsky
On Thu, 12 Dec 2024 10:39:24 +0100, Divan Santana wrote: > > Kirill A. Korinsky writes: > > > On Tue, 10 Dec 2024 20:10:51 +0100, > > Divan Santana wrote: > >> > >> Secondly question, is it possible from the rescue environment to edit > >> the

Re: Disk encryption on cloud servers...

2024-12-10 Thread Kirill A . Korinsky
My security needs for web server with a few blogs and personal eMail is > relatively low, and my goal here is to be 'better than average' in case > the cloud provider is compromised and attackers get access to disk / RAM > on the VMs. > When the attacker has access to al

Re: large file system issues and rescue questions

2024-12-10 Thread Kirill A . Korinsky
ked bsd.rd from amd64 snapshot, and it seems that both, bsd.rd from installer and "single mode" has ed which is text editor. > Another question, is there a Linux like fstab option of 'nofail' for > OpenBSD? It seems like there isn't, because for me, it would be handy &

Re: Cloudflare mirror doesn't work

2024-12-04 Thread Kirill A . Korinsky
On Wed, 04 Dec 2024 18:33:48 +0100, Chris Narkiewicz wrote: > > https://cloudflare.cdn.openbsd.org/pub/OpenBSD/ mirror no longer works for me. > > Tested on OpenBSD 7.6 using curl: > > # curl -vv https://cloudflare.cdn.openbsd.org/ > 17:30:21.229941 [0-0] * Host cloudflare.cdn.openbsd.org:443 w

Re: OpenBSD on MacBook Pro 2018

2024-12-02 Thread Kirill A . Korinsky
e to prepare live USB. Thus, OpenBSD doesn't see the disk: vendor "Apple", unknown product 0x2005 (class mass storage subclass miscellaneous, rev 0x01) at pci14 dev 0 function 0 not configured > Have you tried in other USB slots too? > There seems to be a lot of usb devic

Re: OpenBSD on MacBook Pro 2018

2024-12-02 Thread Kirill A . Korinsky
on 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 ppb6 at pci3 dev 4 function 0 "Intel JHL7540 Thunderbolt 3" rev 0x06: msi pci7 at ppb6 bus 65 but after I had made usb flash I've reallized that it is the only way to us

OpenBSD on MacBook Pro 2018

2024-12-02 Thread Kirill A . Korinsky
misc@, Do you try to run OpenBSD on MacBook Pro 2018? I did it yesterday with the snapshot and it's almost not usable. 1. Booting from USB drive requires significant time. It needs about 7 minutes to finish the first line: booting sd0a:/bsd:... 2. Adding firmwares (probably amd one is enoug) hun

Re: Assign domain name to client vm

2024-11-26 Thread Kirill A . Korinsky
On Tue, 26 Nov 2024 08:13:49 +0100, prx wrote: > > I'm looking for something generic : redirect all request for a domain into a > VM. SSH, SMTP, HTTP, whatever. > My ISP give me only one IP, so I guess I'm stuck here. > Not necessary. For example, Haproxy has ssl_fc

Re: VPN killswitch

2024-11-24 Thread Kirill A . Korinsky
On Sun, 24 Nov 2024 18:55:12 +0100, bsdbsdbsd1 wrote: > > OpenBSD needs an easily implementable killswitch for VPNs. > Do you mean something like that Solène did here? https://dataswamp.org/~solene/2021-10-09-openbsd-wireguard-exit.html -- wbr, Kirill

Re: Can't get my user crontab running properly

2024-11-21 Thread Kirill A . Korinsky
On Thu, 21 Nov 2024 20:19:19 +0100, Dan wrote: > > > Problem arising immediately is that I'm not able to get crontab running > properly for my local user and the system seems not getting any change > to the cron tables defined below. > Two questions: 1. What inside /var/cron/log ? 2. How di

Re: GTK4 and Emoji

2024-11-17 Thread Kirill A . Korinsky
On Sun, 17 Nov 2024 15:41:21 +0100, Страхиња Радић wrote: > > Дана 24/11/17 02:55PM, Kirill A. Korinsky написа: > > I have strage issue with Emoji fonts and GTK4 applications. I have nothing > > instead emoji. Nothin means literally nothing. Just blank space. I've tested

GTK4 and Emoji

2024-11-17 Thread Kirill A . Korinsky
misc@, I have strage issue with Emoji fonts and GTK4 applications. I have nothing instead emoji. Nothin means literally nothing. Just blank space. I've tested net/dino with emoji in messages, and www/badwolf where I open a test page: https://tmh.conlang.org/emoji-language/all-emoji.html I

Re: SFTP

2024-11-14 Thread Kirill A . Korinsky
On Thu, 14 Nov 2024 03:04:41 +0100, Aaron Mason wrote: > > I heard these articles may be written by AI. QuillBot says 82% likely > for the SFTP article. > If you read this article https://ipv6.rs/tutorial/OpenBSD/DragonFly/ you'll be sure that it was made by some kind of text generator. -- wb

Re: multicast relay?

2024-10-16 Thread Kirill A . Korinsky
that and that tool doesn't even build out of > box on OpenBSD. > > If I understand correctly, pf doesn't care about broadcast/multicast stuff. > Please correct me if I'm wrong. > > What piece of software would relay the broadcasts and multicasts. > Also those re

Re: ssh PermitLocalCommand no

2024-10-16 Thread Kirill A . Korinsky
On Wed, 16 Oct 2024 14:52:25 +0200, Dan wrote: > > PermitLocalCommand should have a default value of "no". According to the man page it is: PermitLocalCommand Allow local command execution via the LocalCommand option or using the !command escape s

Re: Memory upgrade

2024-10-15 Thread Kirill A . Korinsky
awk '{print $2}'` > >>> ulimit -n `ulimit -aH | grep nofiles | awk '{print $2}'` > > > > ulimit -d `ulimit -dH` etc... but then there's no point setting a > > separate hard limit in login.conf. > > Of course. I am the only user on that system

Re: Doesn't work prtsc button on Tex Shinobi keyboard

2024-10-15 Thread Kirill A . Korinsky
On Tue, 15 Oct 2024 07:47:00 +0200, Nick Owens wrote: > > On Fri, Oct 11, 2024 at 5:48 PM Kirill A. Korinsky wrote: > > > > On Fri, 11 Oct 2024 19:07:03 +0200, > > Pascal Stumpf wrote: > > > > > > On Tue, 08 Oct 2024 16:59:26 +0200, Kirill A. Korin

Re: how to recover? sysupgrade 7.5 -> 7.6, remote machine sshd not restarted, /usr overfull

2024-10-14 Thread Amelia A Lewis
On Fri, 11 Oct 2024 15:40:06 - (UTC), Stuart Henderson wrote: > On 2024-10-11, Amelia A Lewis wrote: [snipped: sshd not starting on machine with sysupgrade-overfilled /usr slice] >> I'm too verbose. Short version: a) with sshd not working and no console >> access, is

Re: python-tkinter in 7.6

2024-10-13 Thread Kirill A . Korinsky
On Sun, 13 Oct 2024 09:54:50 +0200, Robert Alessi wrote: > > Shouldn't python-tkinter-3.11.10p0.tgz be updated to p1 in 7.6? To > date, it can't be installed. > I just suceffuly installed python-tkinter on 7.6/amd64: $ doas pkg_add -a python-tkinter quirks-7.50 s

Re: Doesn't work prtsc button on Tex Shinobi keyboard

2024-10-11 Thread Kirill A . Korinsky
On Fri, 11 Oct 2024 19:07:03 +0200, Pascal Stumpf wrote: > > On Tue, 08 Oct 2024 16:59:26 +0200, Kirill A. Korinsky wrote: > > misc@ > > > > I made an assumption that I'm not the only one using Tex Shinobi's keyboard, > > and just discovered that the

how to recover? sysupgrade 7.5 -> 7.6, remote machine sshd not restarted, /usr overfull

2024-10-11 Thread Amelia A Lewis
Heyo, I performed sysupgrade on two locally-available OBSD systems on Tuesday, which went as smoothly as expected, and then initiated sysupgrade on a machine in colocation. It came back up (per ping), but refused ssh connections to allow me to complete the upgrade (pkg_add -u). Investigation

Re: Memory upgrade

2024-10-11 Thread Kirill A . Korinsky
On Thu, 10 Oct 2024 00:44:07 +0200, obs...@loopw.com wrote: > > ** PAE can work around this, but I’m not sure if OpenBSD supports PAE at > ** all (and theres other issues/caveats with using PAE of course, > ** including speed and security) > Do you know any example of vulnerability specified for

Re: laptop recommendation

2024-10-09 Thread Kirill A . Korinsky
On Wed, 09 Oct 2024 20:19:27 +0200, "Lyndon Nerenberg (VE7TFX/VE6BBM)" wrote: > > * X Windows at 1920x1080 resolution (my vision cannot cope with > anything higher) > * 14 inch screen you always can use higher DPI via Xft.dpi or xrandr --scale ... -- wbr, Kirill

Re: Doesn't work prtsc button on Tex Shinobi keyboard

2024-10-08 Thread Kirill A . Korinsky
On Tue, 08 Oct 2024 22:32:30 +0200, Peter Piwowarski wrote: > > On a quick test here, I can confirm this behavior, but it's not specific to > my > Shinobi - any USB keyboard I have on hand (the Shinobi, an IBM SK8845, and a > Unicomp Endurapro) doesn't seem to p

Doesn't work prtsc button on Tex Shinobi keyboard

2024-10-08 Thread Kirill A . Korinsky
misc@ I made an assumption that I'm not the only one using Tex Shinobi's keyboard, and just discovered that the Prtsc button doesn't work. Not working means that xev doesn't register an event. When I press it, it looks like I'm not pressing it. I was almost sure it was

Re: Access from LAN

2024-09-27 Thread Kirill A . Korinsky
On Fri, 27 Sep 2024 03:01:21 +0200, Jesse Lawton wrote: > > E.g. I put up a web server on 192.168.1.2 but can only access it on my > laptop. > With an assumption that you're connecting via WiFi I'd like to suggest that you have access between clients on that network. -- wbr, Kirill

Tracking not working webcam in LG 5K Display

2024-09-17 Thread Kirill A . Korinsky
/dev/video0 which turn for a moment green led inside cam on, but just for a moment. Quite soon it had an error: ioctl(VIDIOC_DQBUF): Invalid argument and ffplay goes to state from where I can't kill it, nor exit. ps shows it as: catap32871 0.0 0.3 29236 45860 p1 RE+/3 10:37PM

Re: softdep as well as noatime on each partition?

2024-09-17 Thread Kirill A . Korinsky
On Tue, 17 Sep 2024 21:11:10 +0200, Ronny Machado wrote: > > Thanks, that's what I'm doing right now, opened ungoogled-chromiun with > some windows opened, crawl-ss, and I'm gonna start my vmd up...will see > ;) > Chrome and it's fork is quite gredy for resources applicattion. ungoogled-chromiu

Re: softdep as well as noatime on each partition?

2024-09-17 Thread Kirill A . Korinsky
On Tue, 17 Sep 2024 18:32:08 +0200, Geoff Steckel wrote: > > Noatime only matters when the CPU outruns the mass storage long enough > for memory to fill with dirty inodes. > Then the system seems to pause while they are pushed out to storage. > Using a SSD and the large RAM in

Re: checksums to detect/correct bit-rot

2024-09-15 Thread Kirill A . Korinsky
On Sun, 15 Sep 2024 09:12:08 +0200, Jonathan Thornburg wrote: > > But before I reinvent the wheel, can anyone point me to software > which already does this? Bonus points if the software is already > in ports. > yabitrot? -- wbr, Kirill

Re: mount -a ingores NFS record in /etc/fstab

2024-09-10 Thread Kirill A . Korinsky
On Tue, 10 Sep 2024 23:29:58 +0200, Kirill A. Korinsky wrote: > > 10.36.25.1:/usr/src /usr/src nfs nodev,nosuid 0 0 Here the issue. This line misses fs_type. It requires rw, ro, or something. -- wbr, Kirill

mount -a ingores NFS record in /etc/fstab

2024-09-10 Thread Kirill A . Korinsky
/dev/sd1h on /usr/local type ffs (local, nodev, wxallowed) /dev/sd1i on /usr/obj type ffs (local, nodev, nosuid) /dev/sd1e on /var type ffs (local, nodev, nosuid) obsd$ doas mount -a obsd$ mount /dev/sd1a on / type ffs (local) /dev/sd1j on /home type

YubiKey replacment

2024-09-03 Thread Kirill A . Korinsky
misc@, due to the discovered vulnerability in YubiKey [1] which leads to buying a new device, I'm thinking of changing the used vendor because OTP HID doesn't work on OpenBSD. So here is the question, can you suggest a device that has: - FIDO2 - OATH - OpenPGP - USB-C - and smal

Re: How to add support to OpenSMTPD to distinguish between MTA and MSA operation mode?

2024-09-01 Thread Kirill A . Korinsky
an smtpd.conf(5)[1] there is an option to add a tag to the > "listen on [socket]" directive. Those tags are currently used in "match" > directives. Maybe this could be extended to add well known tags to a > listener to control operation modes like MTA or MSA. Both of th

Re: wtmp/$M1D4 values

2024-08-28 Thread Duncan Patton a Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Oooh. Lost knowledge begins. On Sat, 24 Aug 2024 04:23:01 -0600 Duncan Patton a Campbell wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > On a 7.4 AMD system I have modified some config file > so tha

wtmp/$M1D4 values

2024-08-24 Thread Duncan Patton a Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On a 7.4 AMD system I have modified some config file so that /var/log/wtmp is extended to 15 day: atlas:/$ date Sat Aug 24 04:18:40 MDT 2024 atlas:/$ last dhu : Thu Aug 15 22:52 still logged in reboot

Re: Automatic Disk Partitioning

2024-08-19 Thread Kirill A . Korinsky
On Wed, 07 Aug 2024 01:38:05 +0200, David Uhden Collado wrote: > > > Generally I would expect somebody who is new to OpenBSD to do a scratch > > install on a spare machine to try out the system, but then re-install at > > least once rather than continue using that scratch s

Re: how do I debug this? any hints?

2024-08-11 Thread Kirill A . Korinsky
On Sun, 11 Aug 2024 12:44:40 +0200, Peter Philipp wrote: > > Would this patch then, make any sense? > I don't think so. Right now it works out of the box on 7.5: /etc/acme-client.conf: domain kirill.korins.ky { domain key "/etc/ssl/private/kirill.korins.ky.key" dom

Re: how do I debug this? any hints?

2024-08-11 Thread Kirill A . Korinsky
ps://download.delphinusdns.org/pub/delphinusdnsd/snapshot/INSTALL/goldflipper11.png > 35 openssl s_client -connect download.delphinusdns.org:443 > > how do I debug this? If anyone can hold my hand a little bit here, I would > appreciate it. I have added TLSA DNS entries for all

Chromium and microphone at slack

2024-08-04 Thread Kirill A . Korinsky
misc@, I'm having a strange problem with Cromium and Slack: I can't use my microphone. Webcam and sound work, but not the microphone. Wired things that google meet work perfectly with microphone on the next tab. I run -current which I update once-twice per week, and I defentl

Re: doas tab completion

2024-07-30 Thread Kirill A . Korinsky
On Mon, 29 Jul 2024 17:32:06 +0200, Florian Obser wrote: > > in .kshrc: > > set -A complete_doas_1 -- $(ls /sbin /usr/sbin /bin /usr/bin /usr/X11R6/bin \ > /usr/local/sbin /usr/local/bin) > I think this way is cleaner, isn't it? set -A complete_doas_1 -- $(echo $PAT

Re: doas tab completion

2024-07-30 Thread Kirill A . Korinsky
On Mon, 29 Jul 2024 17:32:06 +0200, Florian Obser wrote: > > again, in .kshrc: > > HOST_LIST=`awk '{print $1}' < ~/.ssh/known_hosts | cut -f 1 -d, \ > | egrep -v '^[[:digit:]]|^$|\:\:' | sort -u` > > set -A complete_ssh -- ${HOST_LIST} >

Re: doas tab completion

2024-07-29 Thread Kirill A . Korinsky
On Mon, 29 Jul 2024 09:47:39 +0200, Robert Palm wrote: > > wonder how I can get TAB completion in the shell when using doas ... > > Do I need to add something to .profile ? > Depends on the shell you are using. Assuming you are using BASH, you will probably get what you want by: complete -

Re: Running OpenBSD on a VPS.

2024-07-11 Thread Kirill A . Korinsky
On Thu, 11 Jul 2024 03:10:43 +0100, Christian Schulte wrote: > > Running OpenBSD since then personally. Never had a chance to install it > to a server, because the providers did not support it. Now they do. Not all of them. Special in case like Hetzner, online.net and similar one.

Re: Filesystem corruption on OpenBSD routers after power outage?

2024-07-10 Thread Kirill A . Korinsky
v mfs rw,nosuid,noexec,-P=/persist-fs/dev,-i=2048,-s=32768 0 0 > I'd like to share https://marc.info/?l=openbsd-bugs&m=171959901216119&w=2 Here I have a pretty simple way to block mfs when the system starts to use swap. Not sure if it is achievable by you, but still worth mentioning -- wbr, Kirill

Re: Filesystem corruption on OpenBSD routers after power outage?

2024-07-10 Thread Kirill A . Korinsky
On Wed, 10 Jul 2024 14:44:28 +0100, Tom Smyth wrote: > > #cat /etc/fstab > > ff0023511d131fc2.a / ffs rw,softdep,noatime 1 1 > ff0023511d131fc2.b /usr/local ffs rw,wxallowed,nodev,softdep,noatime 1 2 > ff0023511d131fc2.d /var ffs rw,nodev,nosuid,softdep,noatime 1 2 > sw

Re: OpenBSD runs hotter than Linux with same laptop, draws more electricity?

2024-07-05 Thread A B
I'm thinking probably Intel themselves invested money into their own engineers to power optimize their hardware for Linux (arguably too little too late considering the inefficiencies of CISC-to-RISC in hardware and the growth of ARM as a result). Surely they would do it for servers

Re: OpenBSD runs hotter than Linux with same laptop, draws more electricity?

2024-07-04 Thread A B
> Unfortunately power management related code is pretty difficult to write > unless you know > the hardware very well. Basically, for now, run you machines warm and be... > proud! ;) Totally understand. I wouldn't want to delve too deeply into Intel-specific hardware quirks either. Will have t

Re: OpenBSD runs hotter than Linux with same laptop, draws more electricity?

2024-07-02 Thread Kirill A . Korinsky
On Tue, 02 Jul 2024 09:54:09 +0100, Stuart Henderson wrote: > > A lot of this is down to Linux having spent more time on optimising > things for power consumption. Things like choices made in the scheduler > (deciding which cpu to run a process on) have an effect, especially on &

OpenBSD runs hotter than Linux with same laptop, draws more electricity?

2024-07-01 Thread A B
I just wonder why OpenBSD requires more CPU load for the same kind of activity (web browsing), and also appears to draw more electricity from the power supply when measured, compared to Linux, when using the same laptop? Perhaps more Assembly instructions to complete the same task? But why? Memo

wsconsctl display.brightness non-functional

2024-07-01 Thread A B
I am using OpenBSD on a 15" 2011 Macbook Pro. The 2011 models have faulty Radeon GPU, so to use Intel graphics, I run: config -ef /bsd disable radeondrm quit And this solution is very stable. However, it is impossible to adjust the monitor backlight (may be unrelated to above?)

Re: /tmp on mfs is blocked

2024-06-28 Thread Kirill A . Korinsky
and here we go: ~ $ ps auxl | grep D USER PID %CPU %MEMVSZ RSS TT STAT STARTED TIME COMMAND UID PPID CPU PRI NI WCHAN root 40744 0.0 1.3 1049488 218256 ?? D 2:59PM0:13.90 /sbin/mount_nfs 0 1 0 -18 0 anonget catap 13530 0.0 2.0 1039

Re: /tmp on mfs is blocked

2024-06-28 Thread Kirill A . Korinsky
> > I never doubt that, but I had rebuild kernel on my machine with WITNESS, to > be able to get more usefull reason if such case happened again. > Seems that I had boot wrong kernel, or option WITNESS option WITNESS_WATCH wasn't enough, will reboot and double test it. The good news that

Re: /tmp on mfs is blocked

2024-06-28 Thread Kirill A . Korinsky
On Fri, 28 Jun 2024 11:09:56 +0100, Crystal Kolipe wrote: > > The mfs code has been stable for many releases in all of these scenarios. > I never doubt that, but I had rebuild kernel on my machine with WITNESS, to be able to get more usefull reason if such case happened again. -- wbr, Kirill

Re: /tmp on mfs is blocked

2024-06-28 Thread Kirill A . Korinsky
you remain locked there.. > Well, I had issue with wrong permission at /tmp on mfs and it lead to discover a bug inside emacs' tram mode :) Neverless this setup with /tmp on mfs seems to have right perssion, at least right enough to run X11 and things like Chrome for something like a month. -- wbr, Kirill

/tmp on mfs is blocked

2024-06-27 Thread Kirill A . Korinsky
misc@, I just encountered wired case when my /tmp was blocked, and nothing had worked. via ps I saw: root 59095 0.0 1.1 1049488 174152 ?? D Wed10PM0:40.02 /sbin/mount_mfs -o rw -o nodev -o nosuid -s 1024m swap /tmp and fstat -p 59095 points nothing abnormal: USER CMD

Re: accidentally overwritten wrong drive with DD, please help

2024-06-27 Thread Kirill A . Korinsky
On Thu, 27 Jun 2024 21:33:15 +0100, Anon Loli wrote: > > It'd be nice if someone can share any experiences with this matter (which > fall under the > conditions that which I imposed on myself), especially fsdb, assuming that it > can actually help in this matter... in an understandable fashion..

Re: accidentally overwritten wrong drive with DD, please help

2024-06-27 Thread Kirill A . Korinsky
I'm sorry, but > that's > not debatable.. > Well, when you're on you own. I really doubt that many software supports OpenBSD FS. > It sure does sound like a hobby for a while! > > Can't I just need to somehow fix the 1st 74M, and then somehow magically the

Re: accidentally overwritten wrong drive with DD, please help

2024-06-27 Thread Kirill A . Korinsky
> No kidding? The 1st few people made it sound like it's going to be relatively > easy :( > Depends on your luck. Right now we have some comercial and open-source software which may support OpenBSD FS, or may simple make a search in data to get some files. Anyway, this isn'

Re: accidentally overwritten wrong drive with DD, please help

2024-06-25 Thread Kirill A . Korinsky
On Tue, 25 Jun 2024 04:05:45 +0100, "B. Atticus Grobe" wrote: > > A word of warning: even multiple overwrites are not guaranteed to erase any > kind > of flash-based storage. This applies even to some spinning rust now that have > intermediate flash storage caches on

Re: accidentally overwritten wrong drive with DD, please help

2024-06-24 Thread Kirill A . Korinsky
On Mon, 24 Jun 2024 19:29:52 +0100, Anon Loli wrote: > > Encryption is a must, it's not just family photos, but even if it was, I'm > still not putting them on clear disk > You may fill your disk, after you recover everything with random data. Couple of times. It remove

Re: libopensmtpd with res_query_async never calls cb

2024-06-16 Thread Kirill A . Korinsky
On Fri, 14 Jun 2024 13:13:17 +0100, Kirill A. Korinsky wrote: > > Anyway, I'm puzzling that to do next. > long story short: my code contains asr_abort and when it had happened it doesn't decrease internal counter that lead to the deadlock. Anyway, I suggest to add DEBUG p

Re: booting and RAID-5

2024-06-15 Thread Kirill A . Korinsky
On Sat, 15 Jun 2024 14:05:07 +0100, Marco van Hulten wrote: > > Would a good approach be to create a root device on one disk (and maybe > altroots on one or both of the others) and use the rest of all disks as > RAID-5 device? Or is there a good reason to boot from a disk separat

Re: Do I need to wipe encrypted dual boot NVME before installation

2024-06-15 Thread Kirill A . Korinsky
On Sat, 15 Jun 2024 10:01:51 +0100, lafermedesanim...@posteo.net wrote: > > I have a dual boot Devuan/OpenBSD, I wrote random data on my > drive and then install the OSes, both are encrypted. > Now, I want to remove this dual boot to have only OpenBSD > and use it as a daily driver

Re: crippled my laptop trying to reclaim root space

2024-06-14 Thread Kirill A . Korinsky
On Thu, 13 Jun 2024 02:29:02 +0100, "Brian Conway" wrote: > > A note on how you got into the original situation without addressing all > the things you've done since: /dev should only be a few dozen KB in size > (less than 50). Some time in the past, you likely wrot

libopensmtpd with res_query_async never calls cb

2024-06-14 Thread Kirill A . Korinsky
lback which need to be fired, the whole code: https://github.com/catap/opensmtpd-filter-auth/blob/master/main.c#L863-L881 For one event loop it may setup a few quereis and some domain migth similar. After spending a lot of time with debug I narrow down to the issue in event_asr_dispatch which r

Re: cpu cores

2024-06-10 Thread Kirill A . Korinsky
Greetings, On Mon, 10 Jun 2024 13:15:13 +0100, Riccardo Mottola wrote: > > This is for workstation use, mixed user and developer. To each its own. > I bet it ends depending also on cache, memory and specific jobs. > Do not forget about IO, which can be a bottel neck in case

Re: Share one of machines IP via WireGuard

2024-06-08 Thread Kirill A . Korinsky
; 2. your machine to not be configured with the wg ip itself > > 3. route entries such that those packets end up sent out the wg interface > (you may possibly need a route command with -ifp wg0) > Thanks, after re-reading map page for route I was able to figure it out in quite sim

Re: Share one of machines IP via WireGuard

2024-06-08 Thread Kirill A . Korinsky
On Fri, 07 Jun 2024 16:25:48 +0100, Stuart Henderson wrote: > > I think you'll need proxy ARP then. > After a few attempts to make it works, I think I need help. My setup. Server: where em0 is uplink with routed 1.2.3.4/24 and 1.2.4.5/24 with expected gateway 1.2.3.1 and 1

Re: cpu cores

2024-06-08 Thread Kirill A . Korinsky
On Sat, 08 Jun 2024 11:09:29 +0100, Omar Polo wrote: > > On 2024/06/08 10:09:07 +0100, Kirill A. Korinsky wrote: > > On Sat, 08 Jun 2024 04:57:49 +0100, > > Gustavo Rios wrote: > > > > > > i have installed obsd on my dell notebook 8 cores processor. When i

Re: cpu cores

2024-06-08 Thread Kirill A . Korinsky
On Sat, 08 Jun 2024 04:57:49 +0100, Gustavo Rios wrote: > > i have installed obsd on my dell notebook 8 cores processor. When i execute > the top utility, it is showed the cores, from 0 (cpu0) to 7 (cpu7), but > cpu1 and cpu3 is not listed. What is the problem ? > A blind guess

Re: Open Source / BSD License Copyright infringements

2024-06-07 Thread Kirill A . Korinsky
On Fri, 07 Jun 2024 12:08:45 +0100, Florian Obser wrote: > > On 2024-06-07 12:04 +02, "Peter N. M. Hansteen" wrote: > > I tend to summarize along the lines of "BSD licensed means you can do > > whatever > > you damned well please with the code except claim that you wrote it all > > yourself" >

Re: Open Source / BSD License Copyright infringements

2024-06-07 Thread Kirill A . Korinsky
> the copyright holder, you can then take people to court if they withhold > such modified sources, since that's a license violation. > I'd like to add that AGPL requires to share the code of netwrok services as well to anyone who uses it. Yep, via network. At the end of the da

Re: Share one of machines IP via WireGuard

2024-06-07 Thread Kirill A . Korinsky
On Fri, 07 Jun 2024 12:36:20 +0100, Stuart Henderson wrote: > > Configure the IP address on the wg interface with some subnet of 1.2.4.0/24 > that > includes 1.2.4.5, and use wgaip 1.2.4.5/32 (or a larger block if you wish to > route > multiple addresses over wg) for

Share one of machines IP via WireGuard

2024-06-07 Thread Kirill A . Korinsky
misc@, I wonder if it is possible to share an IP associated with a machine through a WireGuard connection? Suppose I have a machine that has two IPs on different networks: - 1.2.3.4/24 gw 1.2.3.1 - 1.2.4.5/24 gw 1.2.5.1 I'd like to allow incoming connections via WG to 1.2.3.4 and fo

Re: Open Source / BSD License Copyright infringements

2024-06-06 Thread Kirill A . Korinsky
On Thu, 06 Jun 2024 03:33:53 +0100, "Peter J. Philipp" wrote: > > This isn't about Patents, this is about Copyright. And that's the sole > interest of mine, and Lawyers are there for a reason. It should interest > OpenBSD in one form or another since i use

Re: Open Source / BSD License Copyright infringements

2024-06-05 Thread Duncan Patton a Campbell
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 matter), to prevent people fro

Re: Open Source / BSD License Copyright infringements

2024-06-05 Thread Kirill A . Korinsky
On Wed, 05 Jun 2024 06:08:23 +0100, "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. > I have no proof of this personally but I ask you to he

  1   2   3   4   5   6   7   8   9   10   >