app-portage/genlop: Correctly filter sandboxes.
authorGabriel Linder <linder.gabriel@gmail.com>
Sat, 11 May 2019 23:50:57 +0000 (01:50 +0200)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 May 2019 04:39:08 +0000 (21:39 -0700)
commit3c64f10f130eca58f5171e9d8b915272638af1ba
tree5c3cf95fe05899de4709a4fcee0fe5b1b9c1c051
parent83a7b166ebd273834a9e6e48eaae24e93685c0e1
app-portage/genlop: Correctly filter sandboxes.

Embed the patch provided by Joe Breuer to fix `genlop -c`.

The underlying cause seems to be that genlop looks for running emerges
by filtering over sandbox processes. A change to portage (or something)
introduced the pid-ns-init process to the call tree, which is also
selected by genlop looking for sandbox processes. This is what causes
each emerge to show up twice - once matched on the pid-ns-init process,
once on the sandbox process itself.

See https://bugs.gentoo.org/677890#c7 for more details.

Closes: https://github.com/gentoo/gentoo/pull/11975
Bug: https://bugs.gentoo.org/677890
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-portage/genlop/files/genlop-0.30.10-sandbox.patch [new file with mode: 0644]
app-portage/genlop/genlop-0.30.10-r2.ebuild [new file with mode: 0644]