Bug#905550: pbuilder: Use a cgroup to allow cleaning up stray build processes

2018-08-05 Thread Daniel Schepler
As it happens, my patch just caught one of these cases in my local setup to test builds of all packages from the archive. So, I can now provide sample output: make[1]: Leaving directory '/build/fwupd-1.1.0' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../fwupd_1.1.0-7+bpb1_amd

Bug#905550: pbuilder: Use a cgroup to allow cleaning up stray build processes

2018-08-05 Thread Daniel Schepler
Package: pbuilder Version: 0.229.3 Severity: wishlist Tags: patch I've written a small patch which isolates processes from a build into a cgroup (named like system-pbuilder-N.slice where N comes from the pbuilder PID). Then, if it sees after the build is done that there are still stray pr