Libvirtd: setup questions and permission problems

Hello,
i noticed that someone removed the section which states that the "user=" and "group=" parameters of the /etc/libvirt/qemu.conf should modified from the libvirt wiki page.
So i removed my qemu user and commented the "user=" and "group=" parameters from the /etc/libvirt/qemu.conf to keep up with newest changes.
But after this i can't start my virtual machines from the libvirt system session which i normally use. I always get the error: "Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied"
If i add "user=root" in /etc/libvirt/qemu.conf and restart libvirtd.service i can start my virtual machines. But i think there must be a reason why someone removed this section from the wiki page.
Then i decided to test the user session, but i can't add storage or network in the user session, because i always get permission denied or operation permitted error messages. So i skipped further tests and decided to ask this here.
This is my work configuration:
- My user is in the kvm and in the wheel group
- Nothing commented out in the configuration files below /etc/libvirt
- I created the file "/etc/polkit-1/rules.d/49-org.libvirt.unix.manager.rules" with the content from the libvirt wiki page
- libvirtd.service is enabled
If you need more informations, please let me know.
Kind regards,
morlix
Last edited by morlix (2015-03-24 17:26:44)

Welcome to the forums.
I don't know exactly why the wiki has been changed, or if there is a 'best way' of using libvirt. But FWIW, my past and current working setup is as follows:
- My user is in the users and libvirt groups (and no others)
- The uncommented lines in my qemu.conf file are:
user = "alphaniner"
group="libvirt"
- I have the rule 50-org.libvirt.unix.manage.rules :
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" &&
subject.isInGroup("libvirt")) {
return polkit.Result.YES;
I'm pretty sure that covers it. I have no issues using the gui to add networks or storage including raw storage devices owned by root.
Last edited by alphaniner (2015-03-24 21:27:17)

Similar Messages

  • Account rights and Permission problems!

    I have since few day´s MacKeeper installed, but even when I restart my Mac. I can´t use Internetsecurity because of permission problems I have no access to helperlaunch. My Account has Admin rights but helperlaunch get´s the information that I have not the rights to access. When I get a new Account with the same rights it will work. How can I change this at my Original Account?

    Open disk utility and repair permissions on your boot volume.
    Then, follow this to reset your user permissions:
    Turn on the Mac whilst holding down cmd + R. You can let go once you see a spinning dial. You will then see the ”Mac OS X Utilities” screen.
    On the top menu, click Utilities, then click Terminal.
    Type resetpassword and press Enter.
    Click on your main hard drive.
    In the dropdown box under “Select the user account” make sure to select your username.
    Underneath where it says “Reset Home Directory Permissions and ACLs”, click the Reset button.
    Press cmd + Q to quit the Reset Password application.
    Press cmd + Q again to quit the Terminal.
    Press cmd + Q one more time and click Restart.

  • Setup question and advice for Lightroom 4.1

    Hi,
    I'm upgrading from LR 3.6 to  LR 4.1 on my Windows 7 laptop with 8 gigs ram. I  need to free up space on my internal hard drive, so I'm moving my images to a 1T external hard drive, connected via usb 2.0 unfortunately.
    question 1: Does it matter in what order I do the above? In other words, should I do the upgrade to 4.1 first and then move my images/catalogue to the external hard drive or should I move my images and then upgrade?
    I've heard talk about how LR 4.1 is slower than  LR 3.6, so I'm, a little worried about performance.
    quesiton 2: Does anyone have an specific advice about configuring LR for best performance considering my files will be stored on external hd via USB 2?
    (I only use this computer for web surfing and imaging programs. Besides LR, I also run Camera Raw,  PS CS 5, and Premiere Elements. I  was thinking about making two catalogues- still images which I would move to the ext hd and movie clips which I would keep on the internal hd. Does that make sense? )
    thanks in advance,
    D

    ziggycat4 wrote:
    Hi,
    I'm upgrading from LR 3.6 to  LR 4.1 on my Windows 7 laptop with 8 gigs ram. I  need to free up space on my internal hard drive, so I'm moving my images to a 1T external hard drive, connected via usb 2.0 unfortunately.
    question 1: Does it matter in what order I do the above? In other words, should I do the upgrade to 4.1 first and then move my images/catalogue to the external hard drive or should I move my images and then upgrade?
    Doesn't matter, as long as you do it properly
    I've heard talk about how LR 4.1 is slower than  LR 3.6, so I'm, a little worried about performance.
    quesiton 2: Does anyone have an specific advice about configuring LR for best performance considering my files will be stored on external hd via USB 2?
    It is slower for some people, and not slower for other people. I don't think anyone in these forums has figured out what the reason is for slowness on some computers. The only thing you can do is try it on your computer. By the way, as far as I have read, the performance problems in Lightroom are not related to USB 2.
    (I only use this computer for web surfing and imaging programs. Besides LR, I also run Camera Raw,  PS CS 5, and Premiere Elements. I  was thinking about making two catalogues- still images which I would move to the ext hd and movie clips which I would keep on the internal hd. Does that make sense? )
    Nope, multiple catalogs doesn't make sense to me. You are just reducing your efficiency by having multiple catalogs here. One catalog is easier, that way you never have to switch back and forth, you never wind up importing into the wrong catalog, you can search across all your photos and videos, etc. One catalog is the way to go.
    By the way, did I mention that one catalog is the right way to go? Because if I didn't mention it, let me state that one catalog is the way to go.

  • Account and permission problems

    I have an account with iTMS which I use on my old machine.
    I want to deauthorize it and move iTunes onto my new laptop.
    Problem is I cannot remember my password and the email address I have logged as on my account is no longer active!
    Can I have my account amended by Apple if I send someone my account detials (new and old) - or is there a way I can get my password sent to my new email address?
    If I change my email address (once I have obtained the password to do so) will this stop my previous purchases from playing?

    Go here. As long as you can remember the answers you set to the security questions, you can reset the password. If you've also forgotten the security questions, then you'll need to contact the iTMS customer service group through the form at the bottom of this web page.
    If I change my email address (once I have obtained the password to do so) will this stop my previous purchases from playing?
    No, it won't.

  • Battery Questions and RAM problems in TP S531

    Hey there,
    I got my first Thinkpad (S531) about a month ago and the good news is I really like working with a Thinkpad. However, there are a few things and issues that reading the forums did not yet solve.
    First a bit of technical info about my system:
    Model: Thinkpad S531
    OS: Win 8.1 (self-install)
    CPU: Intel Core i5 3337U @1.8Ghz
    RAM: 6 GB (2GB+4GB)
    GPU: AMD Radeon HD8670M (+Intel HD Graphics 4000)
    1) Battery Life.
    I know there are plenty of posts about this but I have a quite specific question all the forum posts I found couldn't answer: Does the battery at the point where the power level reaches 100% stop charging and power is taken only from the power connenctor? If so, is there a way of only charging the battery up to about 80% and then start using only the connector for power supply?
    2) RAM.
    I bought my Thinkpad with 6GB RAM installed, a fixed 2 GB piece somewhere fixed on the motherboard and a 4GB piece in a normal RAM slot. Now, I know that this isn't ideal for dualchannelling, but that's got nothing to do with this problem. Rather it seems, that Windows only manages to access 2GB, according to what I read from the Task Manager (screenshot attached) What can I do to make all 6GB accessible?

    Hello Ihateallfruit,
    It sounds like you are concerned about the Standby Time increasing using your battery excessively. Here is some info about what the Standby Time indicates and why it keeps counting up when the device is asleep from the article named:
    iOS: About standby and usage time
    http://support.apple.com/kb/HT1805
    View Standby to see the amount of time the device has been turned on since its last full charge, including the time the device has been asleep.
    Here is another webpage that you can use to help optimize your settings to extend your battery life:
    http://www.apple.com/batteries/iphone.html
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • CS5 Bridge and Permission Problems

    Hello there;
    I just started experiencing a problem with Adobe Bridge.  I am (and have been) using CS5 with no problems at all until just recently.  Adobe Bridge does not seem to delete image files or rename image files for some strange reason.  I get a message that says... "The file cannot be renamed because you do not have sufficient permissions or it is in use"!!!  I have never experienced this since I installed CS5.  I know the file(s) is (are) NOT in use.  I am not able to delete or rename.  Not sure if any other Bridge functions will suffer through the same problem as well. 
    Anyone experienced this issue before?  Any suggestions to resolve it?  Many thanks.

    Hi Curt;
    Many thanks for your response. 
    When I view the thumbnail images in Bridge, there is NO padlock symbol at all.  Since I shoot everything in RAW, Explorer and Windows do not display the image itself, but an icon representing the .CR2 file (I shoot Canon).  I have also tried the right-click to check the Properties of the files, and there is NO check mark for "read only".  I am still at a loss.  I sincerely appreciate your help if you can think of anything else.

  • VGA cable question, and a problem

    My PowerBook is connected to my 17" LCD via the cable that was included with the monitor. I bought a replacement VGA cable the other day. (I needed the original VGA cable to connect my Mac mini to the TV.) The original cable works perfectly with both the LCD and the TV. With the new cable there's visible ghosting appearing when connected to both the LCD and to the TV. What the ****? It's a brand new cable. It's a "Replacement/Switchbox Cable VGA/SVGA High Desnsity DB15 Male/Male" cable. Is that what I need? I noticed that the original cable has 15 pins and the new cable only has 14. Is that the problem? I didn't see any 15 pin cables at CompUSA.
    Do I have a bad cable? To I need to return it in exchange for something else? What gives?

    Welcome to the discussions Michael,
    It sounds like a poor quality cable - either an individual dud or just a bad brand. I wouldn't worry about the missing pin - VGA cables have three pins that aren't used for anything, so manufactures often leave one or more of them out.
    Take it back and look for a good quality shielded cable. Ask the the staff if necessary. It may cost you more than you spent on the one you currently have. Try looking for a Belkin cable - they're usually a good brand (assuming your current cable isn't made by them...)

  • Lightroom to Photoshop questions and ACR problems

    I have Lightroom 5 and Photoshop CS5.
    I've been working between the two with no problem until recently.
    When i move a photo from LR to PS5:
    1. I get the message that "This version of LR may require Camera Raw  Plug in version 8.5 for full compatibility. Please update...."
            When i go into PS it says no updates available.
    2.When I move the photo anyway from LR to PS5 the file is blurry. Slightly off definitely not the same.
    Help
    Thanks

    Anyhow: Please look here: Re: Photos from Lightroom 5 to Photoshop CC (2014) and back...

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • HT1420 i forgot my answers to my security questions, how do i setup new questions and answers?

    I have forgotten my answers to my security questions, how do i setup new security questions and answers?

    Welcome to the Apple Community.
    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • HT204088 Dear sirs,  Could you please help me on my problem with my apple ID  I create new account with security questions, and when I try to purchase paid application,it ask me for answers the questions but it's not working,  My account have 50$ and stil

    Dear sirs,
    Could you please help me on my problem with my apple ID
    I create new account with security questions, and when I try to purchase paid application,it ask me for answers the questions but it's not working,
    My account have 50$ and still didn't buy anything

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (100546)

  • I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (114957)

  • HT204053 i want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is

    I want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is valid.  I cannnot delete the account because "find my iphone" wants the password linked to this old account.  But when i go into the find my iphone app it is using my corect Apple ID.  How do i fix this?

    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  You can now go to Settings>iCloud and sign in with your correct iCloud ID and password.
    If you don't have access to your old email address, you will have to contact Apple to have them reset the password so you can disable Find My iPhone and sign into your iCloud account.  You can either go to https://expresslane.apple.com, select "More Products and Services", then "Apple ID", then  on the next page select "Other Apple ID Topics", then "Lost or forgotten Apple ID password" and click "Continue"; or you can contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • HT5312 I have a problem in my seat did not remember the questions and ask you to send it

    I have a problem in my seat did not remember the questions and ask you to send it

    We are fellow users and cannot alter your security questions...you need to contact Apple support at an appropriate number found in http://support.apple.com/kb/HE57 and then ask to speak with someone in account security.

Maybe you are looking for

  • At My Wits End - Please Help Before I Contact OFCO...

    I have been loyal BT customer since... well having a landline in my name. We have been experiencing problems with BT / BT Broadband now for over 3 months. During this period we have had over 6 engineer visits an countless phone calls to BT Customer S

  • Parallel Building of CONTEXT Index

    All, Any ideas to why my index is not building in parallel. The table is not set to parallel but it shouldn't have to be. My BITMAP indexes I have a running in parallel without problems. Is there something else that needs to be done? CREATE INDEX POR

  • Non-English characters File issue with RSEINB00 Program

    Hi, We use RESEINB00 program to process IDoc files - to create Master data such as Material Master. Our IDoc file has some special characters - like crème. This letter 'è' would be treated as 'e#' and the Program terminates. Inside the program RSEINB

  • Correct linking within site problem

    Hello everyone, I hope you will be able to help me or point me in the right direction: On the webhosting server that I am using (can't change it, my company chose ...), there is an extremely strange linking structure (or maybe it just seems strange t

  • Jdeveloper 10.1.3.1 how to add Oracle App server 10g 10.1.3

    In our company we have installed IAS 10.1.3 on server which ip si: 10.1.5.230.. the home path is: /oracle/ias10g/... I would like to add application server in Jdeveloper but I allways get the error: Error getting OC4J Process for: opmn-home+oc4j-10.1