On Monday, 22 August 2016 18:46:12 UTC-5, [email protected] wrote: > > On 2016-08-22 07:52, [email protected] 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 [email protected]. To post to this group, send email to [email protected]. 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.
