Hi KLone team,<br><br>I hope you have had nice holidays ;)<br><br>*** My objective : ***<br>Use relative paths in kloned.conf (because the directory depends of unknown installation folder).<br><br>*** My problem : ***<br><span class="clickable" onclick="dr4sdgryt(event,&quot;Ox&quot;)"></span>I cannot use relative paths in my kloned.conf because &quot;./&quot; is replaced by &quot;/&quot;.<br>

<br>For example, <br>my KLone binary (&quot;kloned&quot;) is located in &quot;/home/user1/&quot;<br>my kloned.conf specifies the log file :<br>====================================<br>log<br>{<br>    type                     file<br>

    file.basename       ./tmp/log<br>}<br>====================================<br>However, if I execute :<br>     $ cd /home/user1<br>     /home/user1$ ./kloned<br><br>the path &quot;.&quot; is replace by &quot;/&quot; instead of &quot;/home/user1/&quot; and the getcwd() function gives the path &quot;/&quot;.<br>

<br>But if I execute :<br>     $ cd /home/user1<br>     /home/user1/$ ./kloned -F<br><br>the path &quot;.&quot; is replace by &quot;/home/user1/&quot; and the getcwd() function gives the same path.<br>
<br>This problem is linked to call daemon() function in
&quot;src/kloned/entry.c&quot; and redefined in &quot;libu/srcs/missing/daemon.c&quot; that
use &quot;chdir(&quot;/&quot;)&quot; :<br><br>
   con_err_ifm(daemon(0, 0), &quot;daemon error&quot;); //line 401 src/kloned/entry.c<br>
<br>
We wish have the possibilty to call daemon() with daemon(1, 0).<br>
<br>
** My question : **<br>
<br>
Could you offer us an option in the main makefile as &quot;--enabled_chdir_daemon&quot; to add the value 1 to daemon() function ?<br><br>
<br>
Thanks.<br><br>-- <br>Mickaël AUGER<br><br>