Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 606315 Details for
Bug 850861
ctdb+systemd problems
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch: fix up systemd integration goop
0001-ctdb-clean-up-systemd-integration.patch (text/plain), 1.96 KB, created by
Jeff Layton
on 2012-08-22 15:52:35 UTC
(
hide
)
Description:
patch: fix up systemd integration goop
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2012-08-22 15:52:35 UTC
Size:
1.96 KB
patch
obsolete
>From 89846a826443745e5b4911cd478d93251fef7de5 Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Wed, 22 Aug 2012 11:51:40 -0400 >Subject: [PATCH] ctdb: clean up systemd integration > >This fixes a number of problems: > >1) Removes extra quoting around $CTDB_OPTIONS. Adding quotes around it >makes the shell pass them as one giant argument. > >2) Removes the extraneous single quotes around the values in >build_ctdb_options(). ctdbd doesn't know how to strip those out, so >they shouldn't be added at all. > >3) removes the bogus PIDFile= line from ctdb.service. systemd expects >the daemon to create that file, but ctdb doesn't do so. > >Signed-off-by: Jeff Layton <jlayton@redhat.com> >--- > config/ctdb.service | 1 - > config/init_functions | 2 +- > config/systemd/ctdb.systemd | 2 +- > 3 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/config/ctdb.service b/config/ctdb.service >index c3423a6..d6a2c22 100644 >--- a/config/ctdb.service >+++ b/config/ctdb.service >@@ -5,7 +5,6 @@ After=network.target > [Service] > Type=forking > LimitCORE=infinity >-PIDFile=/run/ctdbd/ctdbd.pid > ExecStartPre=/etc/ctdb/systemd/ctdb_drop_all_public_ips > ExecStartPre=/etc/ctdb/systemd/ctdb_check_persistent_databases.pre > ExecStart=/etc/ctdb/systemd/ctdb.systemd >diff --git a/config/init_functions b/config/init_functions >index 6d3e789..36a5fb4 100644 >--- a/config/init_functions >+++ b/config/init_functions >@@ -8,7 +8,7 @@ build_ctdb_options () { > # then return > [ -z "$2" -o \( -n "$3" -a "$3" != "$2" \) ] && return > >- val="'$2'" >+ val="$2" > case "$1" in > --*) sep="=" ;; > -*) sep=" " ;; >diff --git a/config/systemd/ctdb.systemd b/config/systemd/ctdb.systemd >index 6f29e85..5c1eb3f 100644 >--- a/config/systemd/ctdb.systemd >+++ b/config/systemd/ctdb.systemd >@@ -27,6 +27,6 @@ fi > > build_ctdb_options > >-exec $ctdbd "$CTDB_OPTIONS" >/dev/null 2>&1 </dev/null >+exec $ctdbd $CTDB_OPTIONS >/dev/null 2>&1 </dev/null > > exit 1 >-- >1.7.11.4 >
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
Attachments on
bug 850861
: 606315