That's not actually a problem since it doesn't impact functionality and just generates that INFO message. Though it probably worth fixing by adding - into su command. I'll test it and submit a patch.
On Tue, Aug 31, 2010 at 1:29 PM, Vadym Chepkov <[email protected]> wrote: > Hi, > > It seems pgsql RA has a flaw: > > Aug 31 19:14:43 xen-1 pgsql[9298]: INFO: could not change directory to > "/var/lib/heartbeat/cores/root" now ------------------------------- > 2010-08-31 19:14:43.227949+00 (1 row) > Aug 31 19:16:43 xen-1 pgsql[9915]: INFO: could not change directory to > "/var/lib/heartbeat/cores/root" now ------------------------------- > 2010-08-31 19:16:43.427126+00 (1 row) > Aug 31 19:18:43 xen-1 pgsql[10527]: INFO: could not change directory to > "/var/lib/heartbeat/cores/root" now ------------------------------- > 2010-08-31 19:18:43.625361+00 (1 row) > Aug 31 19:20:43 xen-1 pgsql[11145]: INFO: could not change directory to > "/var/lib/heartbeat/cores/root" now ------------------------------- > 2010-08-31 19:20:43.818247+00 (1 row) > Aug 31 19:22:44 xen-1 pgsql[11754]: INFO: could not change directory to > "/var/lib/heartbeat/cores/root" now ------------------------------- > 2010-08-31 19:22:44.004922+00 (1 row) > > > since postgresql RA does this: > > runasowner() { > ocf_run su $OCF_RESKEY_pgdba -c "$*" > } > > It can't have this directory as "current", unless I change the permissions. > > [r...@xen-1 ~]# ls -ld /var/lib/heartbeat/cores/root > drwx------ 2 root root 4096 Jul 28 18:52 /var/lib/heartbeat/cores/root > > > resource-agents-1.0.3 > cluster-glue-1.0.6 > > Sincerely, > Vadym > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
