[Pacemaker] cannot append to /var/log/cluster/corosync.log, permission denied
Andrew Beekhof
andrew at beekhof.net
Mon Sep 20 10:00:21 UTC 2010
On Fri, Sep 17, 2010 at 1:37 PM, Michele Pellegrini
<michele.pellegrini at servabit.it> wrote:
> Change log owner and group to:
>
> -rw-rw---- 1 hacluster haclient 111231 17 set 13:01
> /var/log/corosync/corosync.log
>
> and check logrotate config (if you use it).
>
> Even if in corosync.conf you have specified "user: root" the crmd daemon
> is executed as hacluster and not as root. I think this change has been
> introduced since 1.0.9 pacemaker version.
crmd daemon has always run as non-root.
but it does keep the root group, the the log file needs to be writable by that.
>
>
> regards,
> mike
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list