Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939902 - [guru] sci-misc/boinc-wrapper-26018-r1 does not suspend task processes
Summary: [guru] sci-misc/boinc-wrapper-26018-r1 does not suspend task processes
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-20 13:52 UTC by Benn Snyder
Modified: 2024-10-07 10:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
simple patch for boinc-wrapper sigstop (boinc-wrapper-sigstop.patch,1.01 KB, patch)
2024-09-22 15:39 UTC, Benn Snyder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benn Snyder 2024-09-20 13:52:28 UTC
As described in https://github.com/BOINC/boinc/issues/5480 this version of boinc-wrapper sends SIGTSTP to job processes, which does not work when boinc-client is running as a system service.

This problem has been fixed upstream, but there has not been a new version released yet.

Proposed solution - backport the fix by applying https://github.com/BOINC/boinc/pull/5486.patch in the ebuild.

Reproducible: Always
Comment 1 Benn Snyder 2024-09-22 15:39:10 UTC
Created attachment 903587 [details, diff]
simple patch for boinc-wrapper sigstop

The linked PR patch might not apply cleanly to this version of boinc-wrapper, so this smaller patch can work instead.
Comment 2 Larry the Git Cow gentoo-dev 2024-10-07 10:03:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42e0a8a1ee13b7b1fae200eed02165c1329f3a27

commit 42e0a8a1ee13b7b1fae200eed02165c1329f3a27
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-10-07 00:17:04 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-10-07 00:17:04 +0000

    sci-misc/boinc-wrapper: fix deps & task suspending
    
    1. Apply a patch to revert upstream switch to SIGTSTP signal for task
       suspending, which never works.
    
    2. Skip OpenGL check, so libboinc_graphics is never built.
    
    Closes: https://bugs.gentoo.org/939899
    Closes: https://bugs.gentoo.org/939902
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 .../boinc-wrapper/boinc-wrapper-26018-r2.ebuild    | 54 ++++++++++++++++++++++
 .../files/boinc-wrapper-26018-sigstop.patch        | 28 +++++++++++
 2 files changed, 82 insertions(+)