Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Bruce Hill
On 2/27/21 3:10 AM, Stuart Henderson wrote: I might be missing something but doesn't this do the same? location not found match "/(.*)" { request rewrite "/%1.html" } Nope, you're not missing anything, I wasn't aware you could do this. This *does* actually

install smtpd-filters(7)?

2021-02-27 Thread Andrew Hewus Fresh
It would be nice to have this reference installed, would this be the right place to do that? (ok, mostly I want to link https://man.openbsd.org/smtpd-filter.7 from https://github.com/afresh1/OpenSMTPd-Filter/) Comments, OK? Index: usr.sbin/smtpd/smtpd/Makefile

Re: Mesa leak in intel iris driver

2021-02-27 Thread Theo de Raadt
Stuart Henderson wrote: > On 2021/02/27 11:50, Theo de Raadt wrote: > > To see the problem, It is better to look at "UVM amap" in "vmstat -m" > > > > UVM amap 32835 1690K 2636K 78644K 268129080 > > 16,32,64,128,256,512,1024,4096,8192 > > > > this number is

iscsid/iscsictl: Introduce poll-and-wait delay during reload

2021-02-27 Thread Ashton Fagg
Hello tech, Recently I encountered a problem with automounting iscsi volumes at boot time. This came down to a timing issue, where iscsictl reload was returning before the volumes were attached - causing the machine to enter single user mode when it would try to fsck the iscsi volumes. See this

Re: Mesa leak in intel iris driver

2021-02-27 Thread Stuart Henderson
On 2021/02/27 11:50, Theo de Raadt wrote: > To see the problem, It is better to look at "UVM amap" in "vmstat -m" > > UVM amap 32835 1690K 2636K 78644K 268129080 > 16,32,64,128,256,512,1024,4096,8192 > > this number is way too big, it should be 500 to 2000 ish.

Re: Workflow question

2021-02-27 Thread Anindya Mukherjee
Thanks! This works perfectly! On Sun, Feb 28, 2021 at 12:01:06AM +0100, Theo Buehler wrote: > > Following the advice in the FAQ I added my user to the wobj group. I > > suppose I could "make obj" and have the objs written to /usr/obj? Is > > this a workflow the developers recommend or follow?

Re: Workflow question

2021-02-27 Thread Theo Buehler
> Following the advice in the FAQ I added my user to the wobj group. I > suppose I could "make obj" and have the objs written to /usr/obj? Is > this a workflow the developers recommend or follow? Thanks! Yes. More precisely, by default 'make obj' in /usr/src/usr.bin/systat will create a symlink

Workflow question

2021-02-27 Thread Anindya Mukherjee
Hi, I am making a small change to systat(1) and hope to submit it for review soon. For my own edification, I have a few questions regarding the recommended workflow for such work. Hopefully tech@ is the right place to ask this :) I generated the tags with "make tags", and also temporarily added

Re: Mesa leak in intel iris driver

2021-02-27 Thread Anindya Mukherjee
Hi, I have been noticing this leak for a few weeks now. I typically update to the latest snapshot every 10-14 days and Xorg memory usage grows monotonically in the meantime. I was gathering some data for a report, but thanks to this thread it's explained now. I look forward to testing the fix. I

sndiod: allow mixing of duplex, record-only and play-only audio devices

2021-02-27 Thread Edd Barrett
Hi, Currently sndiod does not allow you to use alternative devices (-F devices) which support only a subset of the modes of the main (-f) device. For example, if you do `sndiod -f rsnd/0 -F rsnd/1` and: - rsnd/0 is full-duplex (rec + play). - rsnd/1 is play-only. Then you will be unable to

Re: OpenBSD perl 5.32.1 - Call for Testing

2021-02-27 Thread George Koehler
On Fri, 26 Feb 2021 11:31:07 -0800 Andrew Hewus Fresh wrote: > On Sat, Feb 20, 2021 at 02:11:45PM -0800, Andrew Hewus Fresh wrote: > > I've probably missed making it in for 6.9, but it is again time for > > testing a perl update so it can become /usr/bin/perl > > It was pointed out that there

Re: Clarifications about ELF(5)

2021-02-27 Thread George Brown
> On Sat, Feb 27, 2021 at 07:26:42PM +, George Brown wrote: > > > hi. diff committed, with one change: we did not add "must" (just removed > > > "usually"). > > > > > > jmc > > > > Thanks Jason. Though browsing cvsweb it seems the commit did include the > > "must" not sure if the decision

Re: Clarifications about ELF(5)

