Closed jrjeon closed 2 years ago
Hi @jrjeon Jaram,
Thank you for reporting this issue. It seems as if something was missing from sudoers
created by fast-vm during setup.
The request for sudo
comes from this line - https://github.com/OndrejHome/fast-vm/blob/87f5a2e83d28059d6ff4ffb78b5b49919f47cc6c/fast-vm#L977
Would you be able to run following command on your system to check that it will ask for sudo
password?
# echo 'lvs'|LANG=C sudo -n /usr/libexec/fast-vm-helper.sh
fastvm-pool 10.00g 0.00 private
Can you check if you have following fast-vm-sudoers
file present on your system?
# cat /etc/sudoers.d/fast-vm-sudoers
## fast-vm helper script
%libvirt ALL=(root) NOPASSWD: /usr/libexec/fast-vm-helper.sh
For completeness could you please also provide me with following outputs?
$ cat /etc/fast-vm.conf
$ id
$ id <your_user>
Thank you!
Hi Ondrej,
I apology for late update. it looks like there was some issue on sudo configuration, once I clean up the mess, I no longer sees error message. Thanks for the help.
when runing fast-vm list, it errors with sudo password is required. Once, I run the command with sudo, then it stops asking.
I'm running fast-vm 1.7