[lxc-users] LXC Slackware Container - runit

Serge E. Hallyn serge at hallyn.com
Mon Sep 17 18:39:13 UTC 2018


Quoting spaceman (spaceman at antispaceman.com):
> Hi,
> 
> Using a stock LXC Slackware container can anyone tell me why I cannot do
> this:
> 
> # /etc/rc.d/rc.local
> 
> /usr/bin/runsvdir /services &

Is it pid 1 doing this?  Does it go on to exit?

> If I remove the ampersand it runs fine, but with the ampersand it fails
> to run the services directory.
> 
> I'm thinking there is something missing from the container that runit
> needs but cannot think what it is. I checked depedencies using ldd
> and no libraries are missing. I've also commented the restrictions
> (lxc.cap.drop) in the lxc config but it does nothing.
> 
> It just doesn't run with no error message to explain why. I know runit
> works with Slackware as the host uses both.
> 
> Love Slackware and LXC but need process supervision. Don't particularly
> want to use runit for init and boot as that would require a lot of work.
> 
> Regards,
> spaceman
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list