[systemd-devel] systemd-nspawn isolation potentially causing issues with distccmon-text

Lennart Poettering lennart at poettering.net
Tue Nov 19 09:14:03 UTC 2019


On Fr, 15.11.19 17:17, John (graysky at archlinux.us) wrote:

> The container is created by one of the Arch Linux build scripts
> (https://git.archlinux.org/devtools.git/tree/arch-nspawn.in).  I do
> not believe it runs with its own systemd/dbus.  When I am compiling
> (https://git.archlinux.org/devtools.git/tree/makechrootpkg.in) in the
> container, is there a way I can run distccmon-text from within the
> same container to get it to read the same PID values?

No this doesn't work. PID namespacing is kinda at the core of what a
container is, making them match in the host and container's view isn't
really feasible.

(You should be able to run your distcc tool inside the container
though, with systemd-run --pipe -M <containername> …)

Sorry!

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list