Debspawn

Latest version: v0.6.4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.2

~~~~~~~~~~~~~
Released: 2022-02-22

Features:
* Format source code with Black
* Allow to boot a container for interactive logins

Bugfixes:
* Set suite explicitly when resolving build-deps
* Do not include APT package caches in tarballs

0.5.1

~~~~~~~~~~~~~
Released: 2021-11-08

Notes:
* This release changes the default bootstrap variant to `buildd`, which may result
in users needing to pass `--variant=none` to build with existing images, or change
the default via Debspawn's global settings.
* The image name and suite name have been decoupled, so users can now give images
arbitrary names and create multiple ones for different purposes.

Features:
* Allow custom container image names, decoupling them from being suite-based
* Propagate proxy settings through to APT, debootstrap and nspawn
* Default to the 'buildd' bootstrap variant
* Make update-all command work with custom image names
* Add global config option for default bootstrap variant

Bugfixes:
* Give access to /boot as well if read-kmods is passed
* run: Copy build directory by default, instead of bindmounting it
* run: Retrieve artifacts the same way as regular build artifacts
* Unmount any bindmounds when cleaning up temporary directories
* man: Document the SyscallFilter config option
* man: Clarify new image name / suite relations in ds-create manual page

0.5.0

~~~~~~~~~~~~~
Released: 2021-06-04

Features:
* First release also available on PyPI!
* maintain: Add new flag to print status information
* maintain: status: Include debootstrap version in reports
* docs: Document the `maintain` subcommand
* Install systemd timer to clear all caches monthly
* Unconditionally save buildlog

Bugfixes:
* Rework how external system files are installed
* Include extra data in manifest as well
* Fix image creation if resolv.conf is a symlink

0.4.2

~~~~~~~~~~~~~
Released: 2021-05-24

Features:
* Add "maintain" subcommand to migrate or reset settings & state
* Configure APT to not install recommends by default (deb: 987312)
* Retry apt updates a few times to protect against bad mirrors
* Add tmpfiles.d snippet to manage debspawn's temporary directory
* Allow defining custom environment variables for package builds (deb: 986967)
* Add maintenance action to update all images

Bugfixes:
* Interpret EOF as "No" in interactive override question
* Implement privileged device access properly
* Move images to the right default location
* Don't try to bindmound KVM if it doesn't exist
* Use dpkg --print-architecture to determine arch (deb: 987547)
* run: Mount builddir in initialization step
* Don't register any of our nspawn containers by default
* Check system encoding properly (deb: 982793)
* Atomically and safely copy files into unsafe environments
* Run builds as user with a random free UID (deb: 989049)

Contributors:
Helmut Grohne, Matthias Klumpp

0.4.1

~~~~~~~~~~~~~
Released: 2020-12-22

Features:
* README, debspawn.1: document config file (Gordon Ball)
* Install lintian after build (Harlan Lieberman-Berg)
* Allow custom scripts to cache their prepared images for faster builds (Matthias Klumpp)
* Allow running fully privileged containers (Matthias Klumpp)
* Make global config file use TOML, update documentation (Matthias Klumpp)

Bugfixes:
* Pass --console nspawn flag only if our systemd version is high enough (Matthias Klumpp)
* Enforce the suite name of the env we built in for changes files (Matthias Klumpp)
* Add extra suites to sources even if base suite is equal to image suite (Matthias Klumpp)
* Have nspawn recreate container machine-id each time (Matthias Klumpp)
* cli: Safeguard against cases where we have flags but no subcommands (Matthias Klumpp)
* Disable syscall filter for some groups by default (Matthias Klumpp)

0.4.0

~~~~~~~~~~~~~
Released: 2020-01-20

Features:
* Implement an interactive build mode
* Store a copy of the build log by default
* Allow copying back changes in interactive mode
* Use a bit of color in errors and warnings, if possible
* Update manual pages
* Permit recreation of images, instead of just updating them

Bugfixes:
* Move dsrun helper into the package itself
* Drop some unwanted files from /dev before creating OS tarballs
* Remove d/files file if it's created by Debspawn pre-build
* Interactive mode and build logs are mutually exclusive for now
* Add MANIFEST file

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.