On Sun, Jun 12, 2016 at 07:05:06AM -0700, David Nogueira wrote:
> Hey,
> 
> Actually having the same issue on a fedora23 template AppVM, tried 
> debugging as suggest by unman but still not luck.
> 
> And then I chmoded +x rc.local and it started working.
> 
> Best,
> 
> David
> 
> On Friday, June 10, 2016 at 10:07:41 PM UTC+1, Unman wrote:
> >
> > On Fri, Jun 10, 2016 at 02:23:35AM -0700, Andrew David Wong wrote: 
> > > -----BEGIN PGP SIGNED MESSAGE----- 
> > > Hash: SHA512 
> > > 
> > > On 2016-06-09 19:31, Drew White wrote: 
> > > > Hi folks, 
> > > > 
> > > > Debian 8... 
> > > > 
> > > > On boot, the rc.local file doesn't execute after the system has 
> > > > booted. 
> > > > 
> > > > What could be wrong? 
> > > > 
> > > > root@***********:/rw/config# ls -al total **M drwxr-xr-x 3 root 
> > > > root 4.0K Jun 10 12:24 . drwxr-xr-x 9 root root 4.0K Jun  8 12:11 
> > > > .. -rwxr-xr-x 1 user user 5198 Jun 10 12:20 rc.local 
> > > > 
> > > > 
> > > > it's executable by everyone, readable by everyone, so there should 
> > > > be no issues, right? 
> > > > 
> > > > Hope someone can help please? 
> > > > 
> > > > Every time my PC starts, that VM should set up all the ports to be 
> > > >  forwarded and more. I'm about ready to build an applicaiton to 
> > > > handle all the ports and all because Qubes doesn't have something 
> > > > that handles it all in one, they are all separate and distinct, 
> > > > when they shouldn't really be. 
> > > > 
> > > > I have other issues with the Qubes Windows Tools too, but that's 
> > > > another post, and I have pictures and a way around getting them to 
> > > > work on large resolutions, like they say there is a bug for. 
> > > > 
> > > 
> > > Just a guess here, but shouldn't it be owned by root:root? That's how 
> > > it is in my Fedora VMs, anyway... 
> > > 
> > > - -- 
> > > Andrew David Wong (Axon) 
> > > Community Manager, Qubes OS 
> > > https://www.qubes-os.org 
> > > -----BEGIN PGP SIGNATURE----- 
> > > 
> > > iQIcBAEBCgAGBQJXWocYAAoJENtN07w5UDAwxVMP/2251XpbWdzfzYiCxFn1WWiL 
> > > 7Wj2S0A318kbVO+4V/1AzEdueK2AtDxWv8/2T2ph21HnU8d3TJ4t+NRyUtrhDNYw 
> > > oUXAovakTlp+S4gY1R18d6C4iXl3t6+LcAGZLgXjHVLbvk+Nc5DNt2gQJ4u5fT/H 
> > > JX+1ar4Ee8/maHjXKfODOyXiBwq8vepA0zkB7ybSzEKOECIGb4PWyad1/VnmDo0B 
> > > QURcCc9t46YeLA5Ko+ZyNCxUbRULnXoRFO7RvBW6iogzaH3DN3rEQyhY1fEqjZbN 
> > > 9S/7EuGHI1BQtHEHmvXMZ++F0OoxaBa9X3Gwf6eFghYGeZAdNwySp+uAufSynwJq 
> > > tJC9rPVy83PszQR+6/ZZz4CI5RSqzcOr/KN+I3e1CZlvU13B5JrHhboAdXTarXzU 
> > > UvrPL321Km77ODvlQlgvRci9NeBmAWBhLpk+8ozysRc/8x/AiGRoM87l1/7PSyLu 
> > > jvBsPYiMx+5N8JQO3uKaZFoO7tCy1O7IWIx45sO9awZcCgG+RTsfTu5FfTW8zpzr 
> > > 836xCDxVRc2G2NevT/QsTZOA/YXeN2KIHoBLi2+DH9VXggKmilhYt3Gg0/LlBagk 
> > > 8FzWu5TtaDbxRRehnfGFiwMeIAGsgXf2N+vfEpGzjZ8ZuRY7i1x7UjZZNMKzc8WF 
> > > +Jh5GvM+nJ1/P4CmhHpm 
> > > =XDPS 
> > > -----END PGP SIGNATURE----- 
> > > 
> > Hi Drew 
> >
> > I dont beleieve the user is significant. 
> >
> > Nor do I think it likely that rc.local isnt executing, (althoygh this is 
> > not impossible.) 
> >
> > To start troubleshooting, try inserting a simple log command at the 
> > start of the file: 
> > echo `date` >> /home/user/log 
> > would do. 
> >
> > See if the log is written on boot. 
> > If it is, then you need to look at the exact commands you are using. I 
> > recall at one time specifying full path although I no longer do so. 
> >
> > I use rc.local to set iptables policies etc. and it works flawlessly. 
> >
> > If you still cant get it working, post the file contents. 
> >
> > unman 
> >

David,

if you look at Drew's output you will see that the file is already
executable, so this will not be his problem.

It's clearly stated in the docs that you need to apply chmod +x:
Look at https://www.qubes-os.org/doc/config-files/

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

Reply via email to