Re: dokuwiki - /dev/urandom issue

2017-06-12 Thread Stuart Henderson
On 2017-06-12, Stuart Henderson wrote: > On 2017-06-11, Asbel Kiprop wrote: >> Hello >> After todays update my Dokuwiki just throw 500 error "There is no suitable >> CSPRNG installed on your system". Googled a bit and found out it because i >> have no /dev/urandom in my basedir, >> And this kinda

Re: dokuwiki - /dev/urandom issue

2017-06-12 Thread Stuart Henderson
On 2017-06-11, Theo de Raadt wrote: > Also, you could "cp /etc/passwd urandom" and it will work fine > also! It won't in this case. They're using ParagonIE's random_* compat library which was written by someone with a functioning brain.

Re: dokuwiki - /dev/urandom issue

2017-06-12 Thread Stuart Henderson
On 2017-06-11, Asbel Kiprop wrote: > Hello > After todays update my Dokuwiki just throw 500 error "There is no suitable > CSPRNG installed on your system". Googled a bit and found out it because i > have no /dev/urandom in my basedir, > And this kinda obvious cuz i have httpd chrooted by default >

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
> The port should be fixed, so that it internally use arc4random. That is what for i came here. think i need to write some mail to package developer... 2017-06-11 21:37 GMT+03:00 Theo de Raadt : > > Asbel Kiprop wrote on Sun, Jun 11, 2017 at 09:24:23PM +0300: > > > > > cat: /var/www/dev/urandom:

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Theo de Raadt
> Asbel Kiprop wrote on Sun, Jun 11, 2017 at 09:24:23PM +0300: > > > cat: /var/www/dev/urandom: Device not configured > > By default, /var is mounted nodev. See mount(8), fstab(5). Providing a workaround that reduces security is a poor answer. Perhaps the drive to make-it-work inevitably overri

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
Ooops, really, thanks So for now it really the only solution, create dev in chroot and remove nodev flag from mounting options of /var/ directory? Hmmm 2017-06-11 21:33 GMT+03:00 Ingo Schwarze : > Hi Asbel, > > Asbel Kiprop wrote on Sun, Jun 11, 2017 at 09:24:23PM +0300: > > > cat: /var/www/dev/

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Ingo Schwarze
Hi Asbel, Asbel Kiprop wrote on Sun, Jun 11, 2017 at 09:24:23PM +0300: > cat: /var/www/dev/urandom: Device not configured By default, /var is mounted nodev. See mount(8), fstab(5). Yours, Ingo

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Daniel Jakots
On Sun, 11 Jun 2017 21:24:23 +0300, Asbel Kiprop wrote: > Created /dev/urandom in chroot. btw > root :: /var/www : ls -la /var/www/dev/ > > > > total 16 > drwxr-xr-x 2 root wheel512 Jun 11 21:01 ./ > drwxr-xr-x 16 root daemon 512 Jun 11 21:01 ../ > crw-r--r-- 1 root wheel

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
Created /dev/urandom in chroot. btw root :: /var/www : ls -la /var/www/dev/ total 16 drwxr-xr-x 2 root wheel512 Jun 11 21:01 ./ drwxr-xr-x 16 root daemon 512 Jun 11 21:01 ../ crw-r--r-- 1 root wheel45, 3 Jun 11 21:01 arandom crw-r--r-- 1 root wheel45, 0 Jun 1

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
I'll try it, but as far as i remember years ago in misc was the discussion about urandom use in OpenBSD applications and advice was to correct the applications so it wasnt depended on urandom. And as i use Doku package from openbsd it looks kinda contradictory - chroot by default and urandom depend

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Daniel Gillen
On 11.06.2017 19:43, Asbel Kiprop wrote: > Hello > After todays update my Dokuwiki just throw 500 error "There is no suitable > CSPRNG installed on your system". Googled a bit and found out it because i > have no /dev/urandom in my basedir, > And this kinda obvious cuz i have httpd chrooted by defa

Re: dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
Oh, forgot, OpenBSD -current, php56 + php56-fpm. 2017-06-11 20:43 GMT+03:00 Asbel Kiprop : > Hello > After todays update my Dokuwiki just throw 500 error "There is no suitable > CSPRNG installed on your system". Googled a bit and found out it because i > have no /dev/urandom in my basedir, > And

dokuwiki - /dev/urandom issue

2017-06-11 Thread Asbel Kiprop
Hello After todays update my Dokuwiki just throw 500 error "There is no suitable CSPRNG installed on your system". Googled a bit and found out it because i have no /dev/urandom in my basedir, And this kinda obvious cuz i have httpd chrooted by default Doku version dokuwiki-2017.02.19b installed fr