Your message dated Sat, 22 Jul 2017 13:18:56 +0100
with message-id <[email protected]>
and subject line Closing bugs for 8.9 fixes
has caused the Debian Bug report #843701,
regarding jessie-pu: package boinc/7.4.23+dfsg-1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
843701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
User: [email protected]
Usertags: pu
Tags: jessie
Severity: normal
Boinc has a functionality problem in stable, the fix is already backported and
I did upload
a new version in unstable a few hours ago
(just to make it backportable with older kernels)
the diff is simple:
+ [ Tom Downes ]
+ * Fix OOM_ADJ handling with a backportable approach
+ (Closes: #843663)
^^ a typo in a variable name was preventing OOM_ADJ from being correctly set in
the init script
+ [ Mike Brennan <[email protected]> ]
+ * Fix xhost syntax. (Closes: #841665)
^^ this is a potential security issue that still affects stable, so I would
like to also address it.
diff -Nru boinc-7.4.23+dfsg/debian/boinc-client.init
boinc-7.4.23+dfsg/debian/boinc-client.init
--- boinc-7.4.23+dfsg/debian/boinc-client.init 2014-10-17 17:10:09.000000000
+0200
+++ boinc-7.4.23+dfsg/debian/boinc-client.init 2016-11-08 19:39:13.000000000
+0100
@@ -29,6 +29,7 @@
BOINC_DIR=/var/lib/boinc-client
BOINC_CLIENT=/usr/bin/boinc
BOINC_OOM_ADJ=15
+BOINC_OOM_SCORE_ADJ=1000
#VALGRIND_OPTIONS="-v --log-file=/tmp/valgrind_boinc.log "
VALGRIND_OPTIONS=""
@@ -106,7 +107,7 @@
else
if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then
# grant the boinc client to perform GPU computing
- xhost local:boinc || echo -n "xhost error ignored, GPU computing may
not be possible"
+ xhost +si:localuser:$BOINC_USER || echo -n "xhost error ignored, GPU
computing may not be possible"
fi
if [ -n "$VALGRIND_OPTIONS" ]; then
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
@@ -206,10 +207,13 @@
fi
fi
for BPID in ${pid} ${children}; do
- if [ -w /proc/${BPID}/oom_adj ]; then
- echo ${BOINC_OOM_AD} > /proc/${BPID}/oom_adj 2>/dev/null || true
+ # Fallback to old oom_adj if oom_score_adj doesn't exist
+ if [ -w /proc/${BPID}/oom_score_adj ]; then
+ echo ${BOINC_OOM_SCORE_ADJ} > /proc/${BPID}/oom_score_adj 2>/dev/null
|| true
+ elif [ -w /proc/${BPID}/oom_adj ]; then
+ echo ${BOINC_OOM_ADJ} > /proc/${BPID}/oom_adj 2>/dev/null || true
else
- echo "Could not write to /proc/${BPID}/oom_adj"
+ echo "Could not adjust oom_score of task"
fi
done
fi
thanks,
Gianfranco
debdiff
Description: Binary data
--- End Message ---
--- Begin Message ---
Version: 8.9
Hi,
These bugs all relate for updates which were included in today's jessie
point release.
Regards,
Adam
--- End Message ---