Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821532 - www-client/firefox-94.0 build stalls with sandbox (Unable to trace children due to YAMA ptrace_scope=1)
Summary: www-client/firefox-94.0 build stalls with sandbox (Unable to trace children d...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
Keywords: PMASKED
Depends on:
Reported: 2021-11-03 21:56 UTC by Pascal Jäger
Modified: 2021-11-04 01:29 UTC (History)
3 users (show)

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

emerge --info '=www-client/firefox-94.0::gentoo (emergeinfo,10.45 KB, text/plain)
2021-11-03 21:57 UTC, Pascal Jäger
emerge -pqv '=www-client/firefox-94.0::gentoo (ffemergepqv,743 bytes, text/plain)
2021-11-03 21:58 UTC, Pascal Jäger
firefox 94.0 build.log (ffbuildlog.gz,111.97 KB, application/gzip)
2021-11-03 22:05 UTC, Pascal Jäger

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Jäger 2021-11-03 21:56:52 UTC
When I emerge firefox with 
sysctl kernel.yama.ptrace_scope=1 
the build stalls at a random point. In the build log I see several massages saying 
Unable to trace children due to YAMA ptrace_scope=1
I do not know if this has something to do with it, though.

Reproducible: Always

Steps to Reproduce:
1.sysctl kernel.yama.ptrace_scope=1 
2. emerge firefox
Actual Results:  
Firefox build stalls

Expected Results:  
Firefox build is succesful
Comment 1 Pascal Jäger 2021-11-03 21:57:17 UTC
Created attachment 748338 [details]
emerge --info '=www-client/firefox-94.0::gentoo
Comment 2 Pascal Jäger 2021-11-03 21:58:10 UTC
Created attachment 748341 [details]
emerge -pqv '=www-client/firefox-94.0::gentoo
Comment 3 Pascal Jäger 2021-11-03 22:05:56 UTC
Created attachment 748356 [details]
firefox 94.0 build.log
Comment 4 Larry the Git Cow gentoo-dev 2021-11-04 00:32:36 UTC
The bug has been referenced in the following commit(s):

commit 0410a141e0a13133097d422078f5edaf2894dc1a
Author:     Sam James <>
AuthorDate: 2021-11-04 00:31:20 +0000
Commit:     Sam James <>
CommitDate: 2021-11-04 00:32:13 +0000

    profiles: mask newer sandbox versions w/ ptrace issues
    Masking for now to avoid duplicate reports of known issues;
    hangs when emerging e.g. Firefox and seemingly anything Go
    based are nasty.
    One of the bugs (821403) should be OK now but tagging
    anyway for reference.
    Signed-off-by: Sam James <>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)