Hi Serge,
Post by Serge DubrouskiHi, Dejan -
Will you apply it?
The grep ps part I'll apply. I was just curious why the previous
version didn't work, but I guess it's not worth the time to
investigate.
And I'm trying to understand this part:
named_getpid () {
local pattern="$OCF_RESKEY_named"
- if [ -n "$OCF_RESKEY_named_rootdir" ]; then
+ if [ -n "$OCF_RESKEY_named_rootdir" -a "x${OCF_RESKEY_named_rootdir}" != "x/" ]; then
pattern="$pattern.*-t $OCF_RESKEY_named_rootdir"
fi
How would named_rootdir be set to "/" unless the user sets it as
a parameter? Why would "/" then be treated differently?
Cheers,
Dejan
Post by Serge DubrouskiPost by Serge DubrouskiYes it is. It also includes a fix for a small bug. So 2 lines changed.
Post by Dejan MuhamedagicHi Serge,
Post by Serge DubrouskiHello -
Attached a short patch for named RA to fix improve getpid function.
Sorry for the delay. Is this the same as
https://github.com/ClusterLabs/resource-agents/issues/134
and
https://github.com/ClusterLabs/resource-agents/pull/140
Cheers,
Dejan
Post by Serge Dubrouski--
Serge Dubrouski.
_______________________________________________________
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
_______________________________________________________
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
--
Serge Dubrouski.
_______________________________________________________
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/