Re: ed viewing trailing spaces

2018-05-24 Thread Andreas Kusalananda Kähäri
On Thu, May 24, 2018 at 12:28:08AM -0400, Predrag Punosevac wrote: > Hi Misc, > > I just got Michael Lucas' Ed Mastery. While reading through the book I > tried few things and I realized that viewing trailing spaces on OpenBSD > 6.3 doesn't work the way described in man pages, Michael's book, and

Re: Confusing IPv6 route(8) results

2018-05-24 Thread Denis Fondras
Hi, On Wed, May 23, 2018 at 10:34:19PM -0400, David Higgs wrote: > I am using route(8) in a script but found some odd behavior when > querying routes for some IPv6 addresses - lookups seem to fail if the > trailing address bytes are zero (implicit or explicitly) as shown > below. However, the

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Thomas Huber
Hi Reyk, no it is not about chroot-ing switchd. What i have in mind is a kind of poor-mans kubernetes or docker-swarm which makes use of chroot(8), login.conf(5) and mount_vnd(8) to isolate, limit and encapsulate some processes. I´ll call this the "chroot-jail" and thought it is common wording

Re: opensmtpd / ldap unreliable

2018-05-24 Thread Consus
On 17:20 Wed 23 May, Allan Streib wrote: > "Paul B. Henson" writes: > > >> What you ask is a very general question: If A depends on B, and B is > >> missing, how do expect A to behave? > > > > In this specific case, I expect A to complain it was unable to contact > > B, to

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Ken M
I want to ask the question of why? And why this way? I think if you want docker like functionality, just add docker to openbsd. The best way to do so is to add a lightweight linux into vmm and connect to that docker daemon. Alpine or Rancher are probably the best bet for that. I say nothing on

Re: Confusing IPv6 route(8) results

2018-05-24 Thread David Higgs
On Thu, May 24, 2018 at 5:35 AM Denis Fondras wrote: > Hi, > > On Wed, May 23, 2018 at 10:34:19PM -0400, David Higgs wrote: > > I am using route(8) in a script but found some odd behavior when > > querying routes for some IPv6 addresses - lookups seem to fail if the > >

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Thomas Huber
Hi Ken, sure, thats the way to go for docker, kubernetes and [add buzzword here]. The _why_ is more about tinkering and getting deeper into the rabbit-hole. Thomas On 24 May 2018 at 12:51, Ken M wrote: > > I want to ask the question of why? And why this way? I think if you

smtpd.conf new grammar

2018-05-24 Thread Gilles Chehade
Hi, I have just committed a major change in smtpd that'll require smtpd.conf to be rewritten before your update to the new code. The new grammar is not TOO different from the former one, a lot of stuff remains exactly identical, but the ruleset is now split into two parts: - a named action - a

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread trondd
On Wed, May 23, 2018 4:35 am, Thomas Huber wrote: > Hi all, > > I´m just tinkering a little bit and try to mimic some "containerization" > on > OpenBSD with chroot. Is it somehow possible to attach a chrooted > envirionment to swtichd(8) ? > > Thanks > Thomas > OpenBSD's chroot is not like a

Re: Confusing IPv6 route(8) results

2018-05-24 Thread Denis Fondras
On Thu, May 24, 2018 at 07:04:04AM -0400, David Higgs wrote: > But shouldn’t the answer be the same, since I have a valid default route? > It should but that's not how route(8) works for now :) Barely tested diff, assumes that no netmask means /128 (similar to IPv4 handling where no netmask

build and ports mismatching ?

2018-05-24 Thread Elias M. Mariani
Hi, I noticed just now a couple of errors after updating from snapshots/amd64 (22/05) and updating the packages with pkg_add -u (24/05) indicating a mismatch in some library, I think it was libfreetype.so.28.2 vs 29.0 or something like that. I have both in /usr/X11R6/lib/. I'm not familiar with

Re: httpd match pattern issue

