-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sun, Jun 12, 2016 at 06:15:38PM -0700, Drew White wrote:
> On Saturday, 11 June 2016 07:07:41 UTC+10, Unman wrote:
> > If you still cant get it working, post the file contents.
> >
>
> Okay..
>
> I'll post some of it.
>
>
>
> #!/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
>
> hname=`hostname`
>
> #service dnsmasq stop
> service smbd stop
Take a look at commented example above and use `systemctl --no-block`
(with all its consequences). rc.local itself is started as a systemd
service and starting/stopping another service from it may block on some
dependencies. You can check if this is the problem by listing processes
after VM startup and see if the above smbd stop is waiting for something.
- --
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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXXrmsAAoJENuP0xzK19cswqIH/1Y9WAeYW63+m1N9xxS5zatK
waVojvO7+ZF01uc38wzklE3UShcVmLXFpBEpP92TNM2TDWDDEIGu0naDv14cgDVA
hJ1NbI+f7f8q1z9l2W5SZv5qyU2yPPxkQxI3cPvLow92AU1lvUDgARB/xHvIsraz
RkFAKamnrYmySDhubmwVtDc/scU7z7FgFFvHucLlS/iiOwsoJ+9baGbs3VdKfID5
QSIdKvYo2EV3H65KDQKI5yFFYqCCbX1vh09BYhyCfJ/ETnt4A/f1WkN46tijlR5o
r9jqy0S4WIwl6u4l3ZKQzhFWTnBaceUy+r2jWqYk8amO3X9kzjxnEb+qKt/QqYc=
=TUWs
-----END PGP SIGNATURE-----