[Yum-devel] [PATCH] Fix locking issue. BZ 865601
James Antill
james.antill at redhat.com
Mon Dec 17 06:03:01 UTC 2012
On Fri, 2012-12-14 at 11:03 +0100, Zdeněk Pavlas wrote:
> We should retry on EEXISTS only, all other errors are permanent.
> LockError(pid=our_pid) only confuses the caller.
LockError() in utils should certainly deal with non-zero errno (esp.
EPERM, as that's thrown from a few paths) ... if both it and yummain
should just treat all non-zero errno's as exit 1, I'm not sure. It seems
sane at first thought.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20121217/fd292acd/attachment.asc>
More information about the Yum-devel
mailing list