Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198797 Details for
Bug 278695
dev-db/ctdb-1.0.86: Version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Required patch used by ebuild ctdb-1.0.86.ebuild
ctdb-functions.patch (text/plain), 1.65 KB, created by
John Simmonds (overfuse)
on 2009-07-22 15:30:15 UTC
(
hide
)
Description:
Required patch used by ebuild ctdb-1.0.86.ebuild
Filename:
MIME Type:
Creator:
John Simmonds (overfuse)
Created:
2009-07-22 15:30:15 UTC
Size:
1.65 KB
patch
obsolete
>--- ./config/functions 2009-07-22 14:49:19.427871007 +0100 >+++ ./config/functions 2009-07-22 14:49:37.167870966 +0100 >@@ -10,6 +10,7 @@ > . /etc/default/$name > elif [ -f $CTDB_BASE/sysconfig/$name ]; then > . $CTDB_BASE/sysconfig/$name >+ elif [ -f $CTDB_BASE/config.d/$name > fi > } > >@@ -21,6 +22,8 @@ > > if [ -x /sbin/startproc ]; then > CTDB_INIT_STYLE="suse" >+ elif [ -x /bin/rc-status ]; then >+ CTDB_INIT_STYLE="gentoo" > elif [ -x /sbin/start-stop-daemon ]; then > CTDB_INIT_STYLE="ubuntu" > else >@@ -400,6 +403,9 @@ > [ -x /etc/init.d/nfslock ] && { > PLATFORM="rhel" > } >+ [ -x etc/init.d/nfs ] && { >+ PLATFORM="gentoo" >+ } > > case $PLATFORM in > sles) >@@ -424,6 +430,16 @@ > ;; > esac > ;; >+ gentoo) >+ case $1 in >+ start) >+ service nfs start >+ ;; >+ stop) >+ service nfs stop > /dev/null 2>&1 >+ ;; >+ esac >+ ;; > *) > echo "Unknown platform. NFS is not supported with ctdb" > exit 1 >@@ -442,6 +458,9 @@ > [ -x /etc/init.d/nfslock ] && { > PLATFORM="rhel" > } >+ [ -x etc/init.d/nfs ] && { >+ PLATFORM="gentoo" >+ } > > case $PLATFORM in > sles) >@@ -466,6 +485,18 @@ > ;; > esac > ;; >+ gentoo) >+ # for gentoo there is no service for lockmanager >+ # so we instead just shutdown/restart nfs >+ case $1 in >+ start) >+ service nfs start >+ ;; >+ stop) >+ service nfs stop > /dev/null 2>&1 >+ ;; >+ esac >+ ;; > *) > echo "Unknown platform. NFS locking is not supported with ctdb" > exit 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
Attachments on
bug 278695
:
198796
|
198797
|
198798
|
198801
|
198803
|
198804
|
199332
|
199458
|
199460
|
199461
|
199463
|
199581