Re: [PATCH 11/17] util: Introduce libvirt_udevhelper

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

 



On Thu, Oct 27, 2016 at 2:48 PM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:

> We absolutely don't want to be delegating permissions setting/labelling
> to udev & waiting for it to complete asychronously in the background.
> That leads to two completely different approaches for labelling files
> vs block devices making debugging harder and the overall system more
> complex & error prone.

libvirtd would chown and relabel but it would also trigger change
event after it populates devices.udev. To make sure any change event
that was possibly running before won't change permissions back.
Waiting will be synchronous on libvirtd side. I admit it is a bit ugly
but I think there is no other way how to solve this problem.

Michal

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]