Re: [qubes-users] Make files in AppVM persistent

2019-04-21 Thread 799
Hello,

unman  schrieb am So., 21. Apr. 2019, 02:29:

> (...)
> Don't make the changes in the template.
> bind-dirs is intended to work in the AppVM, (as I think you originally
> tried).
> You need to configure bind-dirs and restart the qube, *then* make any
> changes that you want to make in /etc/openvpn.
> You can check that the changes are there in /rw/bind-dirs/etc/openvpn.
>

Sorry, my mistake ... With your hint, the documentations says it already:

(...) Inside your TemplateBasedVM (...)

Maybe it would be good to change this into:

(...) Inside your AppVM which is based on a Template (...)

Additionally it seems that you need to run 6 steps, the numeration seems to
be fixed, now it has two times 3 steps - I'll try to fix this in the GitHub
repo.

O/799.

-- 
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/CAJ3yz2ub1Zx0yS_ZuhHj%3D2cMcRkoc9ASG-Lw0r90PFgP94W8fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Make files in AppVM persistent

2019-04-20 Thread unman
On Sat, Apr 20, 2019 at 02:52:26PM -0700, rogertobler via qubes-users wrote:
> Am Samstag, 20. April 2019 22:32:14 UTC+2 schrieb 799:
> > Hello,
> > 
> > rogertobler via qubes-users  schrieb am Sa., 20. 
> > Apr. 2019, 22:07:
> > I am trying to make my vpn config and password file in /etc/openvpn 
> > persistent (...)
> > 
> > I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/
> > 
> > ..unfortunately the files disappear after the reboot.
> > 
> > You have applied the change in the template VM?
> > then shutdown the template?
> > And then restarted the AppVM?
> > 
> > The last step is important as only then changes to the template VM are 
> > picked up from the AppVM.
> > O/799
> 
> I understood that TemplateBasedVM was the AppVM. However, I started the 
> template VM, made the changes to bind-dirs, rebooted the template VM. Then 
> started the app VM, copied the config files and rebooted the app VM, 
> unfortunately the files where gone after the reboot.
> 

I think 799 is leading you astray.
Don't make the changes in the template.
bind-dirs is intended to work in the AppVM, (as I think you originally
tried).
You need to configure bind-dirs and restart the qube, *then* make any
changes that you want to make in /etc/openvpn.
You can check that the changes are there in /rw/bind-dirs/etc/openvpn.

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


Re: [qubes-users] Make files in AppVM persistent

2019-04-20 Thread rogertobler via qubes-users
Am Samstag, 20. April 2019 22:32:14 UTC+2 schrieb 799:
> Hello,
> 
> 
> 
> rogertobler via qubes-users  schrieb am Sa., 20. 
> Apr. 2019, 22:07:
> I am trying to make my vpn config and password file in /etc/openvpn 
> persistent (...)
> 
> 
> 
> I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/
> 
> 
> 
> ..unfortunately the files disappear after the reboot.
> 
> 
> 
> You have applied the change in the template VM?
> then shutdown the template?
> And then restarted the AppVM?
> 
> 
> The last step is important as only then changes to the template VM are picked 
> up from the AppVM.
> 
> 
> O/799

I understood that TemplateBasedVM was the AppVM. However, I started the 
template VM, made the changes to bind-dirs, rebooted the template VM. Then 
started the app VM, copied the config files and rebooted the app VM, 
unfortunately the files where gone after the reboot.

-- 
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/6a0669fc-58ee-43d0-9a4d-fe83171ef5fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Make files in AppVM persistent

2019-04-20 Thread 799
Hello,

rogertobler via qubes-users  schrieb am Sa.,
20. Apr. 2019, 22:07:

> I am trying to make my vpn config and password file in /etc/openvpn
> persistent (...)
>
> I tried as described here (Qubes 4):
> https://www.qubes-os.org/doc/bind-dirs/
>
> ..unfortunately the files disappear after the reboot.
>

You have applied the change in the template VM?
then shutdown the template?
And then restarted the AppVM?

The last step is important as only then changes to the template VM are
picked up from the AppVM.

O/799

-- 
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/CAJ3yz2u198xRSWfQa38U3kSJKj%3Dqx8B51e22Ruosud8yhKXD8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Make files in AppVM persistent

2019-04-20 Thread rogertobler via qubes-users
Hi there

I am trying to make my vpn config and password file in /etc/openvpn persistent, 
so I can run openvpn as a service and it will connect on boot up.

I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/

..unfortunately the files disappear after the reboot.

Any ideas? How else could I solve my task?

Thanks for every help
Roger

-- 
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/8e78e146-dcc7-4cb9-b7e6-6f8decf0ecd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.