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 829493 Details for
Bug 1035013
Document disabling of automatic updates for cluster
[?]
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]
Alternate patch which makes sure cluster is restart on update
pacemaker-change-stop-to-condrestart.patch (text/plain), 1.31 KB, created by
Tuomo Soini
on 2013-11-26 21:18:40 UTC
(
hide
)
Description:
Alternate patch which makes sure cluster is restart on update
Filename:
MIME Type:
Creator:
Tuomo Soini
Created:
2013-11-26 21:18:40 UTC
Size:
1.31 KB
patch
obsolete
>commit a326418aab4e079b87b7ee607a683e355baecee4 >Author: Tuomo Soini <tis@foobar.fi> >Date: Tue Nov 26 12:30:32 2013 +0200 > > fix "%preun" not to do unconditional service pacemaker stop > fix "%preun remote" not to do unconditional service pacemaker_remote stop > add "%postun" to do service pacemaker condrestart > add "%postun remote" to do service pacemaker_remote condrestart > >diff --git a/pacemaker.spec b/pacemaker.spec >index 3230c6d..25ef69b 100644 >--- a/pacemaker.spec >+++ b/pacemaker.spec >@@ -412,22 +412,32 @@ rm -rf %{buildroot} > /sbin/chkconfig --add pacemaker || : > > %preun >-/sbin/service pacemaker stop || : > if [ $1 -eq 0 ]; then > # Package removal, not upgrade >+ /sbin/service pacemaker stop >/dev/null 2>&1 || : > /sbin/chkconfig --del pacemaker || : > fi > >+%postun >+if [ $1 -gt 0 ]; then >+ /sbin/service pacemaker condrestart >/dev/null 2>&1 || : >+fi >+ > %post remote > /sbin/chkconfig --add pacemaker_remote || : > > %preun remote >-/sbin/service pacemaker_remote stop &>/dev/null || : > if [ $1 -eq 0 ]; then > # Package removal, not upgrade >+ /sbin/service pacemaker_remote stop >/dev/null 2>&1 || : > /sbin/chkconfig --del pacemaker_remote || : > fi > >+%postun remote >+if [ $1 -gt 0 ]; then >+ /sbin/service pacemaker_remote condrestart >/dev/null 2>&1 || : >+fi >+ > %endif > > %pre -n %{name}-libs
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 1035013
:
829468
| 829493