Re: [qubes-users] /rw/config/rc.local on debian-8
The amendment worked like a charm. Thanks, Vincent Vincent "Kim" Elliott ITC Consultant Kingston, Jamaica 876-381-0661 On Thu, Nov 17, 2016 at 10:24 AM,wrote: > On Thursday, November 17, 2016 at 9:54:09 AM UTC-5, Vincent Elliott wrote: > > Just adding my 2 cents to this conversation... > > > > The file "/rw/config/rc.local" does not consistently execute on Debian-8 > and I find that the VM has to be restarted (sometimes multiple times) for > it to take effect. The file is executable and all I am trying to do is > allow traffic from some other VM(s) as per the instructions in > https://www.qubes-os.org/doc/firewall/. > > > > How can I ensure that the script executes reliably? > > Debian machines sometimes have a problem with loading rc.local a little > too quickly. Putting "sleep 1" or "sleep 5" before loading your firewall > rules > should make it reliable. (see further http://askubuntu.com/a/556563) > > Daniel > > -- > You received this message because you are subscribed to a topic in the > Google Groups "qubes-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/qubes-users/9OEKKNtelXA/unsubscribe. > To unsubscribe from this group and all its topics, 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/43c9b01d-9eb8-4804-aa9a-c486397a6891%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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/CANNetsOyQnxVK9nLW%2BqBfXxZihvZkgjq97Ud9DXdk9BSs_vOLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] /rw/config/rc.local on debian-8
On Thursday, November 17, 2016 at 9:54:09 AM UTC-5, Vincent Elliott wrote: > Just adding my 2 cents to this conversation... > > The file "/rw/config/rc.local" does not consistently execute on Debian-8 and > I find that the VM has to be restarted (sometimes multiple times) for it to > take effect. The file is executable and all I am trying to do is allow > traffic from some other VM(s) as per the instructions in > https://www.qubes-os.org/doc/firewall/. > > How can I ensure that the script executes reliably? Debian machines sometimes have a problem with loading rc.local a little too quickly. Putting "sleep 1" or "sleep 5" before loading your firewall rules should make it reliable. (see further http://askubuntu.com/a/556563) Daniel -- 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/43c9b01d-9eb8-4804-aa9a-c486397a6891%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] /rw/config/rc.local on debian-8
On Monday, 22 August 2016 18:46:12 UTC-5, johny...@sigaint.org wrote: > > On 2016-08-22 07:52, johnyju...@sigaint.org wrote: > >> /rw/config/rc.local doesn't seem to be run on startup in debian-8 > >> (3.2-testing). > >> > >> What is supposed to launch this? systemd, another startup script, or > >> something dom0-related? > >> > >> I added "/rw/config/rc.local" to "/etc/rc.local" and it works, but was > >> wondering what might be the official way to do this, and if this is a > >> bug. > >> > >> Thanks. > >> > >> JJ > >> > > > > Did you make it executable? > > > > # chmod +x /rw/config/rc.local > > Yes, I did. > > And it seems to be working. I must have been confused at some point with > too many windows open in different VM's. :) > > Apologies for the mistaken report. > > JJ Just adding my 2 cents to this conversation... The file "/rw/config/rc.local" does not consistently execute on Debian-8 and I find that the VM has to be restarted (sometimes multiple times) for it to take effect. The file is executable and all I am trying to do is allow traffic from some other VM(s) as per the instructions in https://www.qubes-os.org/doc/firewall/. The contents of the file is below: #!/bin/sh # This script will be executed at every VM startup, you can place your own # custom commands here. This include overriding some configuration in /etc, # starting services etc. # # You need to make this script executable to have it enabled. # Example for overriding the whole CUPS configuration: # rm -rf /etc/cups # ln -s /rw/config/cups /etc/cups # systemctl --no-block restart cups iptables -I INPUT -s 10.137.2.22 -j ACCEPT iptables -I INPUT -s 10.137.2.24 -j ACCEPT /rw/config/rc.local (END) How can I ensure that the script executes reliably? Vincent -- 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/07c58ddc-c804-4a1b-be78-efda7213190a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] /rw/config/rc.local on debian-8
> On 2016-08-22 07:52, johnyju...@sigaint.org wrote: >> /rw/config/rc.local doesn't seem to be run on startup in debian-8 >> (3.2-testing). >> >> What is supposed to launch this? systemd, another startup script, or >> something dom0-related? >> >> I added "/rw/config/rc.local" to "/etc/rc.local" and it works, but was >> wondering what might be the official way to do this, and if this is a >> bug. >> >> Thanks. >> >> JJ >> > > Did you make it executable? > > # chmod +x /rw/config/rc.local Yes, I did. And it seems to be working. I must have been confused at some point with too many windows open in different VM's. :) Apologies for the mistaken report. 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/cc28d56b8823423ab20448878bedd5dd.webmail%40localhost. For more options, visit https://groups.google.com/d/optout.
[qubes-users] /rw/config/rc.local on debian-8
/rw/config/rc.local doesn't seem to be run on startup in debian-8 (3.2-testing). What is supposed to launch this? systemd, another startup script, or something dom0-related? I added "/rw/config/rc.local" to "/etc/rc.local" and it works, but was wondering what might be the official way to do this, and if this is a bug. Thanks. 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/6b6f56508f5e9769cf1c77eac80bffbf.webmail%40localhost. For more options, visit https://groups.google.com/d/optout.