You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ifireball thanks for the comment.
Due to time constraints, I'll fix the current logic that uses sudo, but leave this issue open
so we can implement the correct fix in the future.
When creating the snapshot, the new layer of the disk is created with the following permissions:
Then we issue
lago.providers.libvirt.vm._reclaim_disks
in order to addrw
permissions to all.This action requires
sudo -u qemu
.During lago installation, we configure
/etc/sudoers .d
with:%lago ALL = (qemu) NOPASSWD: /usr/bin/chmod
but it seems that we need to change it to:
%lago ALL = (qemu) NOPASSWD: /usr/bin/chmod *
or to revisit the way we create snapshots.
The text was updated successfully, but these errors were encountered: