Re: Proper way to set PATH environment with SSH non-interactive command

2024-02-04 Thread Kastus Shchuka
On Sun, Feb 04, 2024 at 08:39:27AM -0700, Andy Bradford wrote: > Hello, > > When using SSH to invoke a remote command via the syntax: > > ssh remotehost remotecommand > > The $HOME/.profile is not used and there appears to be a very minimal > environment setup. The PATH does not include

Re: AAAA entry for openbsd.org

2023-10-22 Thread Kastus Shchuka
out of six CDN mirrors listed on https://www.openbsd.org/ftp.html have ipv6 addresses with appropriate DNS entries. -Kastus

Re: OT: Github requiring 2FA auth, meaning

2023-08-30 Thread Kastus Shchuka
On Thu, Aug 31, 2023 at 08:59:46AM +0900, lain. wrote: > On 2023年08月30日 19:35, the silly Daniele B. claimed to have said: > > Finally I activated a couple of 2FA options on my Github account > > Imagine entrusting Microsoft with your source code lol. You may make as many jokes about Microsoft as

Re: Ryzen 9 (7x000) users: do you experience hangs?

2023-07-18 Thread Kastus Shchuka
; Matthew > Is AMD errata referenced from https://inks.tedunangst.com/l/4996 any relevant? (errata #1474 in https://www.amd.com/system/files/TechDocs/56323-PUB_1.01.pdf) -Kastus

Re: program compiled with clang from base runs 4 times slower than compiled with gcc-11.2.0p6 from ports

2023-06-04 Thread Kastus Shchuka
dev/null 0m14.36s real 0m12.85s user 0m00.39s system So to me it seems that fixup-gadgets is the culprit. Thanks, Kastus

program compiled with clang from base runs 4 times slower than compiled with gcc-11.2.0p6 from ports

2023-06-04 Thread Kastus Shchuka
that runs 4 times faster than binary compiled with clang? Am I missing any compiler flags for clang? Makefile defines CFLAGS = -ansi -pedantic -Wall -Wextra -O3 -g3 This is all on 7.3-release system. Thanks for any pointers to the gaps in my knowledge of compilers. -Kastus 1. https

Re: vi - inability to search backwards for ?

2023-05-13 Thread Kastus Shchuka
On Fri, May 12, 2023 at 11:11:23PM -0700, Jeremy Mates wrote: > A search for /\/ is okay; this discards the \ and searches for "/" > > A search for ?\? is not okay; this discards the \ and searches for "?" > which is an invalid regular expression, "RE error: repetition-operator > operand

Re: Asymmetric file encryption… use gnupg from ports or is there something else?

2023-05-08 Thread Kastus Shchuka
On Tue, May 09, 2023 at 09:21:03AM +1000, Stuart Longland wrote: > Hi all, > > Silly question… is there a tool for encrypting files with asymmetric > keys on OpenBSD? I'm aware of GnuPG in ports, and I'm fine with using > that, however I'm curious to know what other options there are out >

Re: Home folder default permission

2023-03-23 Thread Kastus Shchuka
On Thu, Mar 23, 2023 at 06:08:05AM +0100, Jasper Valentijn wrote: > Op di 21 mrt. 2023 20:33 schreef Denis Mikhlevich : > > > > > By hand I change the permision to 750 after creation a new user. > > Could I change the default behavior without manual change the permission? > > > >

Re: Possible typo in fw_update

2022-12-11 Thread Kastus Shchuka
tions with omitted colon. I wonder if we would rather update man page of ksh. -Kastus

Re: ksh: documented substitution behavior contradicts actual behavior

2022-10-16 Thread Kastus Shchuka
On Sun, Oct 16, 2022 at 11:48:35AM +0100, cho...@jtan.com wrote: > Kastus Shchuka writes: > > On Sat, Oct 15, 2022 at 11:42:17PM -0300, Lucas de Sena wrote: > > > Hi, > > > > > > After trying to split a string into fields delimited with colons and > > >

Re: ksh: documented substitution behavior contradicts actual behavior

2022-10-16 Thread Kastus Shchuka
On Sat, Oct 15, 2022 at 11:42:17PM -0300, Lucas de Sena wrote: > Hi, > > After trying to split a string into fields delimited with colons and > spaces, I found this bug in how ksh(1) does substitution. The actual > behavior contradicts what other shells like bash and mksh do and also >

Re: My home router, running OpenBSD 7.1, won't boot headlessly

2022-09-25 Thread Kastus Shchuka
On Sun, Sep 25, 2022 at 08:12:51AM -0400, Z. Charles Dziura wrote: > Hello everybody, > > A couple of months ago, I decided to build my own custom router for my home > network by following this[1] guide. The machine itself works quite well, > except for one glaring flaw: it won't boot up properly

Re: serial console works only if system is booted from it

