I’m trying to set the autostart on a guest, and no matter what I do it will not allow it, even using root to set the property. I even manually set it in the XML, and that didn’t change anything either.
“ERROR: Basic tab:
Failed to access ‘autostart’ property”
I have it there, the variable is there in the XML, but it can’t access it?
I have tried manually in the XML, I have tried through the GUI, I have tried through qvm-prefs.
I tried as the end user, and it said it couldn’t access it, so I tried as root, and that couldn’t access it either. So I was providing that information so that people knew that it wasn’t just a permission issue.
As I say, error is the following…
“ERROR: Basic tab:
Failed to access ‘autostart’ property”
Using CLI, the error is only slightly different.
"qvm-prefs: error: Failed to access ‘autostart’ property ”
It is only the source that is different for the error.
But even having it set in the XML set so that it should start at boot, it doesn’t.
Perhaps the permissions or group of the file is wrong. I have seen many times that I could not even start a vm only because a log file had the wrong ownership and permissions. It sounds suspicious that you can read but not modify it. Check what the permissions are on the vm’s that work properly.
Exactly right, can’t modify that property.
I can modify other things, just not that property, even manually setting it makes no difference.
I’ll put it this way, it’s a storage virtual, literally just storage for files and things I send to the guests when I need to install things in disposables or anything else.
I’m just transferring from one guest to another, I don’t need to store it, but things like ISOs and all, I have in the storage and on those drives. So it’s just a case of needing the drives to be attached to that guest.
And I want to have it start at boot so that the device is attached at boot, and the drives aren’t in use by Domain-0 since they are jsut storage drives.
It would be extremely helpful if you could say what sort of qube this is,
and exactly how you created it. What template are you using? What
version of Qubes?
Does this affect all new qubes using one of the default templates?
If you recreate this storage qube using the same procedure can you set
autostart then?
As a general point, I would suggest not messing with the xml unless you
know exactly what you are doing - you are far more likely to break things.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
Oh, I though we were testing each others psychic abilities.
This is very rarely the answer. But if you have nothing invested in the
install and it’s a vanilla set up, then it may be the best thing to do.
Given the number of templates you are working with, I would guess
that you spent some time getting things “right” until you hit the
autostart issue.
If you dont want to back up all the templates and your qubes, or you
dont have a simple way to restore the setup with salt, then you could
consider trying to solve the issue. In this case, provide more
information about the current situation.
Is this a clean install of 4.4?
Are you able to set autostart for any qubes now?
How exactly did you create the qube where you first reported the issue?
What template was in use? Did you change the template and test?
If the problem has spread to other qubes, what exactly did you do to the
system before discovering this?
What edits did you make to the xml file?
Did you keep a backup of the xml file before editing it? If so, what
does a diff between the two show?
It may be that you have found a bug, and are the first reporter. In
which case this is valuable work. It’s up to you where you go from here.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.