-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpuns: v() -> verbose(),save CPU_FSTAB from sudo
change all v to verbose, so we get the CPUNS: prefix. some sudo will not blindly accept all environment variables with -E, but will let us save a select few. CPU_FSTAB seems to be acceptable. We want to save CPU_FSTAB in the environment so it is not exposed in argv, as it would be if we added it to the environment variables preserved with -env, since it exposes the port and the mount GUID. At this point, with an extremely picky sudo, cpuns works fine. Signed-off-by: the man <rminnich@google.com>
- Loading branch information
1 parent
14b6417
commit a8c61b3
Showing
1 changed file
with
19 additions
and
16 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