[Koha-bugs] [Bug 4873] Debian packaging should avoid /var/run and /var/lock in the package
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 22 03:26:40 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4873
John.Seymour at nal.gov.au changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |John.Seymour at nal.gov.au
Version|rel_3_2 |rel_3_4
Severity|normal |major
--- Comment #1 from John.Seymour at nal.gov.au 2011-07-22 01:26:40 UTC ---
In the current version of debian testing the /var/run and /var/lock
directories are recreated at each boot (this is part of the migration from
/var/run to /run). This means that the koha directories are not available after
each boot. I fixed this issue by modifying the /etc/init.d/koha-common script
as follows.
--- koha-common.orig 2011-07-22 11:07:58.000000000 +1000
+++ koha-common 2011-07-22 11:06:43.000000000 +1000
@@ -42,6 +42,8 @@
#
do_start()
{
+ # We insure all required directories exist, including disabled ones.
+ koha-create-dirs $(koha-list)
koha-start-zebra $(koha-list --enabled)
}
yours
John
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list