Please sign in to comment.
High: set the HA_RSCTMP directory to /var/run/resource-agents (lf#2378)
The HA_RSCTMP directory should be cleaned up on reboots. This is automatically done for directories under /var/run. Heartbeat used to cleanup this directory on every start, but that is wrong in case resources are in the unmanaged mode. Corosync/Openais never cleaned up this directory. Several resource agents used to create their own subdirectories. That's not an option anymore because only first level subdirectories of /var/run are cleaned. IPv6addr is modified to use the new temporary directory. There is now agent_config.h which may be included by other packages. The temporary directory is created with permissions 1755. In case a resource agents wants to manage a file there but runs as non-root, the permissions will have to change to 1777.
- Loading branch information...
Showing with 55 additions and 35 deletions.
|@@ -0,0 +1,24 @@|
|+# Copyright (C) 2008 Andrew Beekhof|
|+# This program is free software; you can redistribute it and/or|
|+# modify it under the terms of the GNU General Public License|
|+# as published by the Free Software Foundation; either version 2|
|+# of the License, or (at your option) any later version.|
|+# This program is distributed in the hope that it will be useful,|
|+# but WITHOUT ANY WARRANTY; without even the implied warranty of|
|+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the|
|+# GNU General Public License for more details.|
|+# You should have received a copy of the GNU General Public License|
|+# along with this program; if not, write to the Free Software|
|+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.|
|+MAINTAINERCLEANFILES = Makefile.in|
|+i_HEADERS = agent_config.h|
|+noinst_HEADERS = config.h|
|@@ -0,0 +1,2 @@|
|+/* Where Resouce agents keep state files */|