From: Michael Goldish <mgoldish@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: [autotest] require root?
Date: Wed, 5 Aug 2009 06:00:30 -0400 (EDT) [thread overview]
Message-ID: <1086603256.1491001249466430884.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <4A795608.5020602@redhat.com>
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
prev parent reply other threads:[~2009-08-05 10:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 9:51 [autotest] require root? Gerd Hoffmann
2009-08-05 10:00 ` Michael Goldish [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1086603256.1491001249466430884.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com \
--to=mgoldish@redhat.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox