VPN with iked(8)

2024-04-28 Thread Odd Martin Baanrud
Hello, I’m planning to set up a VPN on my router with iked(8). The first goal is to have my Macbook and iPhone connected, both to route the traffic thrugh my router at home, and to get access to the services running on a machine behind the router. I’ve read the VPN section in the FAQ, and I

Re: has dump(8) changed or something? recently?

2024-04-26 Thread Claudio Jeker
On Fri, Apr 26, 2024 at 12:44:34PM +0200, Peter J. Philipp wrote: > Hi! > > I've had some problems with dump(8) lately. A 800 GB SSD partition on a > raspberry pi 4b (via USB) that is 50% filled had trouble with dump. I don't > know why this could be, but it used to work. > &

has dump(8) changed or something? recently?

2024-04-26 Thread Peter J. Philipp
Hi! I've had some problems with dump(8) lately. A 800 GB SSD partition on a raspberry pi 4b (via USB) that is 50% filled had trouble with dump. I don't know why this could be, but it used to work. Here is my backup script that I used to run in my "nodump" chflagged /home/pjp/Backup

Re: OpenBSD Errata: April 8, 2024 (xserver)

2024-04-04 Thread Janne Johansson
Den tors 4 apr. 2024 kl 07:31 skrev Mizsei Zoltán : > > The webpage https://www.openbsd.org/errata74.html > lists this like "016: SECURITY FIX: April 8, 2024 > " but according to my calendar today is 04.04. > Also it lists 7.5 as affected, but it doesnt even released

OpenBSD Errata: April 8, 2024 (xserver)

2024-04-03 Thread Mizsei Zoltán
The webpage https://www.openbsd.org/errata74.html lists this like "016: SECURITY FIX: April 8, 2024   " but according to my calendar today is 04.04. Also it lists 7.5 as affected, but it doesnt even released yet, right? Whats going on here? Regards, --ext

Re: ldapd(8), SASL/PLAIN authentication and {i,mac}OS

2024-03-10 Thread Manuel Kuklinski
icate via SASL/PLAIN, as far as I can > observe via the debug log. Since the default behaviour seems to be to > "authenticate users via simple binds", it fails. I can also provide a > log, if necessary. > If no: how can I achieve SASL/PLAIN authentication with ldapd(8)? Th

ldapd(8), SASL/PLAIN authentication and {i,mac}OS

2024-03-09 Thread Manuel Kuklinski
, it fails. I can also provide a log, if necessary. Now my questions: are there users out there that have a similiar setup, especially with {i,mac}OS? If yes: I'd be happy about config snippets... If no: how can I achieve SASL/PLAIN authentication with ldapd(8)? The manpage is not exactly informa

Re: YubiKey blocked by pcscd(8)

2024-02-27 Thread Kirill A . Korinsky
On Tue, 27 Feb 2024 15:05:08 +0100, Lévai, Dániel wrote: > > Hi all, > > I was wondering if it's possible to use a YubiKey 5 a bit more conveniently > if trying to use more than one of its features. > I use it for: - GnuPG signature and as SSH key; - a TOTP generator See: ~ $ doas rcctl

YubiKey blocked by pcscd(8)

2024-02-27 Thread Lévai , Dániel
Hi all, I was wondering if it's possible to use a YubiKey 5 a bit more conveniently if trying to use more than one of its features. When I have pcscd(8) running, e.g. gpg signing (SmartCard) works but I can't use e.g. challenge-response. After stopping pcscd(8), I can use e.g. ykchalresp(1

mrouted(8) warnings.

2023-12-20 Thread Eivind Eide
I get these warnings from OpenBSD's mrouted(8). Apart from flooding /var/log/messages, do they actually _mean_ anything, or should I just ignore them? I couldn't find much on the net. Dec 20 20:36:04 niflheim mrouted[92830]: warning - age_table_entry: SIOCGETSGCNT failing for (192.168.3.47

Re: [PossibleSpam] UTF-8 chars

2023-12-19 Thread Omar Polo
On 2023/12/16 20:12:16 +0100, Robert Palm wrote: > > Thanks again to all of you! > > xterm is now working!!! > > Still, xfce4-terminal doesn't seem to use this settings. > > Don't dare to ask where that setting is digged. I tried for curiosity and xfce4-terminal doesn't show the lock icon

Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Robert Palm
(and then xrdb -load ~/.Xdefaults dependending on your configuration) XTerm*faceName: xft:DejaVu Sans Mono:pixelsize=10 also... Robert Palm wrote: > > Seems I have no success... > > Did a > > export LC_CTYPE=de_DE.UTF-8 How did you ran this? Running *inside* the terminal emu

Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Omar Polo
wrote: > > > > > Seems I have no success... > > > > Did a > > > > export LC_CTYPE=de_DE.UTF-8 How did you ran this? Running *inside* the terminal emulator won't change anything. I don't know if xfce sets up this var by itself, but usually you'd need it in your ~/.xsession file.

Re: UTF-8 chars

2023-12-16 Thread Capitan Cloud
Who did ircnow Billy G ?

Re: UTF-8 chars

2023-12-16 Thread jrmu
This is the setup I use for Chinese and it works OK for me for traditional Chinese and xterm: https://wiki.ircnow.org/index.php?n=Openbsd.Uim Fonts render properly and traditional Chinese input works. -- jrmu IRCNow (https://ircnow.org)

Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Nowarez Market
Using xterm, then CTRL + Right click, I add TrueType and I can display the lock: https://5md.es/l/2cc972f Seems you need a TrueType font do display the trick... == Nowarez Market Robert Palm wrote: > > Seems I have no success... >

Re: [PossibleSpam] UTF-8 chars

2023-12-16 Thread Robert Palm
Seems I have no success... Did a export LC_CTYPE=de_DE.UTF-8 and use DejaVu Sans Mono Book 12 as xterm font. Can enter, e.g. Σ with CTRL - SHIFT u 03a3 (or simply copy it in xterm). For 1f512 , i.e. , still only a blank. Anything else you specified maybe ? I have xfce-terminal 1.1.1

Re: UTF-8 chars

2023-12-15 Thread Robert Palm
e\Chinese in OpenBSD.. > >I have the font Noto in my system and I own the following in the >.xinitrc file: > >export LC_CTYPE=zh_CN.UTF-8 > >export GTK_IM_MODULE=xim >export QT_IM_MODULE=xim >export GLFW_IM_MODULE=ibus >export XMODIFIERS="@im=SCIM" >/usr/local/b

Re: UTF-8 chars

2023-12-15 Thread Nowarez Market
I neither can't see the char you show us but about the support of the unicode\Chinese in OpenBSD.. I have the font Noto in my system and I own the following in the .xinitrc file: export LC_CTYPE=zh_CN.UTF-8 export GTK_IM_MODULE=xim export QT_IM_MODULE=xim export GLFW_IM_MODULE=ibus export

Re: [PossibleSpam] UTF-8 chars

2023-12-15 Thread Omar Polo
On 2023/12/15 15:33:44 -0600, "Jay F. Shachter" wrote: > > Centuries ago, Nostradamus predicted that Robert Palm would write on Fri Dec > 15 15:10:58 2023: > > > > > I am playing with UTF-8 characters and try to display, e.g. a lock > > symbol ht

Re: [PossibleSpam] UTF-8 chars

2023-12-15 Thread Jay F. Shachter
Centuries ago, Nostradamus predicted that Robert Palm would write on Fri Dec 15 15:10:58 2023: > > I am playing with UTF-8 characters and try to display, e.g. a lock > symbol https://www.compart.com/en/unicode/U+1F512 > > I use xfce and set the terminal default character en

UTF-8 chars

2023-12-15 Thread Robert Palm
I am playing with UTF-8 characters and try to display, e.g. a lock symbol https://www.compart.com/en/unicode/U+1F512 I use xfce and set the terminal default character encoding to UTF-8 in advanced settings. Still I cannot get it displayed in xterm or emacs, e.g. by simply trying

indent(1) has issues formatting lsblk(8) correctly

2023-09-01 Thread Benjamin Stürz
const struct my_diskinfo *sub; //If this is part of a RAID const char *raidstatus; //Only available if (sub != NULL) }; struct my_diskinfo { char type [16]; char label[16]; char name [8]; uint64_t size; uint64_t

10G ixl(4)/vio(4) Proxmox 8 - analysis

2023-08-22 Thread Mark Patruck
Hi misc@, i'm running a one day old -current on Proxmox 8. The underlying system is based on is a Supermicro/Epyc 7402P 24x 2,8GHz with 128GB memory and Intel X710 ixl(4) cards (latest FW 9.30). Tests on the HV itself look good with speeds near to 9.5Gbit/s and the same applies for direct

Re: Debugging system failure as per crash(8)

2023-02-08 Thread Stuart Henderson
On 2023-02-07, pulsed...@tutanota.com wrote: > Hello, > > How would I solve debugging a kernel issue when ddb(4) will freeze running > "boot crash" and using gdb(1) with "target kvm" will not write to the disk? > Is taking photographs of my computer screen the only option to record trace >

Debugging system failure as per crash(8)

2023-02-06 Thread pulsedraw
Hello, How would I solve debugging a kernel issue when ddb(4) will freeze running "boot crash" and using gdb(1) with "target kvm" will not write to the disk? Is taking photographs of my computer screen the only option to record trace information? The system messagebuffer is not large

Re: Probable bug in disklabel(8) -R

2023-02-04 Thread Crystal Kolipe
On Fri, Feb 03, 2023 at 06:14:19PM +0100, Puru Shartha wrote: > If this is intentional, would one have to first extend the boundaries > and then restore the disk label? When you restore the disklabel, the partitions are restored correctly even though they extend beyond the new boundend value. If

Re: Probable bug in disklabel(8) -R

2023-02-03 Thread Puru Shartha
Namaste Crystal, Koti Koti Dhanyavaad for your reply. > Sent: Friday, February 03, 2023 at 3:21 PM > From: "Crystal Kolipe" > To: "Puru Shartha" > Cc: "Misc" > Subject: Re: Probable bug in disklabel(8) -R > > On Fri, Feb 03, 2023 a

Re: Probable bug in disklabel(8) -R

2023-02-03 Thread Crystal Kolipe
On Fri, Feb 03, 2023 at 04:02:43PM +0100, Puru Shartha wrote: > Problem: > The restored disk will have the boundend at 2 TB, instead of the source > disk's full disk size boundend. ... > The net effect may be that the restored disk has not had its boundary > extended beyond the fdisk limit of 2

Probable bug in disklabel(8) -R

2023-02-03 Thread Puru Shartha
Namaste misc, Introduction: While using the "-R" option with disklabel(8), in a specific case, the target disk may not match the source disk label parameters. More precisely, the target disk's boundend may not match with the source disk. Overview: A disk with storage greater than 2

Re: chmod change means dump(8) the file

2023-01-25 Thread Otto Moerbeek
On Thu, Jan 26, 2023 at 12:18:45AM +0100, Jan Stary wrote: > I have a large /media disk that I backup nightly using dump(8): > full level 0 on the Sun/Mon night, incrementals through the week. > The level 0 dump is huge, the incrementals are usualy trivial > unless I add somethi

Re: chmod change means dump(8) the file

2023-01-25 Thread Philip Guenther
On Wed, Jan 25, 2023 at 4:35 PM Jan Stary wrote: > On Jan 26 00:18:45, h...@stare.cz wrote: > > I have a large /media disk that I backup nightly using dump(8): > > full level 0 on the Sun/Mon night, incrementals through the week. > > The level 0 dump is huge, the incrementa

Re: chmod change means dump(8) the file

2023-01-25 Thread Jan Stary
On Jan 26 00:18:45, h...@stare.cz wrote: > I have a large /media disk that I backup nightly using dump(8): > full level 0 on the Sun/Mon night, incrementals through the week. > The level 0 dump is huge, the incrementals are usualy trivial > unless I add something to /media. >

chmod change means dump(8) the file

2023-01-25 Thread Jan Stary
I have a large /media disk that I backup nightly using dump(8): full level 0 on the Sun/Mon night, incrementals through the week. The level 0 dump is huge, the incrementals are usualy trivial unless I add something to /media. Yesterday I chmod'd a lot of the files, without making any other change

Re: httpd(8) request rewrite - 500 internal server error

2023-01-25 Thread Ashlen
Oh. I should add that if all you want is a static redirect, this is a simpler way of making that work. The first example I gave is in case you want to redirect the contents of "/from/" as well. server "localhost" { listen on 127.0.0.1 port 80 location "/from/" {

Re: httpd(8) request rewrite - 500 internal server error

2023-01-25 Thread Ashlen
On 23/01/25 11:20, Lévai, Dániel wrote: > Hi all, > > I was trying to do a basic path rewrite in httpd(8) on 7.2-stable, and I just > can't see what I'm missing: > > httpd.conf: > server "host" { > listen on egress port 12345 > >

httpd(8) request rewrite - 500 internal server error

2023-01-25 Thread Lévai , Dániel
Hi all, I was trying to do a basic path rewrite in httpd(8) on 7.2-stable, and I just can't see what I'm missing: httpd.conf: server "host" { listen on egress port 12345 root "/htdocs" location "/" { request rewrite &qu

Re: Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-27 Thread Puru Shartha
Hallo Ibsen, > I want to use the altroot facility, but I don't want to read the mails > about the the backup succeeding and nothing else failing. > > Reading the scripts and the manual pages, I see no support for sending > the daily, weekly, or monthly mails only on failure. I also see > no

Re: Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-25 Thread Jason McIntyre
pearing, but i think we might want to say it. the commit message was: revision 1.29 date: 2020/10/20 22:42:29; author: danj; state: Exp; lines: +2 -19; commitid: EFsAssont5N9pxsI; Remove calls for df(1), netstat(1), and the verbose dump(1) With this change, dail

Re: Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-25 Thread Claus Assmann
On Sun, Dec 25, 2022, Ibsen S Ripsbusker wrote: > ... want > to read reports only when something failed? Use a mail filter. #!/bin/sh # filter (in)security mails: # if it's only this: return 1 which causes the mail to be discarded egrep -v '^(Running security|Checking the /etc/master.passwd

Re: Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-25 Thread Stuart Henderson
On 2022-12-25, Ibsen S Ripsbusker wrote: > I want to use the altroot facility, but I don't want to read the mails > about the the backup succeeding and nothing else failing. > > Reading the scripts and the manual pages, I see no support for sending > the daily, weekly, or monthly mails only on

Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-25 Thread Ibsen S Ripsbusker
I want to use the altroot facility, but I don't want to read the mails about the the backup succeeding and nothing else failing. Reading the scripts and the manual pages, I see no support for sending the daily, weekly, or monthly mails only on failure. I also see no support for running ROOTBACKUP

Re: Guide for Configuring python(1) with httpd(8)

2022-12-24 Thread Crystal Kolipe
On Fri, Dec 23, 2022 at 07:57:56PM +, indivC wrote: > However, the 'cgi' module is giving me trouble that I can't resolve. > It simply won't import without errors. > > Why am I trying to import the 'cgi' module? > What I want to do is pass data. ... > The above is just a simple example that

Re: Guide for Configuring python(1) with httpd(8)

2022-12-23 Thread indivC
--- Original Message --- On Tuesday, December 20th, 2022 at 6:44 PM, Crystal Kolipe wrote: If you don't mind, I'd like to respond to some of this later. I think I better understand some of my confusions, but I'm not fully there yet. Currently, I've had no issues displaying content. I

Re: Guide for Configuring python(1) with httpd(8)

2022-12-20 Thread Crystal Kolipe
On Tue, Dec 20, 2022 at 02:01:03PM +, indivC wrote: > Crystal, > > I really appreciate the detailed explanations > and step by step instructions. > I was able to follow everything without a problem > and was able to finally access the python file from a web browser. Glad you've got it

Re: Guide for Configuring python(1) with httpd(8)

2022-12-20 Thread indivC
Crystal, I really appreciate the detailed explanations and step by step instructions. I was able to follow everything without a problem and was able to finally access the python file from a web browser. On Monday, December 19th, 2022 at 11:07 AM, Crystal Kolipe wrote: > # mkdir

Re: Guide for Configuring python(1) with httpd(8)

2022-12-19 Thread Crystal Kolipe
this file need to be placed? > What configuration changes need to be made to make this work? The first thing to understand is that there are several ways to do what you want to do. Quite a lot of different ways, actually. > Currently, httpd(8) is running > and I'm able to access HTML

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread indivC
') Within a browser, I want to be able to access this file and see 'Hello World' displayed. Where does this file need to be placed? What configuration changes need to be made to make this work? Currently, httpd(8) is running and I'm able to access HTML files via a web browser. I've seen mentions online

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Bodie
On 18.12.2022 08:07, indivC wrote: Can anyone provide a guide for this or rough instructions? I'm running httpd(8) and trying to utilize a python(1) script with an html file. I've got this working using perl(1). However, it doesn't work with python(1) when following the same steps

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Stuart Henderson
is or rough instructions?", > which is in reference to the subject > "Guide for Configuring python(1) with httpd(8)". Surely the goal is to run some particular software and make it available via an httpd(8) frontend and not just run python(1) i.e. the Python interpreter?

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Crystal Kolipe
On Sun, Dec 18, 2022 at 12:18:32PM +0100, Omar Polo wrote: > On pypi there is a 'fastcgi' library. it's not packaged on OpenBSD > and I can't asses how good it is Alternatively, just write a fastcgi handler from scratch - the protocol is fairly simple and fully documented. Httpd only implements

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Omar Polo
you didn't tell.) > > I believe that is exactly what I'm trying to do. > The end goal is to be able access a python(1) file from httpd(8). > My understanding is you have to configure slowcgi(8), > which utilizes fastcgi, within httpd(8). > I've been able to config

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread indivC
On Sunday, December 18th, 2022 at 8:38 AM, Mark Willson > This is the script I use to set up python for httpd: I looked over the script and it seems to do pretty much what I've already done. It copies some additional files that I didn't copy. My first attempt was just to copy o

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread indivC
e subject "Guide for Configuring python(1) with httpd(8)". Did i precede to explain how I was trying to attempt to accomplish Y with X? Yes, but I don't see why that would be a problem. I feel like it's better for users to actually attempt to try and solve their problems then not to try at all.

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Omar Polo
the requests over fastcgi? (assuming this is what you're trying to do, but you didn't tell.) On 2022/12/18 07:07:20 +, indivC wrote: > Can anyone provide a guide for this or rough instructions? > I'm running httpd(8) and trying to utilize a python(1) script > with an html file. &

Re: Guide for Configuring python(1) with httpd(8)

2022-12-18 Thread Mark Willson
> -Original Message- > From: owner-m...@openbsd.org On Behalf Of indivC > Sent: 18 December 2022 07:07 > To: misc@openbsd.org > Subject: Guide for Configuring python(1) with httpd(8) > > Can anyone provide a guide for this or rough instructions? > I'm run

Guide for Configuring python(1) with httpd(8)

2022-12-17 Thread indivC
Can anyone provide a guide for this or rough instructions? I'm running httpd(8) and trying to utilize a python(1) script with an html file. I've got this working using perl(1). However, it doesn't work with python(1) when following the same steps. My python(1) version is 3.9.15 My OpenBSD

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread Dave Voutila
"Theo de Raadt" writes: >> vmd: getgrnam >> parent: proc_dispatch: msgbuf_write: Broken pipe > > Your /etc/group file is out of date. > > And this code in vm_agentx.c is very unreasonable: > > /* > * Make sure we can connect to /var/agentx/master with the correct > *

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread matthew j weaver
Ah, because _rtadvd already held GID 92 so my sysmerge after the sysupgrade to 7.2 partially failed -- and I ignored it. Thank you, Theo, I appreciate the assist. It does feel like a pretty hostile failure mode. weaver On Wed, Dec 14, 2022, at 13:48, Theo de Raadt wrote: >> vmd: getgrnam >>

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread Dave Voutila
,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSA

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread Theo de Raadt
> vmd: getgrnam > parent: proc_dispatch: msgbuf_write: Broken pipe Your /etc/group file is out of date. And this code in vm_agentx.c is very unreasonable: /* * Make sure we can connect to /var/agentx/master with the correct * group permissions. */ if

vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread matthew j weaver
: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
> > then contacting an NTP server would be outside the scope > > > of file validation. > > > > > > Any clarity on this would be helpful. Thanks. > > > > > > > This is a documentation error. The 2nd paragraph should be outside the > > o

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Jason McIntyre
would be helpful. Thanks. > > > > This is a documentation error. The 2nd paragraph should be outside the > option list. > > This is bettet I think. > > -Otto > > Index: ntpd.8 > ======= > RCS file: /h

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Jason McIntyre
On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > I'm a little confused with the man page for ntpd. > > For the '-n' flag, it says: > 'Configtest mode. Only check the configuration file for validity.'. > I have no problem with this and understand it. > > However, the section below

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
tion for validity, > then contacting an NTP server would be outside the scope > of file validation. > > Any clarity on this would be helpful. Thanks. > This is a documentation error. The 2nd paragraph should be outside the option list. Th

Slight Confusion with ntpd(8)

2022-11-05 Thread indivC
I'm a little confused with the man page for ntpd. For the '-n' flag, it says: 'Configtest mode. Only check the configuration file for validity.'. I have no problem with this and understand it. However, the section below that, which is still under '-n', says: 'ntpd will stay in the foreground

Question on using !!prog with syslogd(8)

2022-09-24 Thread Joel Carnat
Hello, I want to take actions when specific logs appear but still want to log them in a file (for further inspection). But "!!prog" does not work as I would expect. I've tested on 7.1 and 7.2/snapshots. When using '!!', only the first action is applied. I configured syslog.conf this way:

Re: init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Stuart Henderson
On 2022-09-13, Walter Alejandro Iglesias wrote: > I'm posting this here since I'm not sure if it's a bug or something I > did wrong. Today I upgraded to the latest snapshot and while booting to > the new system init ran syspatch(8). I can't figure out why. This is normal after doing a

init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Walter Alejandro Iglesias
I'm posting this here since I'm not sure if it's a bug or something I did wrong. Today I upgraded to the latest snapshot and while booting to the new system init ran syspatch(8). I can't figure out why. dmesg: OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT 2022 dera...@amd64

Re: afterboot(8), documentation and wscons

2022-09-07 Thread Jason McIntyre
On Wed, Sep 07, 2022 at 07:26:39PM +, Micha?l Dupont wrote: > Hi everyone, > > I recently installed and configured OpenBSD on a laptop ??? works great! > > However, as a new user, I had trouble finding out about wscons(4), > and that I can use wsconsctl(8) for common la

afterboot(8), documentation and wscons

2022-09-07 Thread Michaël Dupont
Hi everyone, I recently installed and configured OpenBSD on a laptop – works great! However, as a new user, I had trouble finding out about wscons(4), and that I can use wsconsctl(8) for common laptop configuration such as disabling the bell, setting the display brightness and enabling touchpad

Re: Cannot open logfile in unbound(8)

2022-09-04 Thread lucic71
> This would usually suggest that the uid used by the daemon does not > have permission to access to the log file or directory containing it That's right, Stuart. I created the file as root and the user _unbound could not access the file. Thanks for the help!

Re: Cannot open logfile in unbound(8)

2022-08-31 Thread Stuart Henderson
On 2022-08-31, luci...@ctrl-c.club wrote: > Hi, > What is the proper way to use a logfile in unbound(8)? I tried adding > the following lines in /var/unbound/etc/unbound.conf: > # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ > > server: > use-syslog:

Re: Cannot open logfile in unbound(8)

2022-08-31 Thread Łukasz Moskała
W dniu 31.08.2022 o 12:39, luci...@ctrl-c.club pisze: Hi, What is the proper way to use a logfile in unbound(8)? I tried adding the following lines in /var/unbound/etc/unbound.conf: # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ server: use-syslog: no logfile

Cannot open logfile in unbound(8)

2022-08-31 Thread lucic71
Hi, What is the proper way to use a logfile in unbound(8)? I tried adding the following lines in /var/unbound/etc/unbound.conf: # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ server: use-syslog: no logfile: log/unbound.log Then touched /var/unbound/log

mount_ntfs(8) -u/-g problem?

2022-08-17 Thread Michael W. Lucas
Hi, I'm running: OpenBSD victim.blackhelicopters.org 7.2 GENERIC.MP#640 amd64 According to mount_ntfs(8), -u and -g let you set UID and GID of mounted filesystems. Took an NTFS USB drive, plugged it in, mounted it, and checked ownership. # mount_ntfs -u mwlucas -g mwlucas /dev/sd4i /mnt/ # ls

Re: dump(8) is slow

2022-08-11 Thread Christian Weisgerber
On 2022-08-10, Tomasz Rola wrote: >> DUMP: Date this dump completed: Tue Aug 9 13:51:01 2022 >> DUMP: Average transfer rate: 36530 KB/s >> >> That is far below the read-write speed of a modern SATA drive. > > Ok. But what is a theoretic speed limit for this device? The data sheet claims

Re: dump(8) is slow

2022-08-10 Thread Tomasz Rola
On Tue, Aug 09, 2022 at 07:06:04PM -0600, Theo de Raadt wrote: > Tomasz Rola wrote: > > > Ok. But what is a theoretic speed limit for this device? > > [...] > > Bravo, you tested the speed at 1024 bytes of data per system call. The OP complained his dump was slow. I was wondering if it was

Re: dump(8) is slow

2022-08-09 Thread Theo de Raadt
Tomasz Rola wrote: > Ok. But what is a theoretic speed limit for this device? > > If I do something like this on my laptop w/ssd: > > # date +'%s'; dd if=/dev/sda2 of=/dev/null bs=1024 count=$((512*1024)); > date +'%s' > 1660089697 > 521565184 bytes (522 MB, 497 MiB) copied, 2 s, 261 MB/s >

Re: dump(8) is slow

2022-08-09 Thread Tomasz Rola
On Tue, Aug 09, 2022 at 02:21:21PM +0200, Christian Weisgerber wrote: > Moving 9TB with dump|restore from an old hard disk to a bigger one > reminded me again that dump(8) is, well, slow: > > DUMP: 9104433830 tape blocks > DUMP: Date of this level 0 dump: Sat Aug

Re: dump(8) is slow

2022-08-09 Thread gwes
On 8/9/22 18:28, gwes wrote: On 8/9/22 13:14, Christian Weisgerber wrote: Kenneth Gober: Are you certain that dump(8) is the big bottleneck here?  My recollection is that restore(8) is significantly slower, so of course if restore(8) is systat's default vmstat display shows you

Re: dump(8) is slow

2022-08-09 Thread gwes
On 8/9/22 13:14, Christian Weisgerber wrote: Kenneth Gober: Are you certain that dump(8) is the big bottleneck here? My recollection is that restore(8) is significantly slower, so of course if restore(8) is systat's default vmstat display shows you the time spend in disk accesses

Re: dump(8) is slow

2022-08-09 Thread Christian Weisgerber
Kenneth Gober: > Are you certain that dump(8) is the big bottleneck here? My recollection > is that restore(8) is significantly slower, so of course if restore(8) is systat's default vmstat display shows you the time spend in disk accesses. Typical figures during the dump-restore run we

Re: dump(8) is slow

2022-08-09 Thread Kenneth Gober
On Tue, Aug 9, 2022 at 8:25 AM Christian Weisgerber wrote: > Moving 9TB with dump|restore from an old hard disk to a bigger one > reminded me again that dump(8) is, well, slow: > > DUMP: 9104433830 tape blocks > DUMP: Date of this level 0 dump: Sat Aug 6 16:36:52 2022 >

dump(8) is slow

2022-08-09 Thread Christian Weisgerber
Moving 9TB with dump|restore from an old hard disk to a bigger one reminded me again that dump(8) is, well, slow: DUMP: 9104433830 tape blocks DUMP: Date of this level 0 dump: Sat Aug 6 16:36:52 2022 ... DUMP: Date this dump completed: Tue Aug 9 13:51:01 2022 DUMP: Average transfer

Re: httpd(8) - Cross-Origin Resource Sharing (CORS) header

2022-06-26 Thread Stuart Henderson
On 2022-06-27, David Rinehart wrote: > Is there a way to add a CORS header to httpd(8) responses for static > content? No. > I see three options: >     1. Create a diff that adds a server CORS property to httpd.conf(5). >     2. Create a diff that adds generic header NVPs

httpd(8) - Cross-Origin Resource Sharing (CORS) header

2022-06-26 Thread David Rinehart
Hello All, Is there a way to add a CORS header to httpd(8) responses for static content? Here is a summary of the issue:     Client request -> httpd Server1     Server1 response ->  Client     Client jS xmlhttprequest for static content -> httpd Server2   

Strange relayd(8) logs meaning?

2022-05-18 Thread Joel Carnat
Hello, I have relayd(8) in front of nginx(8) to render a local Nextcloud instance. From time to time, the Nextcloud client fails saying "Host not found" which has no sense. The whole workstation still accesses the network and can resolve anything. relayd(8) listens on em1 IP and

Re: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-03 Thread Ashlen
With the previous emails in mind, I have a diff for the build script in the ports tree if it would help. My xmonad.hs hardly changes these days. If the build script actually recompiled xmonad every time instead of quitting if xmonad.hs hasn't changed, I don't think this issue would come up in the

Re: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-02 Thread Ashlen
On 22/04/02 08:46, Sebastien Marie wrote: > On Sat, Apr 02, 2022 at 07:11:42AM +0200, Sebastien Marie wrote: > > On Fri, Apr 01, 2022 at 12:16:58PM -0600, Ashlen wrote: > > > > > > XMonad is recompiling and replacing itself with another XMonad process > > > because the current process is called

Re: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-02 Thread Sebastien Marie
On Sat, Apr 02, 2022 at 07:11:42AM +0200, Sebastien Marie wrote: > On Fri, Apr 01, 2022 at 12:16:58PM -0600, Ashlen wrote: > > > > XMonad is recompiling and replacing itself with another XMonad process > > because the current process is called "xmonad" but the compiled > > configuration should

Re: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-01 Thread Sebastien Marie
On Fri, Apr 01, 2022 at 12:16:58PM -0600, Ashlen wrote: > Hi, I'm on this snapshot with updated packages: > > > $ sysctl -n kern.version > OpenBSD 7.1 (GENERIC.MP) #454: Thu Mar 31 09:28:09 MDT 2022 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

2022-04-01 Thread Ashlen
Hi, I'm on this snapshot with updated packages: $ sysctl -n kern.version OpenBSD 7.1 (GENERIC.MP) #454: Thu Mar 31 09:28:09 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP sysclean(8) from ports recommends to delete /usr/X11R6/lib/libX11.so.17.1 and /usr/lib

Values from wsconsctl(8) and xbacklight(1) may differ

2022-02-16 Thread Joel Carnat
Hello, I have just noticed that depending on how you change the display brightness on my ThinkPad, values may differ wether I query using wsconsctl(8) and xbacklight(1). Here's what I have observed: # doas wsconsctl display.brightness ; xbacklight -get display.brightness=25.11% 25.00

httpd(8): cleanup read_errdoc

2021-12-05 Thread Matthias Pressfreund
The patch below removes a log_warn in case the server does not find a custom error page as this is nothing to warn about (either because the generic template file [err.html] is used or fallback to built-in pages is intended). It also removes two unnecessary assignments and adapts the comment to

Re: dhcpleased(8) not renewing leases

2021-11-08 Thread Eike Lantzsch ZP6CGE
On Freitag, 5. November 2021 16:33:11 -03 Sebastian Benoit wrote: > Eike Lantzsch ZP6CGE(zp6...@gmx.net) on 2021.11.04 18:07:57 -0300: > > On Mittwoch, 3. November 2021 14:41:08 -03 Zack Newman wrote: > > > dhcpleased(8) is unable to renew DHCP leases from my ISP, >

Re: dhcpleased(8) not renewing leases

2021-11-06 Thread Florian Obser
On 2021-11-03 11:41 -06, Zack Newman wrote: > dhcpleased(8) is unable to renew DHCP leases from my ISP, > Xfinity/Comcast. This in turn is causing leases to expire leading to > IPv4 drops that last between 15 and 20 seconds until a new lease can be > binded. Note that lease binding

Re: dhcpleased(8) not renewing leases

2021-11-05 Thread Eike Lantzsch ZP6CGE
On Freitag, 5. November 2021 16:33:11 -03 Sebastian Benoit wrote: > Eike Lantzsch ZP6CGE(zp6...@gmx.net) on 2021.11.04 18:07:57 -0300: > > On Mittwoch, 3. November 2021 14:41:08 -03 Zack Newman wrote: > > > dhcpleased(8) is unable to renew DHCP leases from my ISP, >

Re: dhcpleased(8) not renewing leases

2021-11-05 Thread Sebastian Benoit
Eike Lantzsch ZP6CGE(zp6...@gmx.net) on 2021.11.04 18:07:57 -0300: > On Mittwoch, 3. November 2021 14:41:08 -03 Zack Newman wrote: > > dhcpleased(8) is unable to renew DHCP leases from my ISP, > > Xfinity/Comcast. This in turn is causing leases to expire leading to > > IPv4 dr

  1   2   3   4   5   6   7   8   9   10   >