Bug#544801: Unable to obtain global lock

Petr Rockai prockai at redhat.com
Thu Sep 3 12:21:24 UTC 2009


Alasdair G Kergon <agk at redhat.com> writes:
> The fix (untested) should probably be something like changing
> lib/locking/no_locking.c to:
>   static int _readonly_lock_resource(struct cmd_context *cmd,
>                                      const char *resource,
>                                      uint32_t flags)
>   {
>         if ((flags & LCK_TYPE_MASK) == LCK_WRITE &&
>             (flags & LCK_SCOPE_MASK) == LCK_VG &&
>             !(flags & LCK_CACHE) &&
>             strcmp(resource, VG_GLOBAL))
Ack (this should indeed be the right fix).





More information about the pkg-lvm-maintainers mailing list