2022-07-25 Thread Kastus Shchuka
On Sun, Jul 24, 2022 at 11:35:18PM -0700, Kastus Shchuka wrote: > On Mon, Jul 25, 2022 at 01:38:41AM -0400, Hugo Villeneuve wrote: > > > > I wrote this ages ago: > > > > https://marc.info/?l=openbsd-misc=139089795907395=2 > > > > it may apply to you. >

Re: serial console works only if system is booted from it

2022-07-25 Thread Kastus Shchuka
ttyin 0:00 0.00% getty 18041 root 30 508K 1476K idle ttyin 0:00 0.00% getty 11907 root 30 508K 1496K idle ttyopn0:00 0.00% getty I wonder if getty cannot open tty00 for some reason. Thanks, Kastus > > > > On Sun, Jul 24, 2022 a

serial console works only if system is booted from it

2022-07-24 Thread Kastus Shchuka
ums0 mux 0 uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 uhub2 at uhub0 port 5 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/60.70 addr 4 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (f4577e081ef8a072.a) swap on sd0b dump on sd0b inteldrm0: 1280x1024, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) Thanks, Kastus

Re: setting up an email server in a recent version of OpenBSD

2021-09-27 Thread Kastus Shchuka
On Mon, Sep 27, 2021 at 08:42:30PM +0300, Teno Deuter wrote: > Dear group, > > anyone could point to some recent online resources how to setup an email > server in OpenBSD? What I found from Google was a bit thin. So I'm > wondering if I was missing something out there. Did

Re: vi: count occurrences of a substring

2021-09-04 Thread Kastus Shchuka
"awk-ward": :%!perl -0777 -ne 'print s/abc//g;' and then undo the change to the buffer - Kastus

Re: snapshot boot fails with error "entry point at 0x1001000"

2020-10-26 Thread Kastus Shchuka
On Sun, Jul 05, 2020 at 09:32:47PM -0700, Kastus Shchuka wrote: > On Sat, Jul 04, 2020 at 11:09:54AM +, Michael Baehr wrote: > > Kastus Shchuka wrote: > > “I installed 2020-07-03 snapshot on ASRock J4105M system and I am not able > > to boot it. > > Boot stops

Re: 6.8 release crash on boot, "entry point at: 0x1001000" (Intel Gemini Lake)

2020-10-26 Thread Kastus Shchuka
work on some other systems, like Lenovo V130. Thanks, Kastus

Re: OpenSMTP - Wrong user for Dovecot LMTP

2020-10-18 Thread Kastus Shchuka
On Sun, Oct 18, 2020 at 08:55:16PM -0400, Aisha Tammy wrote: > Hi, > >  I just upgraded to 6.8 and the upgrade process has been super cool and > simple :) > > Unfortunately I seem to have hit some weird issue in OpenSMTPD where it has > stopped > delivering the mail using Dovecots LMTP due to

Re: Snapshot crash on boot, "entry point at: 0x1001000" (Intel Gemini Lake)

2020-10-09 Thread Kastus Shchuka
y failing to boot a kernel larger than certain size. I posted my solution here: https://marc.info/?l=openbsd-misc=159401011632149=2 I guess the patch requires more testing before asking for it to be committed. Thanks, Kastus

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-15 Thread Kastus Shchuka
On Sat, Aug 15, 2020 at 07:49:28AM +, Martin wrote: > It is worth to mention smtpd works absolutely fine for outgoing/incoming mail > if local machine has static IP address when: > ... > table sources {1.2.3.4} equivalent to > table helonames {1.2.3.4 = smtp.domain.tld} > ... > > And yes, I

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-13 Thread Kastus
On Thu, Aug 13, 2020 at 10:35:32AM +, Martin wrote: > OpenSMTPd 6.7.0 OpenBSD 6.7-current on local machine. All machine's traffic > redirected trough iked IPsec VPN to remote gateway machine and uses PF NAT > rule first: > > match out log on enc0 from 0.0.0.0/0 to 0.0.0.0/0 nat-to

Re: snapshot boot fails with error "entry point at 0x1001000"

2020-07-05 Thread Kastus Shchuka
On Sat, Jul 04, 2020 at 11:09:54AM +, Michael Baehr wrote: > Kastus Shchuka wrote: > “I installed 2020-07-03 snapshot on ASRock J4105M system and I am not able to > boot it. > Boot stops at the line > > entry point at 0x1001000 > > If I try bsd.rd kernel, i

snapshot boot fails with error "entry point at 0x1001000"

2020-07-03 Thread Kastus Shchuka
.00/88.32 addr 2 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd1a (ba86fe19f0932737.a) swap on sd1b dump on sd1b [drm] GuC: No firmware known for this platform! [drm] HuC: No firmware known for this platform! inteldrm0: 1280x1024, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) Thanks, Kastus