Re: [autotest] require root?

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

 



I used to run the KVM test as a user all the time until I started
working with TAP networking.  TAP requires running qemu as root, unless
you create the TAP devices manually and set proper permissions for them.

----- "Gerd Hoffmann" <kraxel@xxxxxxxxxx> wrote:

> Hi,
> 
> What is the point in requiring running as root?  It seems to work just
> 
> fine as user too after adapting a few permissions (/dev/kvm, 
> /var/log/messages).  Except the hugepages test because it wants mount
> 
> hugetlbfs itself, which could easily be fixed too I think.
> 
> I've also noticed it complains it can't symlink a init script:
> 
> 11:26:46 ERROR| ln: creating symbolic link `/etc/init.d/autotest': 
> Permission denied
> 11:26:46 WARNI| Linking init scripts failed
> 
> Which it shouldn't try in the first place IMO.
> 
> cheers,
>    Gerd
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux