Re: nslookup and dig output when using rebound

2017-01-04 Thread Glenn Faustino
Thanks Ted! :) Regards, Glenn On Thu, Jan 5, 2017 at 2:41 AM, Ted Unangst wrote: > Glenn Faustino wrote: >> Hi, >> >> The output of nslookup and dig when using rebound are like these: > > this finally annoyed me enough the other day i made a patch. > > > Index: bin/dig/dighost.c > =

Re: VPS default gateway in a different subnet than host

2017-01-04 Thread Jyri Hovila [iki.fi]
Hi! A brief, positive update. > Here is mpi's proposed fix: > http://marc.info/?l=openbsd-tech&m=148162020419474&w=2 The fixed was included in CURRENT on December the 17th, and I can report that OpenBSD now happily runs under the "default gateway in a different subnet" scenario used at OVH Hosti

Re: httpd(8) error logging behavior

2017-01-04 Thread Darren S.
Missing dmesg: OpenBSD 6.0 (GENERIC.MP) #2: Mon Oct 17 10:22:47 CEST 2016 r...@stable-60-amd64.mtier.org:/binpatchng/work-binpatch60-amd64/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4259938304 (4062MB) avail mem = 4126359552 (3935MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbu

httpd(8) error logging behavior

2017-01-04 Thread Darren S.
Hi, I wanted to validate the behavior of error logging I'm seeing in httpd(8). What I think I'm seeing is that in some cases no error logging occurs unless httpd is run with verbose mode (-v) enabled. Without -v errors that result in 500 status go unlogged. Also in some cases error logging in verb

Re: nslookup and dig output when using rebound

2017-01-04 Thread Ted Unangst
Glenn Faustino wrote: > Hi, > > The output of nslookup and dig when using rebound are like these: this finally annoyed me enough the other day i made a patch. Index: bin/dig/dighost.c === RCS file: /cvs/src/usr.sbin/bind/bin/dig/di

usermod: Invalid password: `*'

2017-01-04 Thread Craig Skinner
Happy Hogmanay/New Year/etc..., My rc.firsttime script highlighted a change on 6.0's usermod: # fgrep operator /etc/master.passwd operator:*:2:5::0:0:System &:/operator:/sbin/nologin # usermod -L daemon -p '*' -s /bin/ksh operator usermod: Invalid password: `*' (1) # uname -a OpenBSD

Re: The right way to delete elements from ohash

2017-01-04 Thread Ted Unangst
Maciej Adamczyk wrote: > The task is simple: remove all elements that satisfy some property. > * add another layer of looping and keep iterating as long as a pass over > the map deleted at least one element. this should be fast enough. even with looping and resizing, it's asymptotically linear.

The right way to delete elements from ohash

2017-01-04 Thread Maciej Adamczyk
Hello, while debugging resource leaks in my code I found that I used ohash incorrectly. I came here to ask what is the best way of doing what I need to do. The task is simple: remove all elements that satisfy some property. Naively, I wrote: for (el = ohash_first(map, &it); el; el = ohash_n

Re: Watch out for bad options in /var/run/rc.d/$daemon

2017-01-04 Thread Antoine Jacoutot
> example. It starts up, and backgrounds, and then later, it parses its > argument, > figures it got a wrong parameter and exits. I have a WIP diff to rc.d to fix buggy stuff like this. But it's not ready yet. > Then trying to add debug parameter to rc.conf.local, and see it > not taking the debu

Re: Watch out for bad options in /var/run/rc.d/$daemon

2017-01-04 Thread Sebastian Reitenbach
On Wednesday, January 4, 2017 08:16 CET, Antoine Jacoutot wrote: > On Tue, Jan 03, 2017 at 11:01:18PM -0700, Andy Bradford wrote: > > Hello, > > > > Since I couldn't find any reference to this anywhere, I thought I would > > put out a description of the problem in the event that someone else run

Re: Is it possible to follow -current after missing several versions?

2017-01-04 Thread Panagiotis Liakos
I managed to go to 5.7, I stopped there because I am now able to install packages, and I will probably go to 6.0 later on. After running sysmerge I was advised to "Leave for later" various changes. Can someone point me to a guide on how to deal with these changes? Thanks again for all your help.