Re: Mac G4 Cube Problems

2017-10-24 Thread patrick keshishian
On 10/24/17, Daniel Boyd wrote: > I'm into week 2 of trying to get OpenBSD installed on my G4 Cube. > > I first tried installing via CD, but the CD-ROM drive is broken. > > I then tried DHCP/TFTP/NFS booting but couldn't get that working. > > I then tried attaching another

Mac G4 Cube Problems

2017-10-24 Thread Daniel Boyd
I'm into week 2 of trying to get OpenBSD installed on my G4 Cube. I first tried installing via CD, but the CD-ROM drive is broken. I then tried DHCP/TFTP/NFS booting but couldn't get that working. I then tried attaching another IDE CD-ROM drive to the Cube, but I couldn't get the CD to boot

Re: Forum software

2017-10-24 Thread Fabio Scotoni
On 10/24/2017 08:30 PM, flipchan wrote: > Grtz *! > Sry for going alittle bit off topic , me and a friend are trying to rebuild a > swedish openbsd forum (openbsd.se) it's been live since 2005 , and been > running punbb. > But punbb is not actively​ being developed and we wonder if anyone can

Re: is there something missing in pledge?

2017-10-24 Thread Peter J. Philipp
Do what you wish with it, it's a gift. It is based on hours of debugging to find out why exactly /etc/spwd.db does not read when pledged, and when not pledged it was the same case for cpio. It's all irrelevant now since I managed to write my own cpio implementation in code (easier than you

Re: Forum software

2017-10-24 Thread garry
- Original Message - From: "flipchan" To: Cc: Sent:Tue, 24 Oct 2017 18:30:30 + Subject:Forum software Grtz *! Sry for going alittle bit off topic , me and a friend are trying to rebuild a swedish openbsd forum (openbsd.se) it's been live

Re: Running OpenVPN as a client breaks SSH access into same box? Is it a problem with default route being changed?

2017-10-24 Thread tec...@protonmail.com
I will have a look into this tonight and see if I can figure it out with that. Thank you > Original Message > Subject: Re: Running OpenVPN as a client breaks SSH access into same box? Is > it a problem with default route being changed? > Local Time: 24 October 2017 10:28 PM >

Re: Running OpenVPN as a client breaks SSH access into same box? Is it a problem with default route being changed?

2017-10-24 Thread Daniel Jakots
On Tue, 24 Oct 2017 16:25:08 -0400, "tec...@protonmail.com" wrote: > It's currently a bit tricky for me getting into the box physically. > If only I had SSH access ha! > > I'm almost 100% certain that returning packets are being routed over > the tun0 (new default route)

Re: Running OpenVPN as a client breaks SSH access into same box? Is it a problem with default route being changed?

2017-10-24 Thread tec...@protonmail.com
It's currently a bit tricky for me getting into the box physically. If only I had SSH access ha! I'm almost 100% certain that returning packets are being routed over the tun0 (new default route) interface instead of em0. Thanks > Original Message > Subject: Re: Running

Re: Forum software

2017-10-24 Thread flipchan
Nice , thanks On October 24, 2017 8:55:52 PM GMT+02:00, Tommy Nevtelen wrote: >On 2017-10-24 20:47, Jay Williams wrote: >> Discourse is a popular option used by a number of open source >projects. >> >> https://www.discourse.org > >That is probably a good choice but here is

Running OpenVPN as a client breaks SSH access into same box? Is it a problem with default route being changed?

2017-10-24 Thread tec...@protonmail.com
Hi, I have a very very basic setup. Not using any other pf rules other than what comes default with 6.2-Release and almost every other release. Running OpenVPN works without a problem - able to connect as a client to a remote OpenVPN server. Everything is properly routing, verified by

Re: Forum software

2017-10-24 Thread Sohrab Monfared
NodeBB is also a good choice: https://nodebb.org/ On Tue, Oct 24, 2017 at 10:17 PM, Jay Williams wrote: > Discourse is a popular option used by a number of open source projects. > > https://www.discourse.org > > -- > Jay Williams > > > On Oct 24, 2017, at 1:30 PM, flipchan

Re: Forum software

2017-10-24 Thread Tommy Nevtelen
On 2017-10-24 20:47, Jay Williams wrote: > Discourse is a popular option used by a number of open source projects. > > https://www.discourse.org That is probably a good choice but here is a list of different alternatives that might be worth to look at:

Re: Forum software

2017-10-24 Thread Jay Williams
Discourse is a popular option used by a number of open source projects. https://www.discourse.org -- Jay Williams > On Oct 24, 2017, at 1:30 PM, flipchan wrote: > > Grtz *! > Sry for going alittle bit off topic , me and a friend are trying to rebuild a > swedish openbsd

Forum software

2017-10-24 Thread flipchan
Grtz *! Sry for going alittle bit off topic , me and a friend are trying to rebuild a swedish openbsd forum (openbsd.se) it's been live since 2005 , and been running punbb. But punbb is not actively​ being developed and we wonder if anyone can suggest a good forum software , we don't have time

Re: is there something missing in pledge?

2017-10-24 Thread Ingo Schwarze
Hi Peter, Peter J. Philipp wrote on Tue, Oct 24, 2017 at 04:35:12PM +0200: > Index: open.2 > === > RCS file: /cvs/src/lib/libc/sys/open.2,v > retrieving revision 1.49 > diff -u -p -u -r1.49 open.2 > --- open.219 Jan 2015

Re: fuse version

2017-10-24 Thread Zbyszek Żółkiewski
Hi, llfuse requires FUSE 2.9.0 or newer, i think OpenBSD uses 2.6, am I right? thanks, _ Zbyszek Żółkiewski > Wiadomość napisana przez Stefan Sperling w dniu 24.10.2017, > o godz. 11:44: > > On Tue, Oct 24, 2017 at 11:21:17AM +0200, Zbyszek Żółkiewski wrote: >> Hi, >> >>

Re: is there something missing in pledge?

2017-10-24 Thread Peter J. Philipp
On Tue, Oct 24, 2017 at 08:09:14AM -0600, Theo de Raadt wrote: > > I agree that it could be disappointing. but cpio is pledged, so it > > couldn't open /etc/spwd.db, because we considered this operation as > > a privilegied operation. > > > > in order to backup this file, you need another tool.

Re: is there something missing in pledge?

2017-10-24 Thread Theo de Raadt
> I agree that it could be disappointing. but cpio is pledged, so it > couldn't open /etc/spwd.db, because we considered this operation as > a privilegied operation. > > in order to backup this file, you need another tool. someone already > mentioned dump(8) as example. The solution is obvious.

Re: is there something missing in pledge?

2017-10-24 Thread Theo de Raadt
> > beta# cpio -o -F spwd.db > > /etc/spwd.db > > cpio: Unable to open /etc/spwd.db to read: Operation not permitted > > > > This is why I asked if the pledge is too tight on cpio. > > Yes, I'd say you are right. > > Theo, run > > # find /etc | cpio -o >/dev/null > > or > > # tar cf

Re: Hyper-V Disk Performance

2017-10-24 Thread Karel Gardas
Last I checked running with softdeps in virtualized env, I got some panices. It was few years (2 max) ago, but IIRC softdeps are not that heavily developed in time like other parts of the kernel. From what I remember from the analysis back than, slower the drive is, higher chance you get panic. So

Re: is there something missing in pledge?

2017-10-24 Thread Sebastien Marie
On Tue, Oct 24, 2017 at 01:13:39PM +0200, Daniel Hartmeier wrote: > On Tue, Oct 24, 2017 at 12:31:50PM +0200, Peter J. Philipp wrote: > > > beta# cpio -o -F spwd.db > > /etc/spwd.db > > cpio: Unable to open /etc/spwd.db to read: Operation not permitted > > > > This is why I asked if the pledge

Re: is there something missing in pledge?

2017-10-24 Thread Daniel Hartmeier
On Tue, Oct 24, 2017 at 01:31:32PM +0200, Sebastien Marie wrote: > > This is why I asked if the pledge is too tight on cpio. > > I agree that it could be disappointing. but cpio is pledged, so it > couldn't open /etc/spwd.db, because we considered this operation as > a privilegied operation. >

Re: nobreak powers down openbsd

2017-10-24 Thread Marcus MERIGHI
friedrich.lo...@gmail.com (Friedrich Locke), 2017.10.23 (Mon) 20:08 (CEST): > When i wrote nobreak, i really meant UPS. > I don't have a model; may some one suggest a model that power off > openbsd ? https://man.openbsd.org/upd.4 DESCRIPTION The upd driver provides support for monitoring

Re: is there something missing in pledge?

2017-10-24 Thread Sebastien Marie
On Tue, Oct 24, 2017 at 12:31:50PM +0200, Peter J. Philipp wrote: > [...] > > Here is the output of the last few lines: > > backing up file: /etc/spwd.db > cpio: Unable to open /etc/spwd.db to read: Operation not permitted > open: No such file or directory > file was >

Re: is there something missing in pledge?

2017-10-24 Thread Daniel Hartmeier
On Tue, Oct 24, 2017 at 12:31:50PM +0200, Peter J. Philipp wrote: > beta# cpio -o -F spwd.db > /etc/spwd.db > cpio: Unable to open /etc/spwd.db to read: Operation not permitted > > This is why I asked if the pledge is too tight on cpio. Yes, I'd say you are right. Theo, run # find /etc |

Re: is there something missing in pledge?

2017-10-24 Thread Peter J. Philipp
Hi, I've refactored my code, I added imsg and privsep in chroot. Nothing has changed. Still ugly code of mine and still unable to cpio /etc/spwd.db into a cpio file. Only added bonus is that I was able to tighten the pledge() in my code a wee bit. Here is my (refactored) code:

Re: nobreak powers down openbsd

2017-10-24 Thread Boudewijn Dijkstra
Op Mon, 23 Oct 2017 20:08:56 +0200 schreef Friedrich Locke : When i wrote nobreak, i really meant UPS. I don't have a model; may some one suggest a model that power off openbsd ? I'm using an APC UPS with apcupsd. You can define time-outs, thresholds, also

Re: fuse version

2017-10-24 Thread Stefan Sperling
On Tue, Oct 24, 2017 at 11:21:17AM +0200, Zbyszek Żółkiewski wrote: > Hi, > > Quick question: Any plans to support newer version of fuse? > > thanks, > > _ > Zbyszek Żółkiewski > Your question is not specific enough.

Re: Hyper-V Disk Performance

2017-10-24 Thread Mike Belopuhov
On Mon, Oct 23, 2017 at 16:41 -0500, Daniel Boyd wrote: > Is there a recommended configuration for virtual disks in Hyper-V? I > have a virtual machine that I set up recently running 6.2 that has > *very* slow disk performance. It took well over an hour to untar > ports.tar.gz. The host server

fuse version

2017-10-24 Thread Zbyszek Żółkiewski
Hi, Quick question: Any plans to support newer version of fuse? thanks, _ Zbyszek Żółkiewski signature.asc Description: Message signed with OpenPGP

Re: nobreak powers down openbsd

2017-10-24 Thread Marc Peters
On Mon, Oct 23, 2017 at 06:08:56PM +, Friedrich Locke wrote: > When i wrote nobreak, i really meant UPS. > I don't have a model; may some one suggest a model that power off openbsd ? > > Thanks. You can use NUT (network UPS Tools). It's in ports and supports a lot of different brands. hth,