Re: [qubes-users] bind-dirs qubes 4.0

2018-12-09 Thread Roy Bernat
On Saturday, 8 December 2018 07:22:59 UTC-5, unman  wrote:
> On Sat, Dec 08, 2018 at 01:12:08AM -0800, Roy Bernat wrote:
> > On Friday, 7 December 2018 21:07:31 UTC-5, unman  wrote:
> > > On Fri, Dec 07, 2018 at 08:44:20AM -0800, Roy Bernat wrote:
> > > > On Monday, 3 December 2018 19:07:56 UTC-5, unman  wrote:
> > > > > On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> > > > > > On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > > > > > > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > > > > > > Hi 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > I use this article to create bind-dirs
> > > > > > > > 
> > > > > > > > i created this file 50_user.conf  under 
> > > > > > > > /rw/config/qubes-bind-dirs.d
> > > > > > > > 
> > > > > > > > with the following 
> > > > > > > >  
> > > > > > > > 
> > > > > > > > binds+=( '/var/lib/docker' )
> > > > > > > > binds+=( '/etc/docker' )
> > > > > > > > 
> > > > > > > > 
> > > > > > > > for testing i created a folder inside /var/lib/docker called 
> > > > > > > > test and after 
> > > > > > > > 
> > > > > > > > reboot the folder removed . 
> > > > > > > > 
> > > > > > > > what is the mistake ? 
> > > > > > > > 
> > > > > > > > 10x all 
> > > > > > > > Roy
> > > > > > > > 
> > > > > > > 
> > > > > > > No mistake - you need to reboot and then create the folder.
> > > > > > > If you look in the "How does it work?" section, you'll see this
> > > > > > > explained.
> > > > > > 
> > > > > > in the templateVM ? or in machine i created ?
> > > > > > 
> > > > > 
> > > > > bind-dirs is used in TemplateBasedVMs to make files/folders that would
> > > > > otherwise come from the template specific to that qube.
> > > > > So if you put that conf file in the qube, restart it and then make
> > > > > changes in /var/lib/docker, and you will see that the changes remain
> > > > > after rebooting the qube.
> > > > Thank you for your answer . 
> > > > 
> > > > how can i make persistent in the appvm ?
> > > > 
> > > > for example i created a appvm for docker . 
> > > > 
> > > > i am downloading images and after reboot the images are not exist 
> > > > because 
> > > > 
> > > > it saved in the /var/lib/docker 
> > > > 
> > > > 
> > > > Thanks 
> > > 
> > > Create that file in the appvm as you have described.
> > > Reboot the appVM.
> > > That will make /var/lib/docker persistent in the appVM
> > > (Test this by inspecting /rw/bind-dirs and confirming that
> > > var/lib/docker is there.)
> > > THEN download images and store them in /var/lib/docker.
> > > Reboot appVM.
> > > Confirm that images still exist in /var/lib/docker after restart.
> > 
> > 
> > not working
> > 
> > i checked again in the template vm
> > 
> > 50_user.conf
> > 
> > binds+=( '/var/lib/docker' ) 
> > 
> > in the template vm it is working as you said 
> > 
> > in the appvm it is not working and i cant see the folder 
> > 
> > in /rw/bind-dirs 
> > 
> > thank you foryou help
> > 
> 
> Why are you doing this in the template vm? There is nothing in the
> documentation to suggest that you should put the files in the template.
> 
> bind-dirs is intended to run in templatebasedVMs to make files that
> would otherwise disappear on reboot (because they are derived from the
> template) be permanent. It makes no sense to set it in the template -
> those files will automatically be permanent across reboots in the
> appVM. Remove the nind-dirs files from the template, and set them up in
> the apppVM.
> 
> Please check that you have followed the instructions exactly and set
> configuration in the appVM.
> 
> unman

working :) 

10x

