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)

defect
Not set
normal

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
Blocks: 1233716
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
Attachment #8700772 - Flags: review?(dustin) → review+
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
Could you please deploy it for me sometime tomorrow? Thanks!
OK, image is pushed 0.5.1: digest: sha256:3929127a0894f95fb3fa59e8faf77dbe2779244b12f669e69722efed896ce10b size: 74650
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ec54b38a33da939a8255612999d9e867eb11664 Bug 1234352 - Allow the worker user to execute the minidump_stackwalk binary. r=dustin
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Taskcluster → Taskcluster Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: