/rw/config/rc.local not working on AppVMs

242 views
Skip to first unread message

fer...@gmail.com

unread,
Dec 11, 2013, 4:12:24 AM12/11/13
to qubes...@googlegroups.com
I'm using qubes release 2.

I added commands to /rw/config/rc.local and /rw/config/rc.local-early, but they don't get executed at appvm start. I don't know how to debug this, but this happens on all my appvms.
If I run them manually, there's no error. Also, firewall vm has custom scripts on rc.local and they execute fine.

Marek Marczykowski-Górecki

unread,
Dec 11, 2013, 3:36:50 PM12/11/13
to qubes...@googlegroups.com
Be sure to make the file executable...
Regarding debugging, check systemctl status qubes-misc-post.service


--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

signature.asc

Alex Dubois

unread,
Dec 11, 2013, 3:59:57 PM12/11/13
to qubes...@googlegroups.com, qubes...@googlegroups.com
Check the firewall user doc page, there is info on rc.local.

Firewall vm use a difference script

Alex

Fernando Mumbach

unread,
Dec 11, 2013, 3:44:19 PM12/11/13
to Marek Marczykowski-Górecki, qubes...@googlegroups.com
On 12/11/13 17:36, Marek Marczykowski-Górecki wrote:
On 11.12.2013 10:12, fer...@gmail.com wrote:
I'm using qubes release 2.

I added commands to /rw/config/rc.local and /rw/config/rc.local-early, but 
they don't get executed at appvm start. I don't know how to debug this, but 
this happens on all my appvms.
If I run them manually, there's no error. Also, firewall vm has custom 
scripts on rc.local and they execute fine.
Be sure to make the file executable...
Regarding debugging, check systemctl status qubes-misc-post.service


I found the problem. I used sudo to set the user I want to execute the task, but I get the error «sorry, you must have a tty to run sudo».
Thanks!

signature.asc
Reply all
Reply to author
Forward
0 new messages