[Koha] On reboot Ubuntu deletes /var/run files and directories

Pseudo Admin sayanslib at gmail.com
Wed Apr 23 15:30:12 NZST 2008


On reboot Ubuntu deletes /var/run files and directories causing this error
when running zebra :

 *08:25:25-23/04 [fatal] lock file
/var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory]
*
A search on Google led me to this post on koha-dev:

*On 2/13/08, Chadwick, John, DCA <john.chadwick at ...> wrote:
> We have had this problem with Koha 3 on Ubuntu. After doing a great deal
> of research, it seems that Ubuntu (and probably other OS systems) treat
> directories in /var/run and /var/lock as temp directories and each time
> the machine reboots, the directories disappear on us.
*

*Yes, as I just found on closer inspection of the FHS documentation
[1], files in /var/run are supposed to be deleted or truncated at
boot.  Debian Etch clears files but leaves the subdirectories in
place, but Ubuntu and other systems that either mount /var/run as a
tempfs or are are aggressive about clearing /var/run get rid of the
subdirectories at boot.*

*Consequently, I will patch koha-zebra-ctl.sh to create the
subdirectories under /var/run if needed.*

*[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA*

*Regards,*

*Galen*

I was just wondering what is the status of this fix ? Is it already included
in Koha 3b2?

Thanks!

*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080422/272a94d6/attachment.htm 


More information about the Koha mailing list