Debugging: Customization Notes - Live CD

This file explains where and how Split Linux deviates from a vanilla Void Live CD.

Docker

void-mklive/blob/master/dracut/vmklive/services.sh#L27 enables all services by default. Docker is therefore started automatically since it is installed as a dependency of splitlinux-tor-router via build-x86-images.sh.

The dockerized tor-router along with its network bridges is setup and configured by dracut/vmklive/splitlinux.sh.

Log into containerized Window Manager

split-mklive/dracut/vmklive/splitlinux.sh (called from module-setup.sh) sets up an additional lxc group which has sudo-rights to check the status of containers (lxc-info), start a container (lxc-start) and attach to it (lxc-attach).

WARNING: This allows any host-system user to attach into any other user's guest container. Until this is mitigated (maybe through using Xpra1), Split Linux is unfit for machines used by multiple entities.

For users belonging to the lxc group of the host system, xinit will be run upon login by the /etc/profile.d/fork_into_container.sh script.

1

https://www.xpra.org/trac/wiki/Usage