[Koha-bugs] [Bug 11078] rebuild_zebra.pl can lose updates due to race condition during full rebuilds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 20 08:35:23 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11078

--- Comment #30 from Doug Kingston <dpk at randomnotes.org> ---
(In reply to M. Tompsett from comment #29)
> I just applied 6435, 11078, and then moved my ~/koha-dev to
> ~/koha-dev_pretest.
> I then I did the standard:
>     perl Makefile.PL
>     make
>     make test
>     make install
> And then proceeded to look at ~/koha-dev/etc/koha-conf.xml for the lockdir
> value: /var/lock?!
> 
> I did a git rebase -i and squashed them all together to see which files were
> modified in a git commit --amend. You didn't touch Makefile.PL?

What did you expect it to be?

The more I look at the use of INSTALL_BASE, __INSTALL_BASE__, the $prefix in
rewrite_config.PL, the more scared I get.  The fact that $prefix defaults to
/usr looks wrong since that creates /usr/var/{lock,log} which is not conforming
with POSIX.  Is this line not getting substituted:
  "__LOCK_DIR__" => "$ENV{'INSTALL_BASE'}/var/lock",

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list