Skip to content

Conversation

@bjorn3
Copy link
Collaborator

@bjorn3 bjorn3 commented Mar 24, 2025

cargo:rustc-env doesn't require quotes, so any quotes end up getting set as part of the env var. Also change the contents of the default path to match _PATH_STDPATH in og sudo and glibc.

cargo:rustc-env doesn't require quotes, so any quotes end up getting set
as part of the env var. Also change the contents of the default path to
match _PATH_STDPATH in og sudo and glibc.
@bjorn3 bjorn3 requested a review from squell March 24, 2025 11:30
@bjorn3
Copy link
Collaborator Author

bjorn3 commented Mar 24, 2025

Looks like we have both SUDO_PATH_DEFAULT and DEFAULT_PATH. The former is used as default in sudo while the latter is exclusively used for visudo. Also SU_PATH_DEFAULT for su. Maybe they should be merged into a single var?

Edit: Merged SUDO_PATH_DEFAULT and DEFAULT_PATH.

@bjorn3 bjorn3 force-pushed the fix_default_path branch from 6d87620 to ce7fc89 Compare March 24, 2025 14:18
@bjorn3 bjorn3 merged commit 3da43e8 into trifectatechfoundation:main Mar 24, 2025
14 checks passed
@bjorn3 bjorn3 deleted the fix_default_path branch March 24, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants