Michal Marek changed bug 965564
What Removed Added
Flags   needinfo?

Comment # 32 on bug 965564 from
Hm, I just pulled this:

commit 39b708bbcea0079de363746a4d3323e7d3016e67
Author: Jiri Slaby <jslaby@suse.cz>
Date:   Thu Feb 11 09:46:23 2016 +0100

    rpm/kernel-obs-build.spec.in: do not limit TasksMax

    We run with build as PID 1 (boo#965564).

diff --git a/rpm/kernel-obs-build.spec.in b/rpm/kernel-obs-build.spec.in
index 897f496be7ec..7ae2588749e2 100644
--- a/rpm/kernel-obs-build.spec.in
+++ b/rpm/kernel-obs-build.spec.in
@@ -99,6 +99,10 @@ info "  binfmt misc..."
 modprobe binfmt_misc
 EOF
 chmod a+rx /usr/lib/dracut/modules.d/80obs/setup_obs.sh
+# Configure systemd in kernel-obs-build's initrd not to limit TasksMax,
+# we run with build as PID 1 (boo#965564)
+echo "DefaultTasksMax=infinity" >> /etc/systemd/system.conf
+echo "DefaultTasksAccounting=no" >> /etc/systemd/system.conf

This comes from https://build.opensuse.org/request/show/358722 and looks
equivalent to the approach suggested by Thomas. Also, which distributions
besides Factory need this?


You are receiving this mail because: