Re: Why does yum always need a global lock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux