Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-03-01 Thread Alexandru Birsanu
Thanks, I'll create a new account for the repositories from now on and set FOSSIL_HOME=/. The problem only appears if I run fossil as root when compiled with --with-th1-hooks as one of the options and FOSSIL_HOME is not set. Before this, I used the "Linux 3.x x86" version from fossil-scm.org,

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Ross Berteig
On 2/29/2016 3:01 PM, Alexandru Birsanu wrote: Thanks for the explanations. Since Fossil 1.34 didn't have this issue I assumed it might be a bug not a new feature :). I've tried the following and it works great when run as root. export FOSSIL_HOME=/ mkdir /repos && cd /repos fossil new

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Alexandru Birsanu
Thanks for the explanations. Since Fossil 1.34 didn't have this issue I assumed it might be a bug not a new feature :). I've tried the following and it works great when run as root. export FOSSIL_HOME=/ mkdir /repos && cd /repos fossil new repo.fossil fossil server repo.fossil On Mon, Feb 29,

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Richard Hipp
On 2/29/16, jungle Boogie wrote: > > Could you point to where in the code the chroot is created? https://en.wikipedia.org/wiki/Grep https://www.fossil-scm.org/fossil/artifact/e75796be533?ln=1462-1523 -- D. Richard Hipp d...@sqlite.org

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Ross Berteig
On 2/29/2016 11:43 AM, jungle Boogie wrote: On 29 February 2016 at 10:36, Richard Hipp wrote: Right. The "fossil server", "fossil http", "fossil cgi" and similar commands all check to see if they are running as root, and if they are they immediately create a chroot

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread jungle Boogie
On 29 February 2016 at 10:36, Richard Hipp wrote: > On 2/29/16, Joe Mistachkin wrote: >> >> Alexandru Birsanu wrote: >>> >>> HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set >>> FOSSIL_ROOT to /root before make clean && ./configure >>>

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Richard Hipp
On 2/29/16, Joe Mistachkin wrote: > > Alexandru Birsanu wrote: >> >> HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set >> FOSSIL_ROOT to /root before make clean && ./configure >> --with-th1-hooks. I've also tested it with a non-root user, and that >>

Re: [fossil-users] possible bug in dc72fd9624 whenadding--with-th1-hooks

2016-02-29 Thread Joe Mistachkin
Alexandru Birsanu wrote: > > HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set > FOSSIL_ROOT to /root before make clean && ./configure > --with-th1-hooks. I've also tested it with a non-root user, and that > works fine. > IIRC, the "fossil server" command runs in a chroot