2021-02-27 Thread Jason McIntyre
On Sat, Feb 27, 2021 at 07:26:42PM +, George Brown wrote: > > hi. diff committed, with one change: we did not add "must" (just removed > > "usually"). > > > > jmc > > Thanks Jason. Though browsing cvsweb it seems the commit did include the > "must" not sure if the decision changed after

Clarifications about ELF(5)

2021-02-27 Thread George Brown
> hi. diff committed, with one change: we did not add "must" (just removed > "usually"). > > jmc Thanks Jason. Though browsing cvsweb it seems the commit did include the "must" not sure if the decision changed after sending your mail or the wrong diff got applied?

Re: Clarifications about ELF(5)

2021-02-27 Thread Jason McIntyre
On Sat, Feb 27, 2021 at 12:24:33PM +, George Brown wrote: > Binaries without a .note.openbsd.ident section fail to execute. This > note section is mentioned in the ELF man page as follows. > > > .note This section holds information in the note section format > >described

Re: Mesa leak in intel iris driver

2021-02-27 Thread Theo de Raadt
Theo Buehler wrote: > On Sat, Feb 27, 2021 at 12:21:35AM +1100, Jonathan Gray wrote: > > Bring in a change which was backported to Mesa 20.1 but not 20.0. > > This is for inteldrm with >= gen8/broadwell hardware. > > /var/log/Xorg.0.log with 'DRI driver: iris' and 'xdriinfo' will > > show

Re: ip_fragment ip6_fragment

2021-02-27 Thread Vitaliy Makkoveev
> On 26 Feb 2021, at 14:08, Alexander Bluhm wrote: > > Hi, > > I always bothered me that ip_fragment() and ip6_fragment() behave > sligtly differently. Unify them and use an mlist to simplify the > fragment list. > > - The functions ip_fragment() and ip6_fragment() always consume the mbuf.

Re: [OpenBSD -current] Change event timer in main loop with kqueue

2021-02-27 Thread Visa Hankala
Moving to tech@. On Fri, Feb 26, 2021 at 09:42:07PM +0100, martin mag wrote: > I've been trying to use kqueue for the last couple of day but I keep > having an issue with EVFILT_TIMER filter. (I'm running Openbsd > -current) > > Right now, I'm trying to do the following: > 1) Initilialize a

Re: Mesa leak in intel iris driver

2021-02-27 Thread Theo Buehler
On Sat, Feb 27, 2021 at 12:21:35AM +1100, Jonathan Gray wrote: > Bring in a change which was backported to Mesa 20.1 but not 20.0. > This is for inteldrm with >= gen8/broadwell hardware. > /var/log/Xorg.0.log with 'DRI driver: iris' and 'xdriinfo' will > show 'Screen 0: iris' if you are using the

Clarifications about ELF(5)

2021-02-27 Thread George Brown
Binaries without a .note.openbsd.ident section fail to execute. This note section is mentioned in the ELF man page as follows. > .note This section holds information in the note section format >described below. This section is of type SHT_NOTE. No >attribute types

Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Stuart Henderson
On 2021/02/26 15:38, Bruce Hill wrote: > Hello, this is my first time contributing to openbsd and this mailing > list, so please excuse any newbie blunders. I recently switched my > personal website to use httpd with statically generated HTML files, but > was unhappy to find that my HTML files

Re: install rc.d script for resolvd

2021-02-27 Thread Bjorn Ketelaars
On Sat 27/02/2021 07:37, Bjorn Ketelaars wrote: > resolvd will not start at boot without its rc.d script. > > OK? Additionally register rc.d/resolvd in sets list. Index: distrib/sets/lists/base/mi === RCS file:

Re: 2 diffs for dev/acpi/dsdt.c

2021-02-27 Thread YASUOKA Masahiko
Hi, Let me update "diff #2". On Fri, 26 Feb 2021 13:42:32 +0900 (JST) YASUOKA Masahiko wrote: > My vaio repeatedly crashed by "Data modified on freelist"(*1) or other > memory corruptions. After my long time debug, I found the route cause > is a handling of references of LocalX, like the

dpb.1 - reuse DPB_PROPERTIES=tag mechanism

2021-02-27 Thread Bjorn Ketelaars
Change the description of the 'tag' property to something more generic: - There are no more ports that have DPB_PROPERTIES=tag:{kde3,kde4} set in their Makefile; - Explain that only one tag set can be used. The 'tag' property comes in handy to solve a dpb build issue with the two audacious

Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Matthias Pressfreund
On 2021-02-27 00:38, Bruce Hill wrote: > Hello, this is my first time contributing to openbsd and this mailing > list, so please excuse any newbie blunders. I recently switched my > personal website to use httpd with statically generated HTML files, but > was unhappy to find that my HTML files