pr1ntf / iohyve

FreeBSD bhyve manager utilizing ZFS
BSD 2-Clause "Simplified" License
304 stars 44 forks source link

iohyve list displays incorrect information when run as non-root #281

Open duxovni opened 7 years ago

duxovni commented 7 years ago

When I run iohyve list as a non-root user, all VMs are listed as not running. If iohyve can't figure out whether VMs are running when it doesn't have root privileges, then it should display a warning or refuse to run.

pr1ntf commented 7 years ago

Good catch! Sometimes you cannot see processes spawned by other users (in this case root). We'll get a warning added if the uid isn't root's.

Can you confirm that you can still see it's (correct) VMM status?

duxovni commented 7 years ago

Yup, the VMM status was correct.