Re: [qubes-users] Re: Trouble seeing software installed in template vm in an appvm that uses the template

2017-01-06 Thread Unman
On Thu, Jan 05, 2017 at 08:04:13PM -0800, Drew White wrote:
> On Friday, 6 January 2017 14:58:33 UTC+11, Brian LoBue  wrote:
> > Hi All,
> > 
> > I've installed ruby in a fedora 24 template vm via "sudo yum install 
> > ruby". Everything seems fine at that point. "which ruby" points to 
> > "/usr/bin/ruby". When I start an appvm that is based on the fedora 24 
> > template vm "which ruby" indicates that no application is available. I'm 
> > guessing I've missed something obvious. Is there something I need to do 
> > to update the appvm's after installing software on the templatevm? Any 
> > help would be appreciated.
> > 
> > Thanks
> > 
> > Brian
> 
> Did you create the appvm after the template updated?
> if not, as root, run "updatedb", then try again.
> 

updatedb rebuilds the database used by 'locate' , whereas 'which' searches
through the path.
So either your PATH doesn't include /usr/bin (echo $PATH to check), or
you really don't have ruby there. If this is the case then either you are
using the wrong template or you started the qube before the template had
fully shut down. (Or the Qubes template implementation is broken.)

You shouldn't need to do anything additional for a template based qube.

Check you are using the template  you think - qvm-prefs 
template.
Check in the template again.
Restart the qube when the template is fully shut down.
Test again.

-- 
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/20170106095553.GA13736%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Trouble seeing software installed in template vm in an appvm that uses the template

2017-01-05 Thread Drew White
On Friday, 6 January 2017 14:58:33 UTC+11, Brian LoBue  wrote:
> Hi All,
> 
> I've installed ruby in a fedora 24 template vm via "sudo yum install 
> ruby". Everything seems fine at that point. "which ruby" points to 
> "/usr/bin/ruby". When I start an appvm that is based on the fedora 24 
> template vm "which ruby" indicates that no application is available. I'm 
> guessing I've missed something obvious. Is there something I need to do 
> to update the appvm's after installing software on the templatevm? Any 
> help would be appreciated.
> 
> Thanks
> 
> Brian

Did you create the appvm after the template updated?
if not, as root, run "updatedb", then try again.

-- 
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/b4a678bd-22ca-4752-83b5-2c1ed1520ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.