[Pacemaker] owership of created symlink

andreas graeper agraeper at googlemail.com
Wed Jun 5 10:07:04 UTC 2013


thanks for your answer.
i was next to the solution: need root:exim 775 for the symlink.target.
after `chown root.mail` i `chown 775` and did not realize.

> Also make sure the uid/gid is the same on all nodes.
good hint! i am testing on different machines/os. thanks a lot.

andreas

i`m still looking for a guide, that tells what part of system to mirror,
what services to get managed by pacemaker. currently (a prepaired system)
there is only a partition for customer data and application and only their
application are managed by pacemaker (after
ipaddr2,drbd,filesystem,exportfs)

is there any reason to clone a nfs-server ?

thanks in advance


2013/6/4 Lars Ellenberg <lars.ellenberg at linbit.com>

> On Tue, Jun 04, 2013 at 07:15:11PM +0200, andreas graeper wrote:
> > hi,
> > i tried, before starting dovecot+exim+fetchmail
> >
> > to create a symlink
> > /var/mail -> /mnt/mirror/var/mail
> > with ra ocf:heartbeat:symlink
> >
> > i changed target :
> >   chmod 0775
> >   chown root.mail
> >
> > but i need write permission to /var/mail
> > cause exim wants to create a lock file
> >
> > i tried to manually
> >  chown -h root.mail /var/mail
> > and link is now 777 root.mail
>
> Ownership and permissions of the link do not matter at all.
> For the mount point the same.
>
> Ownership and permissions of the directory matters.
>
> once mounted, do "chown / chmod" on "/mnt/mirror/var/mail/."
>
> Also make sure the uid/gid is the same on all nodes.
>
> > but old problem euid=5xx egid=8 (mail) can not create lock file
> > /var/mail/.lock
> >
> > please help.
> > andreas
>
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
>
> _______________________________________________
> 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://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130605/5e66a974/attachment.htm>


More information about the Pacemaker mailing list