Re: virt-what -- why root?

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

 



On Wed, Jun 26, 2019 at 06:05:57PM +0700, Ryan Erwin wrote:
> Hello,
> 
> I was using `virt-what` and noticed that you require root before running
> `/usr/lib/virt-what/virt-what-cpuid-helper` however I also noticed that
> directly running the cpuid-helper binary without root it still worked fine
> for me on several machines when I directly run the helper binary.
> 
> What circumstances have you found where cpuid-helper actually does requrie
> root? Is it SELinux related?

virt-what could be run as non-root.  The original reason for requiring
root was so we could run dmidecode (nothing to do with cpuid).
However that information is now available in /sys/firmware and other
places (on Linux at least).  Since no one has done the work, virt-what
still requires root though.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux