Bugzilla – Attachment 4707 Details for
Bug 4873
Debian packaging should avoid /var/run and /var/lock in the package
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4873 - Ensure that the required directories exist on init
Bug-4873---Ensure-that-the-required-directories-ex.patch (text/plain), 1.02 KB, created by
Robin Sheat
on 2011-07-22 03:36:19 UTC
(
hide
)
Description:
Bug 4873 - Ensure that the required directories exist on init
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2011-07-22 03:36:19 UTC
Size:
1.02 KB
patch
obsolete
>From fefcd6b47c40149afe4ba9cffa693799c5009d2b Mon Sep 17 00:00:00 2001 >From: John Seymour <John.Seymour@nal.gov.au> >Date: Fri, 22 Jul 2011 15:08:40 +1200 >Subject: [PATCH] Bug 4873 - Ensure that the required directories exist on init > >As systems (Ubuntu already, Debian testing is doing it too) move to >ramdisking /var/run and /var/lock, or otherwise clearing them on boot, >we need to ensure that they're there when we need them. This patch >autocreates any directories that are missing when the init script runs. > >Signed-off-by: Robin Sheat <robin@catalyst.net.nz> >--- > debian/koha-common.init | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/debian/koha-common.init b/debian/koha-common.init >index 719a584..5be77d3 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -42,6 +42,8 @@ SCRIPTNAME=/etc/init.d/$NAME > # > do_start() > { >+ # We insure all required directories exist, including disabled ones. >+ koha-create-dirs $(koha-list) > koha-start-zebra $(koha-list --enabled) > } > >-- >1.7.4.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4873
: 4707