Why does yum always need a global lock?
Christoph Höger
choeger at cs.tu-berlin.de
Wed Oct 22 07:02:21 UTC 2008
Would you be interested in making it more fine-grained at all? As its
python I basically _could_ do some work.
Am Dienstag, den 21.10.2008, 14:37 -0400 schrieb seth vidal:
> On Tue, 2008-10-21 at 20:01 +0200, Christoph Höger wrote:
> > Hi,
> >
> > what does yum make requiring a global lock for _every_ operation as
> > root? I can search/info/download as normal user, while updating the
> > system but not as root. Why that?
>
> B/c none of the /var/cache/yum dir is writable as a user. But as root it
> is all writable. Changing the metadata while another yum operation is
> going on will result in unpredictable results.
>
> > Why do we need to lock yum for more than rpm transactions (shouldn't rpm
> > do that at all) and cache write operations?
>
> b/c we write out other data.
>
> -sv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20081022/4aa0db61/attachment.sig>
More information about the fedora-devel-list
mailing list