Re: OpenBSD Home Server: Hints and Advices

2015-09-29 Thread Benny Lofgren
On 2015-09-29 04:00, dominik...@openmailbox.org wrote: > On 2015-09-28 20:15, Stuart Henderson wrote: >> On 2015-09-28, dominik...@openmailbox.org >> wrote: >>> I'll use a 500GB SATA drive for the OS installation and will setup two >>> WD Red drives in mirror using

OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Hi, I have a piece o software to install that requires sendfile functionality . I installed hs-sendfile from ports, which should providesendfile, but now sendfile library or binary is present: I run the command , first:sudo /usr/local/lib/ghc/sendfile-0.7.9/register.sh and $ sudo ldconfig

Re: OpenBSD official reference book ( like FreeBSD handbook / NetBSD Guide )

2015-09-29 Thread Christian Weisgerber
On 2015-09-28, Ingo Schwarze wrote: >> What I like about the https://www.freebsd.org/doc/handbook/ > > It is intentional that OpenBSD does not have a handbook like FreeBSD. Oh come on, the OpenBSD FAQ serves the same role as the FreeBSD Handbook. -- Christian "naddy"

Re: Slightly OT, .. 5.5 Nagios

2015-09-29 Thread Stuart Henderson
On 2015/09/28 19:34, L. V. Lammert wrote: > On Tue, 29 Sep 2015, Stuart Henderson wrote: > > > Also note: if this is on a 32-bit machine (e.g. i386), the time_t > > change breaks things with nagios and icinga. Fixed for icinga in > > the OpenBSD 5.7 package (patches in 200+ places for this) but

Re: X security claims in FAQ considering Xorg setuid root binary (was: Slightly OT, .. 5.5 Nagios)

2015-09-29 Thread Tim Kuijsten
Op 28-09-15 om 23:29 schreef Philip Guenther: On Mon, Sep 28, 2015 at 1:31 PM, L. V. Lammert wrote: ... X has never been installed on this box, .. why now? http://www.openbsd.org/faq/faq4.html#FilesNeededX From the FAQ: "By itself, installing X on a system does not

OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Hi, I have a piece o software to install that requires sendfile functionality . I installed hs-sendfile from ports, which should provide sendfile, but now sendfile library or binary is present: I run the command , first: sudo /usr/local/lib/ghc/sendfile-0.7.9/register.sh and $ sudo ldconfig

Re: X security claims in FAQ considering Xorg setuid root binary (was: Slightly OT, .. 5.5 Nagios)

2015-09-29 Thread Ted Unangst
Tim Kuijsten wrote: > Op 28-09-15 om 23:29 schreef Philip Guenther: > > On Mon, Sep 28, 2015 at 1:31 PM, L. V. Lammert wrote: > > ... > >> X has never been installed on this box, .. why now? > > > > http://www.openbsd.org/faq/faq4.html#FilesNeededX > > > > From the FAQ: > "By

Re: OpenBSD sendfile

2015-09-29 Thread Ted Unangst
Bogdan Andu wrote: > Hi, > I have a piece o software to install that requires > sendfile functionality . > I installed hs-sendfile from ports, which should providesendfile, but now > sendfile library or binary is present: > I run the command , first:sudo

Re: X security claims in FAQ considering Xorg setuid root binary (was: Slightly OT, .. 5.5 Nagios)

2015-09-29 Thread Theo de Raadt
> Op 28-09-15 om 23:29 schreef Philip Guenther: > > On Mon, Sep 28, 2015 at 1:31 PM, L. V. Lammert wrote: > > ... > >> X has never been installed on this box, .. why now? > > > > http://www.openbsd.org/faq/faq4.html#FilesNeededX > > > > From the FAQ: > "By itself, installing X

Re: OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
No, Erlang. Yaws wants it On Tuesday, September 29, 2015 6:33 PM, Ted Unangst wrote: Bogdan Andu wrote: > Hi, > I have a piece o software to install that requires > sendfile functionality . > I installed hs-sendfile from ports, which should providesendfile, but

5.8 current: httpd error after upgrading.

2015-09-29 Thread Abu Aufa
Hi, I upgraded my system to 28th September's snapshot. Right after upgrade, I saw httpd gave error in dmesg. Here's my dmesg: - dmesg starts - OpenBSD 5.8-current (GENERIC.MP) #1388: Mon Sep 28 15:40:56 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Re: OpenBSD sendfile

2015-09-29 Thread Bogdan Andu
Oh.. s^*%t, only haskell can use it, right? On Tuesday, September 29, 2015 6:48 PM, Bogdan Andu wrote: No, Erlang. Yaws wants it On Tuesday, September 29, 2015 6:33 PM, Ted Unangst wrote: Bogdan Andu wrote: > Hi, > I have a

Re: OpenBSD Home Server: Hints and Advices

2015-09-29 Thread dominik . db
Hummm I see all your points and that is good food for thoughts. I now see that it is indeed a bad setup for a backup solution. I thought that for a home user it is not necessarily worse than someone using an attached drive to its router (Apple Time Capsule for example). Note that I said "not

Re: Configure SLAAC and DHCPv6-PD in /etc/hostname.em0

2015-09-29 Thread Delan Azabani
According to hostname.if(5), you can write a line in /etc/hostname.em0 containing exactly "rtsol" without the quotes to initiate SLAAC. Please note that SLAAC on a host with IPv6 forwarding turned on will not work until OpenBSD 5.8 as per : > With a per

Re: redirect spkr to headphone jack?

2015-09-29 Thread Alexandre Ratchov
On Mon, Sep 28, 2015 at 11:54:46PM -0400, Quartz wrote: > We have a system with NO physical internal speaker of any kind. Audio > otherwise works from the headphone/line jack, playing wave files with aucat > and messing with mixerctl all work as expected, but there are no 'beeps' > (can't get a

Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Abu Aufa
On Tue, 29 Sep 2015, Ted Unangst wrote: > Abu Aufa wrote: > > Hi, > > > > I upgraded my system to 28th September's snapshot. Right after upgrade, I > > saw httpd gave error in dmesg. Here's my dmesg: > > > I disabled the fastcgi part to test, but still the httpd dies on start > > (manually

Re: OpenBSD Home Server: Hints and Advices

2015-09-29 Thread Devin Reade
--On Tuesday, September 29, 2015 01:14:39 PM +0200 Benny Lofgren wrote: However, even with mirrored drives, IT IS NOT A BACKUP. What if there is a fire? What if someone burglars your house and steals the server? What if someone accidentally knocks it over and all disks

Re: OpenBSD Home Server: Hints and Advices

2015-09-29 Thread Devin Reade
--On Tuesday, September 29, 2015 11:38:00 AM -0600 Devin Reade wrote: To the OP, while most of the advice on this thread has been good, I'd be careful of that one. *Keep* your drives in a mirrored configuration and have *additional* disks for backup purposes. Just to clarify,

Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Erling Westenvik
On Tue, Sep 29, 2015 at 01:07:27PM -0400, Ted Unangst wrote: > Abu Aufa wrote: > > Hi, > > > > I upgraded my system to 28th September's snapshot. Right after upgrade, I > > saw httpd gave error in dmesg. Here's my dmesg: > > > I disabled the fastcgi part to test, but still the httpd dies on

Re: 5.8 current: httpd error after upgrading.

2015-09-29 Thread Ted Unangst
Abu Aufa wrote: > Hi, > > I upgraded my system to 28th September's snapshot. Right after upgrade, I > saw httpd gave error in dmesg. Here's my dmesg: > I disabled the fastcgi part to test, but still the httpd dies on start > (manually and/or on boot). Httpd was ok before upgrading. Is there

Re: OpenBSD Home Server: Hints and Advices

2015-09-29 Thread Benny Lofgren
On 2015-09-29 19:51, Devin Reade wrote: > --On Tuesday, September 29, 2015 11:38:00 AM -0600 Devin Reade > wrote: > >> To the OP, while most of the advice on this thread has been good, I'd >> be careful of that one. *Keep* your drives in a mirrored configuration >> and have

Configure SLAAC and DHCPv6-PD in /etc/hostname.em0

2015-09-29 Thread ML mail
Hello, My ISP told me I need to use SLAAC on my OpenBSD firewall to get the IPv6 Address and to use DHCPv6-PD in order to get my /48 prefix. Now does anyone know how to configure this in /etc/hostname.em0 ? I didn't find anything in the OpenBSD FAQ. Ideally my hostname.em0 would then use a

nginx & Perl on 5.6

2015-09-29 Thread L. V. Lammert
What is the prefered configuration for using Perl & Nginx? php is fairly straightforward, .. but can't find anything for perl except some Linux notes to recompile. Thanks! Lee