Re: [libvirt] [PATCH v2 14/18] virSecuritySELinuxTransactionRun: Implement rollback

2018-12-06 Thread Daniel P . Berrangé
On Thu, Nov 29, 2018 at 02:52:29PM +0100, Michal Privoznik wrote: > When iterating over list of paths/disk sources to relabel it may > happen that the process fails at some point. In that case, for > the sake of keeping seclabel refcount (stored in XATTRs) in sync > with reality we have to perform

[libvirt] [PATCH v2 14/18] virSecuritySELinuxTransactionRun: Implement rollback

2018-11-29 Thread Michal Privoznik
When iterating over list of paths/disk sources to relabel it may happen that the process fails at some point. In that case, for the sake of keeping seclabel refcount (stored in XATTRs) in sync with reality we have to perform rollback. However, if that fails too the only thing we can do is warn