Summary: | net-analyzer/nagstamon-3.0: sandbox ACCESS VIOLATION in /proc/self/oom_score_adj | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | b4b1, sysadmin |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-09-21 | ||
Attachments: | build.log |
Description
Marcin Mirosław
2017-09-15 07:03:46 UTC
Created attachment 494578 [details]
build.log
I have this problem too. I confirm the problem on ~amd64 too. ------------------------------------------------------------------------------ >>> Source compiled. >>> Test phase [not enabled]: net-analyzer/nagstamon-3.0.2 >>> Install nagstamon-3.0.2 into /gentoo/tmp/portage/net-analyzer/nagstamon-3.0.2/image/ category net-analyzer * python3_6: running distutils-r1_run_phase distutils-r1_python_install python3.6 setup.py install --root=/gentoo/tmp/portage/net-analyzer/nagstamon-3.0.2/image/_python3.6 * ACCESS DENIED: open_wr: /proc/self/oom_score_adj * ACCESS DENIED: open_wr: /proc/self/oom_score_adj running install running build running build_py running build_scripts running install_lib ------------------------------------------------------------------------------ ... * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/var/log/sandbox/sandbox-1920.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /proc/self/oom_score_adj A: /proc/self/oom_score_adj R: /proc/2011/oom_score_adj C: /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session F: open_wr S: deny P: /proc/self/oom_score_adj A: /proc/self/oom_score_adj R: /proc/2011/oom_score_adj C: /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session ------------------------------------------------------------------------------ The problem seems to be related to tty environment since the emerge is sucessfull from a VT console. It seems that in X environment ebuild install phase try to launch a dbus session inside the sandbox. I suppose that it try to send a notification to the desktop via dbus. It seems to be really similar to this forefox bug: https://bugs.gentoo.org/604394 I've try to add this in the ebuild but the sandbox violation is still here: pkg_setup() { unset DBUS_SESSION_BUS_ADDRESS \ DISPLAY \ XSESSION \ ORBIT_SOCKETDIR \ SESSION_MANAGER \ XDG_SESSION_COOKIE \ XAUTHORITY } I have this problem too with nagstamon-3.0.2 (In reply to Martin Samek from comment #5) > I have this problem too with nagstamon-3.0.2 It's definitively a problem with your environment since I don't have the problem anymore here on a ~amd64 system compiled for python:3.6. Are you on 32/64 bits ? stable/unstable ? And wich python target ? I'm closing this since I can't reproduce it with nagstamon 3.6.0. Please reopen if this is still an issue for you with newer versions. |