[Bug 192889] Review Request: openais standards based cluster framework

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 9 07:56:08 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: openais standards based cluster framework


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192889





------- Additional Comments From sdake at redhat.com  2006-06-09 03:48 EST -------
(In reply to comment #39)
> (In reply to comment #37)
> > The /sbin/service requirement isn't needed as initscripts get pulled in due to
> > deps in the Exceptions list.
> 
> The initscripts deps were there for the scripts (install-time requirements), not
> build dependencies. The exceptions list applies to build requirements. A system
> using a different init system (such as initng) might not use initscripts at all.
> 
> An example showing an explicit dependency on /sbin/service can be found on the
> ScriptletSnippets wiki page:
>
)http://fedoraproject.org/wiki/ScriptletSnippets?highlight=%28snippets%29#head-24ef9d59bda6032df14cf3cb433ce4ef09348f69
> 
> 

Paul
Thanks for the link about scriptlets.  I haven't seen this link before.  I
believe I have the condrestart code wrong (according to the scriptlet docs).

Do I need something like?
%postun
if [ "$1" -ge "1" ]; then
        /sbin/service openais condrestart >/dev/null 2>&1 ||:
fi

the current code looks like:
%post
/sbin/chkconfig --add openais || :
/sbin/service openais condrestart || :

TIA
-steve

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list