Hi Serge,

"Serge Dubrouski" <[EMAIL PROTECTED]> writes:
> Actually I don not like check_log_file function very much. It'll fail
> if the log file does not exist and admin configured /var/log/pgsql.log
> or so as a log file. 

It works if the log file path is creatable to PGDBA user.

If you want to use a log file under /var/log (i.e. writable to
root only) then the admin should create the file and give a
permission to PGDBA user beforehand you start heartbeat. This is
the same prerequisite to the first version of pgsql, I think.

>The better approach, IMHO, would be to create a
> files as root and run chown then. I'll prepare a patch later id
> somebody else won't beat me.

Yeah, I also thought that idea, but I wondered what the
group would be.

Anyway, either approach is OK for me.


Lars,
Horms,
Thank you for your comments and applying the patch!


Thanks,

Keisuke MORI
NTT DATA Intellilink Corporation

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to