We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When getting disk.Partitions on a system for an unprivileged user, whilst having hidepid=2 option on the proc-mount fails.
Behavior was broken by this commit: b39f8bb#diff-1c057146d22f660d0d6142cbda77095e8621efa99d8b4058bbf885c81e6e397e
/proc/1 might not be available. Perhaps a fallback to self can be added?
Environment (please complete the following information):
ver
/etc/os-release
uname -a
sw_vers
freebsd-version -k -r -u
The text was updated successfully, but these errors were encountered:
Adding a fallback to /proc/self is tracked in #1159
/proc/self
A workaround is mentioned in #1024 (comment) (adding user to a specific group and mount procfs with gid option)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When getting disk.Partitions on a system for an unprivileged user, whilst having hidepid=2 option on the proc-mount fails.
Behavior was broken by this commit: b39f8bb#diff-1c057146d22f660d0d6142cbda77095e8621efa99d8b4058bbf885c81e6e397e
/proc/1 might not be available. Perhaps a fallback to self can be added?
Environment (please complete the following information):
ver
]/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]The text was updated successfully, but these errors were encountered: