NTP server on OpenBSD6.4 on KVM Guest clock drift (fixed in OpenBSD6.5 beta)

2019-03-20 Thread Tom Smyth
Hello I Had noticed that NTP updates to network devices were frequently hundreds of ms and even sometimes a few seconds of an adjustment on network devices that were configured to use my 2 OpenBSD NTP servers, logging into NTP servers and checking /var/log/daemon would see the log peppered with

Securely storing credentials for services

2019-03-20 Thread Kurtis
Many daemons/apps need access to sensitive credentials. For example, a common web-application may need a password to query a database. I have seen many different approaches to this. Some just store them in configuration files accessible [only] to the application. Others use password vaults, alt

Re: OpenBSD 6.5 on Clevo W840SU: BIOS hangs when booted via (m)SATA

2019-03-20 Thread finkfox
Dear Peter and all, > I believe both should be doable using openbsd's fdisk (available I think from > the bsd.rd > installer image), try escaping to the shell from the installer, possibly > fdisk -e and > keep the man page handy. I *think* what I did back then was set the all parts > to size >

Re: httpd: need root privileges

2019-03-20 Thread Marc Espie
On Wed, Mar 20, 2019 at 08:38:18PM +1300, worik wrote: > Yes. > > But is the error message: > > httpd: need root privileges > > Accurate? This is the paradox of modern secure code. You need to start stuff as root because you want to do stuff in startup code that you can only do as root, namel

Re: httpd: need root privileges

2019-03-20 Thread Otto Moerbeek
On Wed, Mar 20, 2019 at 08:38:18PM +1300, worik wrote: > On 20/03/19 3:01 AM, Ingo Schwarze wrote: > > Hi Alfred, > > > > Alfred Morgan wrote on Tue, Mar 19, 2019 at 08:05:33AM -0500: > > > >> I tried starting a temporary httpd server on port 8080 > >> as a user to serve some files and I found thi

Re: httpd: need root privileges

2019-03-20 Thread worik
On 20/03/19 3:01 AM, Ingo Schwarze wrote: > Hi Alfred, > > Alfred Morgan wrote on Tue, Mar 19, 2019 at 08:05:33AM -0500: > >> I tried starting a temporary httpd server on port 8080 >> as a user to serve some files and I found this error: >> httpd: need root privileges >> >> I would think there woul

Re: OpenBSD 6.5 on Clevo W840SU: BIOS hangs when booted via (m)SATA

2019-03-20 Thread Peter N. M. Hansteen
On Wed, Mar 20, 2019 at 08:17:51AM +, fink...@dismail.de wrote: > In your blog post [1] you describe installing OpenBSD on your then (2017) new > silver colored laptop, a (Multicom) Clevo U831 with dmesg [2]. > > In the post you also mention your previous (2014) black colored laptop, a > Cle

Re: OpenBSD 6.5 on Clevo W840SU: BIOS hangs when booted via (m)SATA

2019-03-20 Thread finkfox
Dear Peter, thank you for your reply. > Odd. I vaguely remember having to set the BIOS to look at the SSD (which > OpenBSD sees as sd1) but > IIRC I only booted the machine from a USB drive once, for the initial install. > > The only obvious points I see are that you’re pointing to the wrong dm