forked from lix-project/lix
libstore/build: always treat seccomp setup failures as fatal
Inf047e4357b
, I missed the behavior that if building without a dedicated build user (i.e. in single-user setups), seccomp setup failures are silently ignored. This was introduced without explanation 7 years ago (ff6becafa8
). Hopefully the only use-case nowadays is causing spurious test suite successes when messing up the seccomp filter during development. Let's try removing it. Change-Id:Ibe51416d9c7a6dd635c2282990224861adf1ceab
This commit is contained in:
parent
9923fb6dd9
commit
7b5cc94ee2
|
@ -1714,11 +1714,7 @@ void LocalDerivationGoal::runChild()
|
||||||
|
|
||||||
commonChildInit();
|
commonChildInit();
|
||||||
|
|
||||||
try {
|
|
||||||
setupSeccomp();
|
setupSeccomp();
|
||||||
} catch (...) {
|
|
||||||
if (buildUser) throw;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool setUser = true;
|
bool setUser = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue