-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drgn.internal.sudohelper: pass privileged command as string instead o…
…f path At Meta, our Python executables are packaged in a way that doesn't leave the original .py or .pyc files easily accessible or importable. This makes the sudohelper fail with: can't open file '/proc/self/fd/3/drgn/internal/sudohelper.pyc': [Errno 2] No such file or directory We can work around this by passing the helper command as a string literal. It's ugly, but it works with our Meta package and with traditional installations. Signed-off-by: Omar Sandoval <[email protected]>
- Loading branch information
Showing
1 changed file
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters