Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-15 Thread Ross Berteig
On 5/13/2017 5:50 AM, Richard Hipp wrote: On 5/13/17, Olivier R. wrote: To launch the server, I simply type: fossil open repo.fossil nohup fossil server & Are you running the commands above as root? If so, Fossil will automatically put itself in a chroot

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-15 Thread Warren Young
On May 13, 2017, at 6:50 AM, Richard Hipp wrote: > > Are you running the commands above as root? …and if so, I would guess the only reason you’re running it as root is so that it can listen on port 80, in which case I *strongly* encourage you to bind Fossil to localhost on a

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-15 Thread Richard Hipp
On 5/15/17, Roy Keene wrote: > Maybe it should open /dev/null and /dev/urandom before chroot()'ing ? That would be difficult to implement. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-15 Thread Joerg Sonnenberger
On Mon, May 15, 2017 at 09:15:02AM -0500, Roy Keene wrote: > Maybe it should open /dev/null and /dev/urandom before chroot()'ing ? At /dev/urandom doesn't need to be used on newer Linux systems, getentropy/getrandom provide the same service as system call. Joerg

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-15 Thread Roy Keene
Maybe it should open /dev/null and /dev/urandom before chroot()'ing ? On Sat, 13 May 2017, Richard Hipp wrote: On 5/13/17, Olivier R. wrote: Hello, I?m running Fossil on Debian Jessie 8.2 (x86_64-debian-jessie-2016-04-06_15:26) at Scaleway.com (VC1S). In the admin

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-13 Thread Olivier R.
Thanks. Olivier Are you running the commands above as root? If so, Fossil will automatically put itself in a chroot jail on the directory containing the repository and drop root privileges before doing anything else. This is a security feature. If you are going into a chroot jail, probably

Re: [fossil-users] /dev/null and /dev/urandom not available ?

2017-05-13 Thread Richard Hipp
On 5/13/17, Olivier R. wrote: > Hello, > > I’m running Fossil on Debian Jessie 8.2 > (x86_64-debian-jessie-2016-04-06_15:26) at Scaleway.com (VC1S). > > In the admin panel, Fossil says: > >WARNING: Device "/dev/null" is not available for reading and writing. >