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

[libvirt] [PATCH 0/3] storage: fix file unlink with old uid cache

There's been several reports of issues deleting storage volumes
after creating a VM with virt-manager/virt-install. These patches
fix the reports, see patch descriptions for details.

Patch #1 is the main fix IMO
Patch #2 is a related cleanup that clarifies some remove logic
Patch #3 is optional and may not be exhaustive, it's mostly for discussion

Pavel's original patches and discussions:


Cole Robinson (3):
  storage: refresh volume before deletion
  util: virfile: Clarify setuid usage for virFileRemove
  util: virfile: Only setuid for virFileRemove if on NFS

 src/storage/storage_driver.c | 10 ++++++++++
 src/util/virfile.c           | 39 +++++++++++++++++++++++++++++++++------
 2 files changed, 43 insertions(+), 6 deletions(-)


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