Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread harhorg
Yes, this is the exit for now (thanks for mentioning q-m-backups! I didn't know 
that), but not an answer for all)

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1e6f3ec2-64c1-4e0c-be69-45d8314e1b1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread johnyjukya
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On Wed, Dec 14, 2016 at 06:44:35AM -0800, Andrew David Wong wrote:
>> On 2016-12-14 06:31, harh...@gmail.com wrote:
>> > I did that already, so...
>> >
>> > That's the point - I can't run any command, cause vm-manager (and
>> > the process itself) seems to do not run, "dnf remove" reports of
>> > not-existing packets (cant match the arguments
>> > "qubes-template-fedora-24" and so on.. It is a record within *file
>> > where this VM mentioned and vm-manager checks it..)
>> >
>> > #. Yes, I have a Backup, but wish to repair this state... if it
>> > is impossible -> then ok, I'll do backup#
>> >
>>
>> I understand. I'm afraid I don't know how to fix the broken state your
>> system is currently in, but maybe someone else does. My message was
>> mainly about how to avoid this situation from recurring in the future.
>
> At every system startup backup of qubes.xml is created in
> /var/lib/qubes/backup - you can restore it from there, then remove
> template using correct tools.

I have had cases when it appears that QubesManager appears like it will
not start, but the reason is because it sees another one running so holds
off (but sticks around).  The other instance is windowless and usually
wedged somehow (typically on libvirt--I'm not a big fan of that layer).

As root, do a "ps ax | grep qubes-manager" to find the running process (a
python process).  kill (or kill -9 if needed) that process #.  All of
them, if there's more than one.  Then re-run qubes-manager with
"qubes-manager".

If libvirtd is being stupid, a "sudo systemctl restart libvirtd".  That
often wakes up a non-responsive system for me.  (If that's the problem,
kill qubes-manager, restart libvirtd, then run qubes-manager.)

-JJ

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/8230d4fa65d9b187c916b1a2a268e8da.webmail%40localhost.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Wed, Dec 14, 2016 at 06:44:35AM -0800, Andrew David Wong wrote:
> On 2016-12-14 06:31, harh...@gmail.com wrote:
> > I did that already, so...
> > 
> > That's the point - I can't run any command, cause vm-manager (and
> > the process itself) seems to do not run, "dnf remove" reports of
> > not-existing packets (cant match the arguments
> > "qubes-template-fedora-24" and so on.. It is a record within *file
> > where this VM mentioned and vm-manager checks it..)
> > 
> > #. Yes, I have a Backup, but wish to repair this state... if it
> > is impossible -> then ok, I'll do backup#
> > 
> 
> I understand. I'm afraid I don't know how to fix the broken state your
> system is currently in, but maybe someone else does. My message was
> mainly about how to avoid this situation from recurring in the future.

At every system startup backup of qubes.xml is created in
/var/lib/qubes/backup - you can restore it from there, then remove
template using correct tools.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYUV+2AAoJENuP0xzK19csEcQIAJrpPsb/z1YaG5bbQvQMiudH
f9BdzJz9qhGCVw2XWglMz0oyR5IcUutw0+26Ilbp/w1SMHJeq4n+pua+qmK6b69/
Xx1hWktKgIXYJmSJ3j8vAjbRLWPRrE9vTwW2oWZB8p0wHg4mQ3O+uounR1Cv/oNv
KGA3UjnQpuayRUp/QvYbVTJLfRg2pX7+GLccNPO6EKk5RCS2IkmcA3ToSypW1qAE
bnwoloI1COjQw4QE4TTLxVU8oPQBl1dTsvDXjr4ggY6efdWANWnKDdDM7mGukBYJ
RXhb1pvtt0U0vd9fvNkcOBp58tRai9M5RGvlDBXmBcwVSdUMFZd8WbuJbaX23Jc=
=Soyy
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161214150526.GA15090%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-14 06:31, harh...@gmail.com wrote:
> I did that already, so...
> 
> That's the point - I can't run any command, cause vm-manager (and
> the process itself) seems to do not run, "dnf remove" reports of
> not-existing packets (cant match the arguments
> "qubes-template-fedora-24" and so on.. It is a record within *file
> where this VM mentioned and vm-manager checks it..)
> 
> #. Yes, I have a Backup, but wish to repair this state... if it
> is impossible -> then ok, I'll do backup#
> 

I understand. I'm afraid I don't know how to fix the broken state your
system is currently in, but maybe someone else does. My message was
mainly about how to avoid this situation from recurring in the future.

P.S. - Please don't top-post.

> среда, 14 декабря 2016 г., 16:02:19 UTC+2 пользователь Andrew David
> Wong написал: On 2016-12-14 04:19, harh...@gmail.com wrote:
 Hi there! Got a problem with a qubes-manager after updating
 and removing templateVM. Upgrading from fedora-24 to
 fedora-25 was successful, but I couldn't remove TVM
 fedora-24, because TVM was used by some AppVm as manager said
 (and it's not true, I changed default template as well as
 templates in any AppVms). I removed whole record in
 /var/lib/qubes/qubes.xml  and now vm manager gives me import
 error (Unknown template with QID:x) or "Error: 2, 
 '\xd0\xd9\.. ..\xb0')..." if I add a line manually (just
 copy line of another TVM and change QID, name, etc.., but I
 guess it's wrong, while that line requires uuid or smth else
 to be correct, and what I can't know).
 
 Is there any way to deny qubes-manager to check that QID or
 change the list of TVMs?
 
 Thanks...
 
> 
> You shouldn't try to remove a template manually that way, since
> it's likely to cause problems like the ones you're experiencing.
> There are two supported ways:
> 
> 1. In Qubes Manager, right click on the TemplateVM -> "Remove VM"
> 
> Or, if the template cannot be removed in this way because it's 
> RPM-managed:
> 
> 2. In dom0: `sudo dnf remove `
> 
> For example: `sudo dnf remove qubes-template-fedora-24`
> 
> 

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYUVrQAAoJENtN07w5UDAw5mEP/07QpRjqK2WS38aEggblWAxM
mQGBi//ig2pKW8lTbJGHiZ11eENzmbBoQ4Wg99hNcna8htNonBiI/27wLbI8ccFt
h3bggmYSKwxOcvBgrMRgsFe0jsxEk2SXz8/IJNju4QvgB0bbss9HiF08G073ZKBw
jl3I+Q95wvzloV9jTr2P4qMKPE8qA+QfWAd8FRHiC2LcVGYKXT225ynoVZsY8Xu0
npw1M3qH/g7vG64Cig/iM5EcgIXVtRfI+ORu+EbaLApgO/6FRI0EcSIpcqPDhvBv
CIEtLgGcK3sGAyah/CW9C6yTxR14WmREOB9QPxH4K20lAv9jMbxKuNXbKi6EFfVt
6TtQkyYaghg1vdBwWYvDgqnIE7yCHHmryAVOLRHCEo2TQcs4VxEs3BNOVoBShPYE
M6lKCs0Dh27ev7VFYbZAzZCsHoMcwuQQAY776kfI8APEK/kRYtBOk+bNJ1S1Kqen
yE0vLf+UVxp1hrpuTq/soZkI3FyFxFuJhuuB0/3fsia5nCdu9BRE+TsU+OBZtcCF
lMO6zgNm1WwjJZ+7smYAoMHqTHFywPmoMc7s2Ql9cksCXB1FlpfVv/D/b+t5408f
ROTO7mYrbfNhWpNE6WILKL+0HnsocAZBIp9ogx15SCl2GI0sRjg+T5OVpN5dCbJ6
gO7wc3GkfdR4QK0Y8S3+
=Ri2/
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/31d0e9a4-dfe9-5bf0-a55a-fdc351056c6b%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread harhorg
I did that already, so...

That's the point - I can't run any command, cause vm-manager (and the process 
itself) seems to do not run, "dnf remove" reports of not-existing packets (cant 
match the arguments "qubes-template-fedora-24" and so on.. It is a record 
within *file where this VM mentioned and vm-manager checks it..)

#. Yes, I have a Backup, but wish to repair this state... if it is 
impossible -> then ok, I'll do backup#

среда, 14 декабря 2016 г., 16:02:19 UTC+2 пользователь Andrew David Wong 
написал:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> On 2016-12-14 04:19, harh...@gmail.com wrote:
> > Hi there! Got a problem with a qubes-manager after updating and
> > removing templateVM. Upgrading from fedora-24 to fedora-25 was
> > successful, but I couldn't remove TVM fedora-24, because TVM was
> > used by some AppVm as manager said (and it's not true, I changed
> > default template as well as templates in any AppVms). I removed
> > whole record in /var/lib/qubes/qubes.xml  and now vm manager gives
> > me import error (Unknown template with QID:x) or "Error: 2,
> > '\xd0\xd9\.. ..\xb0')..." if I add a line manually (just copy
> > line of another TVM and change QID, name, etc.., but I guess it's
> > wrong, while that line requires uuid or smth else to be correct,
> > and what I can't know).
> > 
> > Is there any way to deny qubes-manager to check that QID or change
> > the list of TVMs?
> > 
> > Thanks...
> > 
> 
> You shouldn't try to remove a template manually that way, since it's
> likely to cause problems like the ones you're experiencing. There are
> two supported ways:
> 
> 1. In Qubes Manager, right click on the TemplateVM -> "Remove VM"
> 
> Or, if the template cannot be removed in this way because it's
> RPM-managed:
> 
> 2. In dom0: `sudo dnf remove `
> 
> For example: `sudo dnf remove qubes-template-fedora-24`
> 
> - -- 
> Andrew David Wong (Axon)
> Community Manager, Qubes OS
> https://www.qubes-os.org
> -BEGIN PGP SIGNATURE-
> 
> iQIbBAEBCgAGBQJYUVDPAAoJENtN07w5UDAwceAP90rNqrz4muKS1crboRc62SJT
> IZa44C0Pcvx8wIHkrZ3MUvDcze6tjKqfLygZlxaDz/aFah8TtMifYw5e7ycSAXmS
> KL+OAzWJolyScf+lH8N6ydDddAgJTrvaZY+DGYa8xatuQ/bqfGeduGbTQrnCxVHb
> A+Rt665H9AvvCrgbi2d5xSu4ouT9ZqaWrD/xYWvt9epCBBQWQQ/F+yS0JV413Y+I
> TuoCH84+8EYsFYrUVmbj5rqNUgPFixQd0zmSA1G7g6o0Ax1VxV+z26+r5d2IulRY
> ORn379ZCv23K20cZCSwQhQD/aG58c+9CUY68YiYM2X0swavpvMjR+muaZYYAFCzW
> 34wbDgtP+x/mF5ZEEg5qslNsZNHnHKxquWCRaHjUQznPHpBgkhnNcxkydVxKVlWw
> eAqLp4Qi9akRkGBD4vwTeiwrMl/6Fvf1LMbDYKjzURxH3Uc+507GJNaF+Z3gEuiu
> mNkvxKMLTjjhvmikjT6xvKJXMzPE+MQv4chzKvTsztVZn8caJaK7hDrKOOzAaQsB
> fwqqfB40dwJxF3DSKBWv7tub08fvxKqif6I5MgNfGwGqKMBhX7UR3VSsuriO4+ug
> cr89JQTzpsAeGtytswaEsXDT0aIbweHU40Gnu0vA3e3/VXQ+2/XJfP95hD/m4pMN
> NUebgFGTgafCQ58j+dY=
> =d6Db
> -END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/64d3065d-ea65-47df-9c07-10c1a7ed84a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-14 04:19, harh...@gmail.com wrote:
> Hi there! Got a problem with a qubes-manager after updating and
> removing templateVM. Upgrading from fedora-24 to fedora-25 was
> successful, but I couldn't remove TVM fedora-24, because TVM was
> used by some AppVm as manager said (and it's not true, I changed
> default template as well as templates in any AppVms). I removed
> whole record in /var/lib/qubes/qubes.xml  and now vm manager gives
> me import error (Unknown template with QID:x) or "Error: 2,
> '\xd0\xd9\.. ..\xb0')..." if I add a line manually (just copy
> line of another TVM and change QID, name, etc.., but I guess it's
> wrong, while that line requires uuid or smth else to be correct,
> and what I can't know).
> 
> Is there any way to deny qubes-manager to check that QID or change
> the list of TVMs?
> 
> Thanks...
> 

You shouldn't try to remove a template manually that way, since it's
likely to cause problems like the ones you're experiencing. There are
two supported ways:

1. In Qubes Manager, right click on the TemplateVM -> "Remove VM"

Or, if the template cannot be removed in this way because it's
RPM-managed:

2. In dom0: `sudo dnf remove `

For example: `sudo dnf remove qubes-template-fedora-24`

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIbBAEBCgAGBQJYUVDPAAoJENtN07w5UDAwceAP90rNqrz4muKS1crboRc62SJT
IZa44C0Pcvx8wIHkrZ3MUvDcze6tjKqfLygZlxaDz/aFah8TtMifYw5e7ycSAXmS
KL+OAzWJolyScf+lH8N6ydDddAgJTrvaZY+DGYa8xatuQ/bqfGeduGbTQrnCxVHb
A+Rt665H9AvvCrgbi2d5xSu4ouT9ZqaWrD/xYWvt9epCBBQWQQ/F+yS0JV413Y+I
TuoCH84+8EYsFYrUVmbj5rqNUgPFixQd0zmSA1G7g6o0Ax1VxV+z26+r5d2IulRY
ORn379ZCv23K20cZCSwQhQD/aG58c+9CUY68YiYM2X0swavpvMjR+muaZYYAFCzW
34wbDgtP+x/mF5ZEEg5qslNsZNHnHKxquWCRaHjUQznPHpBgkhnNcxkydVxKVlWw
eAqLp4Qi9akRkGBD4vwTeiwrMl/6Fvf1LMbDYKjzURxH3Uc+507GJNaF+Z3gEuiu
mNkvxKMLTjjhvmikjT6xvKJXMzPE+MQv4chzKvTsztVZn8caJaK7hDrKOOzAaQsB
fwqqfB40dwJxF3DSKBWv7tub08fvxKqif6I5MgNfGwGqKMBhX7UR3VSsuriO4+ug
cr89JQTzpsAeGtytswaEsXDT0aIbweHU40Gnu0vA3e3/VXQ+2/XJfP95hD/m4pMN
NUebgFGTgafCQ58j+dY=
=d6Db
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c332f775-30f1-8c12-73c2-2f7ea0c51c9c%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Qubes-manager refuses to launch

2016-12-14 Thread harhorg
Hi there! Got a problem with a qubes-manager after updating and removing 
templateVM. Upgrading from fedora-24 to fedora-25 was successful, but I 
couldn't remove TVM fedora-24, because TVM was used by some AppVm as manager 
said (and it's not true, I changed default template as well as templates in any 
AppVms). I removed whole record in /var/lib/qubes/qubes.xml  and now vm manager 
gives me import error (Unknown template with QID:x) or "Error: 2, 
'\xd0\xd9\.. ..\xb0')..." if I add a line manually (just copy line of 
another TVM and change QID, name, etc.., but I guess it's wrong, while that 
line requires uuid or smth else to be correct, and what I can't know).

Is there any way to deny qubes-manager to check that QID or change the list of 
TVMs? 

Thanks...

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0b51d205-1a8e-4c38-a25f-f10e400c6ba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.