2018-05-24 Thread justina colmena
On Thu, 24 May 2018 16:47:46 +0200 Thuban wrote: > Hello, > I need to redirect some URLS with httpd. As example : > > /test/?d=2018/05/02/13/14/50-some-title > > Must be redirected to /2018/05/02/some-title > > My problem is that "?" is never matched. > > Here

httpd match pattern issue

2018-05-24 Thread Thuban
Hello, I need to redirect some URLS with httpd. As example : /test/?d=2018/05/02/13/14/50-some-title Must be redirected to /2018/05/02/some-title My problem is that "?" is never matched. Here is the pattern I use : location match

Re: build and ports mismatching ?

2018-05-24 Thread Sebastian Benoit
Elias M. Mariani(marianiel...@gmail.com) on 2018.05.24 14:22:35 -0300: > Hi, > I noticed just now a couple of errors after updating from > snapshots/amd64 (22/05) and updating the packages with pkg_add -u > (24/05) indicating a mismatch in some library, I think it was > libfreetype.so.28.2 vs 29.0

Re: build and ports mismatching ?

2018-05-24 Thread Elias M. Mariani
Great explanation, Thanks. Elias. 2018-05-24 15:59 GMT-03:00 Sebastian Benoit : > Elias M. Mariani(marianiel...@gmail.com) on 2018.05.24 15:45:15 -0300: >> Thanks Sebastian for the reply, >> I do follow source-changes, just that I don't understand if it's >> common for a

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Claudio Jeker
On Thu, May 24, 2018 at 09:22:32AM -0400, trondd wrote: > On Wed, May 23, 2018 4:35 am, Thomas Huber wrote: > > Hi all, > > > > I´m just tinkering a little bit and try to mimic some "containerization" > > on > > OpenBSD with chroot. Is it somehow possible to attach a chrooted > > envirionment to

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread trondd
On Thu, May 24, 2018 1:28 pm, Claudio Jeker wrote: > On Thu, May 24, 2018 at 09:22:32AM -0400, trondd wrote: >> On Wed, May 23, 2018 4:35 am, Thomas Huber wrote: >> > Hi all, >> > >> > IÃ*´m just tinkering a little bit and try to mimic some >> "containerization" >> > on >> > OpenBSD with chroot.

Re: Confusing IPv6 route(8) results

2018-05-24 Thread Sebastian Benoit
Denis Fondras(de...@openbsd.org) on 2018.05.24 17:57:19 +0200: > On Thu, May 24, 2018 at 07:04:04AM -0400, David Higgs wrote: > > But shouldn???t the answer be the same, since I have a valid default route? > > > > It should but that's not how route(8) works for now :) > > Barely tested diff,

Re: build and ports mismatching ?

2018-05-24 Thread Sebastian Benoit
Elias M. Mariani(marianiel...@gmail.com) on 2018.05.24 15:45:15 -0300: > Thanks Sebastian for the reply, > I do follow source-changes, just that I don't understand if it's > common for a library to have 2 version numbers. There is the old version number(s) and the newest one. If you check your

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-24 Thread Ingo Schwarze
Hi Justina, justina colmena wrote on Thu, May 24, 2018 at 05:54:45PM +: > On Wed, 23 May 2018 11:47:47 +0200 > Marko Cupać wrote: >> I am sure OpenBSD will correct their errors in html/css code, if any, > Right now, https://man.openbsd.org/relayd.conf.5 fails html

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-24 Thread justina colmena
On Wed, 23 May 2018 11:47:47 +0200 Marko Cupać wrote: > I am sure OpenBSD will correct their errors in html/css code, if any, Right now, https://man.openbsd.org/relayd.conf.5 fails html validation.

connect two midi devices

2018-05-24 Thread Sebastian Reitenbach
Hi, I've finally got an el cheapo USB to midi converter. I just wanted to test if I can make use of my Roland Aira gear that way, because the USB connection is not class compliant. Additionally I've two synths connected to the box: umidi0 at uhub0 port 2 configuration 1 interface 1 "Waldorf

Re: build and ports mismatching ?

2018-05-24 Thread Elias M. Mariani
Thanks Sebastian for the reply, I do follow source-changes, just that I don't understand if it's common for a library to have 2 version numbers. Or if the ports/snapshots system is made with some inner logic to avoid this kind of conflict. I mean, the ports did not install the library, that means

Re: opensmtpd / ldap unreliable

2018-05-24 Thread Paul B. Henson
> From: Gilles Chehade > Sent: Wednesday, May 23, 2018 1:20 PM > > That's bad but could easily be fixed if you want to help us So I dropped in the latest table-ldap from git, and it still failed authentications after an LDAP server outage. It looks like the check is only in the table_ldap_check

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-24 Thread Adam Thompson
On 2018-05-19 02:59, justina colmena wrote: https://man.openbsd.org/mandoc.css That's the css. You style it how you like it. That's the whole point of it. And I agree. It's very readable on my phone. Original message From: Mihai Popescu Date: 5/18/18 11:04 PM

Re: smtpd.conf new grammar

2018-05-24 Thread Rupert Gallagher
On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: > In effect, instead of having: > accept from any for local deliver to mbox > > You will have: > action "my_action" mbox > match from any for local action "my_action" It may solve some obscure technical problem, but is a

Re: Confusing IPv6 route(8) results

2018-05-24 Thread Sebastian Benoit
Denis Fondras(de...@openbsd.org) on 2018.05.24 22:09:30 +0200: > On Thu, May 24, 2018 at 08:43:30PM +0200, Sebastian Benoit wrote: > > Denis Fondras(de...@openbsd.org) on 2018.05.24 17:57:19 +0200: > > > On Thu, May 24, 2018 at 07:04:04AM -0400, David Higgs wrote: > > > > But shouldn???t the

Re: Confusing IPv6 route(8) results

2018-05-24 Thread Denis Fondras
On Thu, May 24, 2018 at 08:43:30PM +0200, Sebastian Benoit wrote: > Denis Fondras(de...@openbsd.org) on 2018.05.24 17:57:19 +0200: > > On Thu, May 24, 2018 at 07:04:04AM -0400, David Higgs wrote: > > > But shouldn???t the answer be the same, since I have a valid default > > > route? > > > > > >

Re: connect two midi devices

2018-05-24 Thread Alexandre Ratchov
On Thu, May 24, 2018 at 08:31:08PM +0200, Sebastian Reitenbach wrote: > Hi, > > I've finally got an el cheapo USB to midi converter. I just wanted to test > if I can make use of my Roland Aira gear that way, because the USB connection > is not class compliant. FYI, certain Roland gears have a

Re: smtpd.conf new grammar

2018-05-24 Thread Ingo Schwarze
Hi Rupert, [ deleted tech@ because this is off topic there ] Rupert Gallagher wrote on Thu, May 24, 2018 at 04:38:17PM -0400: > On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: >> In effect, instead of having: >> accept from any for local deliver to mbox >> >> You will

Re: attach chroot-jail to switchd(8) ?

2018-05-24 Thread Ken M
I can appreciate the spirit of that. Carry on good sir. Ken On Thu, May 24, 2018 at 01:19:07PM +0200, Thomas Huber wrote: > Hi Ken, > > sure, thats the way to go for docker, kubernetes and [add buzzword here]. > The _why_ is more about tinkering and getting deeper into the rabbit-hole. > >

Autocompletion with pass in ksh

2018-05-24 Thread Niels Kobschaetzki
Hi, I learned yesterday of ksh's cusom auto completion. Now I try to figure out how to use it together with pass, but maybe someone already did the work. pass (www.password-store.org) is a password manager and it takes as arguments actions, a couple of options and at the end the folder and