public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [autotest] require root?
@ 2009-08-05  9:51 Gerd Hoffmann
  2009-08-05 10:00 ` Michael Goldish
  0 siblings, 1 reply; 2+ messages in thread
From: Gerd Hoffmann @ 2009-08-05  9:51 UTC (permalink / raw)
  To: KVM list

   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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [autotest] require root?
  2009-08-05  9:51 [autotest] require root? Gerd Hoffmann
@ 2009-08-05 10:00 ` Michael Goldish
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Goldish @ 2009-08-05 10:00 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: KVM list

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@redhat.com> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-05 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05  9:51 [autotest] require root? Gerd Hoffmann
2009-08-05 10:00 ` Michael Goldish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox