Re: [qubes-users] Difficulty after attempted template re-install

2018-04-22 Thread trueriver
On Saturday, 21 April 2018 16:29:43 UTC+1, awokd  wrote:
> On Sat, April 21, 2018 1:02 pm, Chris Laprise wrote:
> >
> > OK, problem may be that 'qubes-core-admin/pull/203' hasn't reached
> > stable yet. I think this should be tried after updating from
> > qubes*testing.
> 
> Looks like Marek just pushed a fix for core-admin-client v4.0.17 to
> testing

MY thanks to Marek for that, and to everyone who responded in this thread. 

-- 
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/56494000-a654-4d5b-9a36-a1c4600eceb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-21 Thread 'awokd' via qubes-users
On Sat, April 21, 2018 1:02 pm, Chris Laprise wrote:
>
> OK, problem may be that 'qubes-core-admin/pull/203' hasn't reached
> stable yet. I think this should be tried after updating from
> qubes*testing.

Looks like Marek just pushed a fix for core-admin-client v4.0.17 to
testing
(https://github.com/marmarek/qubes-core-admin-client/commit/c75c0176dc23dbb50dc1420c2bfe181844e4ae47).
I updated to testing and the bug is gone so --action=reinstall is working
correctly now. Thanks!

And a big thanks to whomever coded that new disk usage widget that came
with the testing updates, I think that's going to save a lot of people a
lot of grief.


-- 
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/489df61b306e109ced92badf164ca844.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-21 Thread Chris Laprise

On 04/21/2018 08:54 AM, Chris Laprise wrote:

On 04/21/2018 07:18 AM, 'awokd' via qubes-users wrote:

On Fri, April 20, 2018 11:38 pm, trueriver wrote:


Is that -root-tmp volume a sign of a bug, if so where?


I am not confident of reproducing the bug, if indeed it is one.


My gut feeling is that it may not enough to make a useful bugrep, but
will do so if you or awokd think I should.

One thought I had is how do I know f I run out of pool space - might 
that

have triggered something like this or should I get an elegant warning?
Certainly my disk space is overcommitted, with the magic of sparse 
files.


Don't think it's pool space related.


Not seeing this as a space issue, but as a possible lvm volume 
organization issue which causes reinstall to abort part way through.




Tried to reproduce this. First installed the minimal template, tested,
then did an --action=reinstall. The menu shortcut for xterm stopped
working. Did a refresh applications in Qube Settings but that also failed
to start the template qube. qvm-run gave me "VM directory does not exist:
/var/lib/qubes/vm-templates/fedora-26-minimal" and ls confirms it does
not. This is probably a bug, possibly
https://github.com/QubesOS/qubes-issues/issues/3169. I'll make a note in
there.


Its definitely not the same as #3169 though it might as well be reported 
there. As I mentioned, the storage layer was updated and its partly to 
implement 3169.


OK, problem may be that 'qubes-core-admin/pull/203' hasn't reached 
stable yet. I think this should be tried after updating from qubes*testing.



--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
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/eda2b230-f683-53ec-ffd1-3677f7c24e07%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-21 Thread Chris Laprise

On 04/21/2018 07:18 AM, 'awokd' via qubes-users wrote:

On Fri, April 20, 2018 11:38 pm, trueriver wrote:


Is that -root-tmp volume a sign of a bug, if so where?


I am not confident of reproducing the bug, if indeed it is one.


My gut feeling is that it may not enough to make a useful bugrep, but
will do so if you or awokd think I should.

One thought I had is how do I know f I run out of pool space - might that
have triggered something like this or should I get an elegant warning?
Certainly my disk space is overcommitted, with the magic of sparse files.


Don't think it's pool space related.


Not seeing this as a space issue, but as a possible lvm volume 
organization issue which causes reinstall to abort part way through.




Tried to reproduce this. First installed the minimal template, tested,
then did an --action=reinstall. The menu shortcut for xterm stopped
working. Did a refresh applications in Qube Settings but that also failed
to start the template qube. qvm-run gave me "VM directory does not exist:
/var/lib/qubes/vm-templates/fedora-26-minimal" and ls confirms it does
not. This is probably a bug, possibly
https://github.com/QubesOS/qubes-issues/issues/3169. I'll make a note in
there.


Its definitely not the same as #3169 though it might as well be reported 
there. As I mentioned, the storage layer was updated and its partly to 
implement 3169.




At that point, "sudo dnf remove qubes-template-fedora-26-minimal" followed
by "sudo qubes-dom0-update qubes-template-fedora-26-minimal" worked with
no errors and restored proper function.

Next, I tested with the template running. --action=reinstall shutdown the
template before doing its work, but resulted in the same bug as before.

Doing a dnf remove with the template running failed with an error message
about same. I didn't see -root-tmp at any time; not sure what might have
created it.



--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
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/c3e4a801-1862-5646-cc1f-a1a9fa8873d1%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-21 Thread 'awokd' via qubes-users
On Fri, April 20, 2018 11:38 pm, trueriver wrote:

> Is that -root-tmp volume a sign of a bug, if so where?
>
>
> I am not confident of reproducing the bug, if indeed it is one.
>
>
> My gut feeling is that it may not enough to make a useful bugrep, but
> will do so if you or awokd think I should.
>
> One thought I had is how do I know f I run out of pool space - might that
> have triggered something like this or should I get an elegant warning?
> Certainly my disk space is overcommitted, with the magic of sparse files.

Don't think it's pool space related.

Tried to reproduce this. First installed the minimal template, tested,
then did an --action=reinstall. The menu shortcut for xterm stopped
working. Did a refresh applications in Qube Settings but that also failed
to start the template qube. qvm-run gave me "VM directory does not exist:
/var/lib/qubes/vm-templates/fedora-26-minimal" and ls confirms it does
not. This is probably a bug, possibly
https://github.com/QubesOS/qubes-issues/issues/3169. I'll make a note in
there.

At that point, "sudo dnf remove qubes-template-fedora-26-minimal" followed
by "sudo qubes-dom0-update qubes-template-fedora-26-minimal" worked with
no errors and restored proper function.

Next, I tested with the template running. --action=reinstall shutdown the
template before doing its work, but resulted in the same bug as before.

Doing a dnf remove with the template running failed with an error message
about same. I didn't see -root-tmp at any time; not sure what might have
created it.


-- 
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/f21869159a903df753940e1d8984c2ef.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread trueriver
On Friday, 20 April 2018 22:01:56 UTC+1, Chris Laprise  wrote:

> The code that supports template re-install (and other volume-related) 
> functions was refactored late in the 4.0 pre-release cycle. Maybe this 
> should be opened as an issue.

What do you think now?

Is that -root-tmp volume a sign of a bug, if so where?

I am not confident of reproducing the bug, if indeed it is one. 

My gut feeling is that it may not enough to make a useful bugrep, but will do 
so if you or awokd think I should. 

One thought I had is how do I know f I run out of pool space - might that have 
triggered something like this or should I get an elegant warning? Certainly my 
disk space is overcommitted, with the magic of sparse files.

-- 
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/49225465-be7c-4399-9fa8-06b454478c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread trueriver
On Friday, 20 April 2018 22:01:56 UTC+1, Chris Laprise  wrote:

> Its conceivable that a bug left behind a similarly named meta-volume 
> that is now preventing a normal installation from completing. Comparing 
> the output of 'qvm-volume' with 'sudo lvs' may provide a clue if that's 
> the case.
> 


ran it again and it worked this time. Not sure why it took three re-installs 
but it is working now. 

However, after the dnf remove, sudo lvs|grep minimal showed that 
vm-fedora-26-minimal-root-tmp was still there. Nothing shown at that point by 
qvm-volume|grep minimal.

After the qubes-dom0-update that volume is still there in sudo lvs, but not 
shown in qvm-volume.

Should I lvremove it, or do I need some Qubic magic command?

-- 
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/27391cf1-e7e3-4b74-8c6f-d176ac792651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread trueriver
On Friday, 20 April 2018 22:05:39 UTC+1, awokd  wrote:
> On Fri, April 20, 2018 8:42 pm, trueriver wrote:
> 
> >
> > No, none. Not till I try to run something.
> >
> >
> > It looks almost like it has re-installed it, it appears in the menu but
> > with no apps, just the settings.
> >
> > In settings the app pane is empty, and the refresh button greys out to
> > ''Refresh in progress' and never returns after much much longer than it
> > usually takes in a healthy domain.
> 
> Strange. Try to reboot maybe, sounds like something got confused.

Yes already tried that, several times over.

> Then, to
> confirm, you are:
> 
> sudo dnf remove qubes-template-fedora-26-minimal
> sudo qubes-dom0-update qubes-template-fedora-26-minimal

I think so. Certainly what I intended to do.
 

-- 
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/1ef7402d-8c1a-4fd0-ac8f-6d82a0a0cde9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread 'awokd' via qubes-users
On Fri, April 20, 2018 8:42 pm, trueriver wrote:

>
> No, none. Not till I try to run something.
>
>
> It looks almost like it has re-installed it, it appears in the menu but
> with no apps, just the settings.
>
> In settings the app pane is empty, and the refresh button greys out to
> ''Refresh in progress' and never returns after much much longer than it
> usually takes in a healthy domain.

Strange. Try to reboot maybe, sounds like something got confused. Then, to
confirm, you are:

sudo dnf remove qubes-template-fedora-26-minimal
sudo qubes-dom0-update qubes-template-fedora-26-minimal

Right? That's really all it should take. If it doesn't work, I can try it
too but it might be a day or two.

-- 
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/4a2661a7c408b3a70849812b9dd4b122.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread Chris Laprise

On 04/20/2018 04:42 PM, trueriver wrote:





How can I sort this out?


Try the manual procedure again. Do you get any errors at any step?


No, none. Not till I try to run something.

It looks almost like it has re-installed it, it appears in the menu but with no 
apps, just the settings.

In settings the app pane is empty, and the refresh button greys out to 
''Refresh in progress' and never returns after much much longer than it usually 
takes in a healthy domain.





Why has the action=reinstall not re-created everything the VM needs?


Not sure, it should work!


OK, short of a complete re-install after backing up the domains that still 
work, what do I do now to repair this please?



The code that supports template re-install (and other volume-related) 
functions was refactored late in the 4.0 pre-release cycle. Maybe this 
should be opened as an issue.


Its conceivable that a bug left behind a similarly named meta-volume 
that is now preventing a normal installation from completing. Comparing 
the output of 'qvm-volume' with 'sudo lvs' may provide a clue if that's 
the case.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
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/8a6bac3a-add7-dfe3-df23-745a22f6d02b%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread trueriver

> 
> > How can I sort this out?
> 
> Try the manual procedure again. Do you get any errors at any step?

No, none. Not till I try to run something.

It looks almost like it has re-installed it, it appears in the menu but with no 
apps, just the settings.

In settings the app pane is empty, and the refresh button greys out to 
''Refresh in progress' and never returns after much much longer than it usually 
takes in a healthy domain.


> 
> > Why has the action=reinstall not re-created everything the VM needs?
> 
> Not sure, it should work!

OK, short of a complete re-install after backing up the domains that still 
work, what do I do now to repair this please?

-- 
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/b9478c00-f864-42c1-87b3-f6341187b1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Difficulty after attempted template re-install

2018-04-20 Thread 'awokd' via qubes-users
On Fri, April 20, 2018 6:50 pm, trueriver wrote:
> Hi, I have attempted to re-install the fedora-26-minimal template using
> the instructions here:
>
> https://www.qubes-os.org/doc/reinstall-template/
>
>
>
> I tried first the automated method, and when that did not work then tried
> the manual method.
>
> Question: Are these supposed to work with R 4.0 ? It says R 3.1+ and I am
> now wondering if this means ONLY R 3.n where n>1.

Should work on any version after R3.0.

> How can I sort this out?

Try the manual procedure again. Do you get any errors at any step?

> Why has the action=reinstall not re-created everything the VM needs?

Not sure, it should work!


-- 
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/6306b0a7f15cde587eda5378a5505a63.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.