-- 
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/8533399b-86a0-45b3-986d-9b67724872cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-08 Thread unman
On Sat, Dec 08, 2018 at 01:12:08AM -0800, Roy Bernat wrote:
> On Friday, 7 December 2018 21:07:31 UTC-5, unman  wrote:
> > On Fri, Dec 07, 2018 at 08:44:20AM -0800, Roy Bernat wrote:
> > > On Monday, 3 December 2018 19:07:56 UTC-5, unman  wrote:
> > > > On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> > > > > On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > > > > > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > > > > > Hi 
> > > > > > > 
> > > > > > > 
> > > > > > > I use this article to create bind-dirs
> > > > > > > 
> > > > > > > i created this file 50_user.conf  under 
> > > > > > > /rw/config/qubes-bind-dirs.d
> > > > > > > 
> > > > > > > with the following 
> > > > > > >  
> > > > > > > 
> > > > > > > binds+=( '/var/lib/docker' )
> > > > > > > binds+=( '/etc/docker' )
> > > > > > > 
> > > > > > > 
> > > > > > > for testing i created a folder inside /var/lib/docker called test 
> > > > > > > and after 
> > > > > > > 
> > > > > > > reboot the folder removed . 
> > > > > > > 
> > > > > > > what is the mistake ? 
> > > > > > > 
> > > > > > > 10x all 
> > > > > > > Roy
> > > > > > > 
> > > > > > 
> > > > > > No mistake - you need to reboot and then create the folder.
> > > > > > If you look in the "How does it work?" section, you'll see this
> > > > > > explained.
> > > > > 
> > > > > in the templateVM ? or in machine i created ?
> > > > > 
> > > > 
> > > > bind-dirs is used in TemplateBasedVMs to make files/folders that would
> > > > otherwise come from the template specific to that qube.
> > > > So if you put that conf file in the qube, restart it and then make
> > > > changes in /var/lib/docker, and you will see that the changes remain
> > > > after rebooting the qube.
> > > Thank you for your answer . 
> > > 
> > > how can i make persistent in the appvm ?
> > > 
> > > for example i created a appvm for docker . 
> > > 
> > > i am downloading images and after reboot the images are not exist because 
> > > 
> > > it saved in the /var/lib/docker 
> > > 
> > > 
> > > Thanks 
> > 
> > Create that file in the appvm as you have described.
> > Reboot the appVM.
> > That will make /var/lib/docker persistent in the appVM
> > (Test this by inspecting /rw/bind-dirs and confirming that
> > var/lib/docker is there.)
> > THEN download images and store them in /var/lib/docker.
> > Reboot appVM.
> > Confirm that images still exist in /var/lib/docker after restart.
> 
> 
> not working
> 
> i checked again in the template vm
> 
> 50_user.conf
> 
> binds+=( '/var/lib/docker' ) 
> 
> in the template vm it is working as you said 
> 
> in the appvm it is not working and i cant see the folder 
> 
> in /rw/bind-dirs 
> 
> thank you foryou help
> 

Why are you doing this in the template vm? There is nothing in the
documentation to suggest that you should put the files in the template.

bind-dirs is intended to run in templatebasedVMs to make files that
would otherwise disappear on reboot (because they are derived from the
template) be permanent. It makes no sense to set it in the template -
those files will automatically be permanent across reboots in the
appVM. Remove the nind-dirs files from the template, and set them up in
the apppVM.

Please check that you have followed the instructions exactly and set
configuration in the appVM.

