Closed
Bug 1234352
Opened 9 years ago
Closed 9 years ago
Allow the worker user to execute the minidump_stackwalk binary
Categories
(Taskcluster Graveyard :: Docker Images, defect)
Taskcluster Graveyard
Docker Images
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: armenzg, Assigned: armenzg)
References
Details
Attachments
(1 file)
The minidump stackwalk is only available for root.
root@taskcluster-worker:~# ls -l /usr/local/bin/linux64-minidump_stackwalk
-rwx------ 1 root root 1926016 Mar 18 2015 /usr/local/bin/linux64-minidump_stackwalk
worker@taskcluster-worker:~$ python -c "import subprocess; subprocess.Popen(['/usr/local/bin/linux64-minidump_stackwalk'])"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
Assignee | ||
Comment 1•9 years ago
|
||
armenzg@armenzg-thinkpad:~/repos/mozilla-central/testing/mozharness$ docker run -ti --device=/dev/video1:/dev/video1 taskcluster/desktop-test:0.5.1
root@taskcluster-worker:~# su worker
worker@taskcluster-worker:~$ python -c "import subprocess; subprocess.Popen(['/usr/local/bin/linux64-minidump_stackwalk'])"
usage: /usr/local/bin/linux64-minidump_stackwalk [-m] <minidump-file> [symbol-path ...]
-m : Output in machine-readable format
worker@taskcluster-worker:~$ python -c "import os; print os.access('/usr/local/bin/linux64-minidump_stackwalk', os.X_OK)"
True
worker@taskcluster-worker:~$ ls -l /usr/local/bin/linux64-minidump_stackwalk
-rwx--x--x 1 root root 1926016 Mar 18 2015 /usr/local/bin/linux64-minidump_stackwalk
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/28791/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/28791/
Attachment #8700772 -
Flags: review?(dustin)
Updated•9 years ago
|
Attachment #8700772 -
Flags: review?(dustin) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8700772 [details]
MozReview Request: Bug 1234352 - Allow the worker user to execute the minidump_stackwalk binary. r=dustin
https://reviewboard.mozilla.org/r/28791/#review25585
Hah, good catch
Assignee | ||
Comment 4•9 years ago
|
||
Could you please deploy it for me sometime tomorrow?
Thanks!
Assignee | ||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
OK, image is pushed
0.5.1: digest: sha256:3929127a0894f95fb3fa59e8faf77dbe2779244b12f669e69722efed896ce10b size: 74650
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ec54b38a33da939a8255612999d9e867eb11664
Bug 1234352 - Allow the worker user to execute the minidump_stackwalk binary. r=dustin
Comment 8•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Taskcluster → Taskcluster Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•