← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

NSL (NSpawn Subsystem for Linux) offers WSL-like persistent Linux machines on Linux hosts

🔄 Updated 2d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • NSL provides persistent Linux machines on a Linux host.
  • Machines run as systemd-nspawn containers in a small VM.
  • Supports seven signed distributions, rebuilt weekly.
  • Offers file sharing, port forwarding, and Wayland application support.

Introduction to NSL

NSL, or NSpawn Subsystem for Linux, introduces a mechanism for Linux hosts to run persistent Linux machines, drawing a parallel to how Windows Subsystem for Linux (WSL) functions on Windows. Each machine operates as a complete distribution with its own set of packages and services, contained within a systemd-nspawn container inside a small virtual machine.

Key Features and Functionality

Users can access any supported distribution with a single command, with `nsl` opening a login shell in the default machine and `nsl run` executing specific commands. The system integrates host files, making `$HOME`, `/run/media/USER`, and `/mnt` accessible within the machine at `/mnt/host`, while preserving user identity (username, UID, GID) and passwordless sudo. Network services listening within a machine are accessible on the host's `127.0.0.1` at the same port, and Wayland applications can display windows directly on the host desktop.

Distribution Support and Isolation

NSL supports seven signed distributions: Debian, Ubuntu, Fedora, CentOS Stream, Arch, openSUSE Tumbleweed, and Leap. These images are rebuilt weekly and verified through the Frostyard publishing workflow. For security, an `--isolated` option provides a machine with its own VM, preventing access to host files, desktop, or actions, suitable for untrusted software.

Host System Integrity

NSL operates as a user-level process, ensuring the host system remains clean. It does not install host packages, alter device permissions, modify groups, or change sudoers configurations. This design aims to maintain the host's atomic state.

Current Status and Compatibility

NSL is currently in a pre-release state, with v0.4.0 being the first release of its current design. Earlier versions (v0.3.0 and prior) are retired prototypes. The tested host environment includes Snow Linux 13 on x86-64 with systemd 261.2, QEMU 10.0.13, virtiofsd 1.13.2, and GNOME Wayland.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Primary sources

GitHub frostyard/nsl

Reporting from

NSL provides persistent, isolated Linux environments on a Linux host, similar to WSL on Windows, allowing users to run different distributions with their own packages and services. It aims to keep the host system clean by running as a user-level systemd-nspawn container within a small VM.