unman


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


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-08 Thread Roy Bernat
On Friday, 7 December 2018 21:07:31 UTC-5, unman  wrote:
> On Fri, Dec 07, 2018 at 08:44:20AM -0800, Roy Bernat wrote:
> > On Monday, 3 December 2018 19:07:56 UTC-5, unman  wrote:
> > > On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> > > > On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > > > > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > > > > Hi 
> > > > > > 
> > > > > > 
> > > > > > I use this article to create bind-dirs
> > > > > > 
> > > > > > i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> > > > > > 
> > > > > > with the following 
> > > > > >  
> > > > > > 
> > > > > > binds+=( '/var/lib/docker' )
> > > > > > binds+=( '/etc/docker' )
> > > > > > 
> > > > > > 
> > > > > > for testing i created a folder inside /var/lib/docker called test 
> > > > > > and after 
> > > > > > 
> > > > > > reboot the folder removed . 
> > > > > > 
> > > > > > what is the mistake ? 
> > > > > > 
> > > > > > 10x all 
> > > > > > Roy
> > > > > > 
> > > > > 
> > > > > No mistake - you need to reboot and then create the folder.
> > > > > If you look in the "How does it work?" section, you'll see this
> > > > > explained.
> > > > 
> > > > in the templateVM ? or in machine i created ?
> > > > 
> > > 
> > > bind-dirs is used in TemplateBasedVMs to make files/folders that would
> > > otherwise come from the template specific to that qube.
> > > So if you put that conf file in the qube, restart it and then make
> > > changes in /var/lib/docker, and you will see that the changes remain
> > > after rebooting the qube.
> > Thank you for your answer . 
> > 
> > how can i make persistent in the appvm ?
> > 
> > for example i created a appvm for docker . 
> > 
> > i am downloading images and after reboot the images are not exist because 
> > 
> > it saved in the /var/lib/docker 
> > 
> > 
> > Thanks 
> 
> Create that file in the appvm as you have described.
> Reboot the appVM.
> That will make /var/lib/docker persistent in the appVM
> (Test this by inspecting /rw/bind-dirs and confirming that
> var/lib/docker is there.)
> THEN download images and store them in /var/lib/docker.
> Reboot appVM.
> Confirm that images still exist in /var/lib/docker after restart.


not working

i checked again in the template vm

50_user.conf

binds+=( '/var/lib/docker' ) 

in the template vm it is working as you said 

in the appvm it is not working and i cant see the folder 

in /rw/bind-dirs 

thank you foryou help



-- 
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/6b328dc6-2f43-47ce-960a-5f3592893c55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-07 Thread unman
On Fri, Dec 07, 2018 at 08:44:20AM -0800, Roy Bernat wrote:
> On Monday, 3 December 2018 19:07:56 UTC-5, unman  wrote:
> > On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> > > On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > > > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > > > Hi 
> > > > > 
> > > > > 
> > > > > I use this article to create bind-dirs
> > > > > 
> > > > > i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> > > > > 
> > > > > with the following 
> > > > >  
> > > > > 
> > > > > binds+=( '/var/lib/docker' )
> > > > > binds+=( '/etc/docker' )
> > > > > 
> > > > > 
> > > > > for testing i created a folder inside /var/lib/docker called test and 
> > > > > after 
> > > > > 
> > > > > reboot the folder removed . 
> > > > > 
> > > > > what is the mistake ? 
> > > > > 
> > > > > 10x all 
> > > > > Roy
> > > > > 
> > > > 
> > > > No mistake - you need to reboot and then create the folder.
> > > > If you look in the "How does it work?" section, you'll see this
> > > > explained.
> > > 
> > > in the templateVM ? or in machine i created ?
> > > 
> > 
> > bind-dirs is used in TemplateBasedVMs to make files/folders that would
> > otherwise come from the template specific to that qube.
> > So if you put that conf file in the qube, restart it and then make
> > changes in /var/lib/docker, and you will see that the changes remain
> > after rebooting the qube.
> Thank you for your answer . 
> 
> how can i make persistent in the appvm ?
> 
> for example i created a appvm for docker . 
> 
> i am downloading images and after reboot the images are not exist because 
> 
> it saved in the /var/lib/docker 
> 
> 
> Thanks 

Create that file in the appvm as you have described.
Reboot the appVM.
That will make /var/lib/docker persistent in the appVM
(Test this by inspecting /rw/bind-dirs and confirming that
var/lib/docker is there.)
THEN download images and store them in /var/lib/docker.
Reboot appVM.
Confirm that images still exist in /var/lib/docker after restart.

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


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-07 Thread Roy Bernat
On Monday, 3 December 2018 19:07:56 UTC-5, unman  wrote:
> On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> > On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > > Hi 
> > > > 
> > > > 
> > > > I use this article to create bind-dirs
> > > > 
> > > > i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> > > > 
> > > > with the following 
> > > >  
> > > > 
> > > > binds+=( '/var/lib/docker' )
> > > > binds+=( '/etc/docker' )
> > > > 
> > > > 
> > > > for testing i created a folder inside /var/lib/docker called test and 
> > > > after 
> > > > 
> > > > reboot the folder removed . 
> > > > 
> > > > what is the mistake ? 
> > > > 
> > > > 10x all 
> > > > Roy
> > > > 
> > > 
> > > No mistake - you need to reboot and then create the folder.
> > > If you look in the "How does it work?" section, you'll see this
> > > explained.
> > 
> > in the templateVM ? or in machine i created ?
> > 
> 
> bind-dirs is used in TemplateBasedVMs to make files/folders that would
> otherwise come from the template specific to that qube.
> So if you put that conf file in the qube, restart it and then make
> changes in /var/lib/docker, and you will see that the changes remain
> after rebooting the qube.
Thank you for your answer . 

how can i make persistent in the appvm ?

for example i created a appvm for docker . 

i am downloading images and after reboot the images are not exist because 

it saved in the /var/lib/docker 


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/d4dd8794-d1db-434e-82cb-705c1fadb52f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-03 Thread unman
On Mon, Dec 03, 2018 at 07:03:47AM -0800, Roy Bernat wrote:
> On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> > On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > > Hi 
> > > 
> > > 
> > > I use this article to create bind-dirs
> > > 
> > > i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> > > 
> > > with the following 
> > >  
> > > 
> > > binds+=( '/var/lib/docker' )
> > > binds+=( '/etc/docker' )
> > > 
> > > 
> > > for testing i created a folder inside /var/lib/docker called test and 
> > > after 
> > > 
> > > reboot the folder removed . 
> > > 
> > > what is the mistake ? 
> > > 
> > > 10x all 
> > > Roy
> > > 
> > 
> > No mistake - you need to reboot and then create the folder.
> > If you look in the "How does it work?" section, you'll see this
> > explained.
> 
> in the templateVM ? or in machine i created ?
> 

bind-dirs is used in TemplateBasedVMs to make files/folders that would
otherwise come from the template specific to that qube.
So if you put that conf file in the qube, restart it and then make
changes in /var/lib/docker, and you will see that the changes remain
after rebooting the qube. 

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


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-03 Thread Roy Bernat
On Monday, 3 December 2018 08:01:12 UTC-5, unman  wrote:
> On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> > Hi 
> > 
> > 
> > I use this article to create bind-dirs
> > 
> > i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> > 
> > with the following 
> >  
> > 
> > binds+=( '/var/lib/docker' )
> > binds+=( '/etc/docker' )
> > 
> > 
> > for testing i created a folder inside /var/lib/docker called test and after 
> > 
> > reboot the folder removed . 
> > 
> > what is the mistake ? 
> > 
> > 10x all 
> > Roy
> > 
> 
> No mistake - you need to reboot and then create the folder.
> If you look in the "How does it work?" section, you'll see this
> explained.

in the templateVM ? or in machine i created ?

-- 
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/83ec5bd5-774e-47c6-b4f1-fb26d17b9082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] bind-dirs qubes 4.0

2018-12-03 Thread unman
On Sun, Dec 02, 2018 at 07:07:28AM -0800, Roy Bernat wrote:
> Hi 
> 
> 
> I use this article to create bind-dirs
> 
> i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d
> 
> with the following 
>  
> 
> binds+=( '/var/lib/docker' )
> binds+=( '/etc/docker' )
> 
> 
> for testing i created a folder inside /var/lib/docker called test and after 
> 
> reboot the folder removed . 
> 
> what is the mistake ? 
> 
> 10x all 
> Roy
> 

No mistake - you need to reboot and then create the folder.
If you look in the "How does it work?" section, you'll see this
explained.

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


[qubes-users] bind-dirs qubes 4.0

2018-12-02 Thread Roy Bernat
Hi 


I use this article to create bind-dirs

i created this file 50_user.conf  under /rw/config/qubes-bind-dirs.d

with the following 
 

binds+=( '/var/lib/docker' )
binds+=( '/etc/docker' )


for testing i created a folder inside /var/lib/docker called test and after 

reboot the folder removed . 

what is the mistake ? 

10x all 
Roy

-- 
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/3f357111-0395-4b1c-88ad-d4b8005304ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.