I was newly trying to use the password option for my bhyve vnc, and I wanted to make two suggestions:
-
bhyve boot.py requires the password value to be both absolute and extant or else it just uses the literal value. For my first attempt, I made an error in my path value, and I was unhappy that the password was set to literally my erroneous path. May I suggest that bhyve boot be made stricter (and safer?), so that if the password value starts with a slash, that it always tries to read a file or else ends with fatal()?
-
bhyve.7 instructs, "The password can be provided as ... a path to a file ... relative to the global zone root" (emphasis mine). May I suggest not to use the word "relative" here and to instead specify that the value must be an absolute path in the global zone? (And if no. 1 above is adopted, then update to note that a leading slash alone directs to try to read a file.)
Thank you for your consideration.
I was newly trying to use the
passwordoption for my bhyve vnc, and I wanted to make two suggestions:bhyve boot.py requires the
passwordvalue to be both absolute and extant or else it just uses the literal value. For my first attempt, I made an error in my path value, and I was unhappy that the password was set to literally my erroneous path. May I suggest that bhyve boot be made stricter (and safer?), so that if thepasswordvalue starts with a slash, that it always tries to read a file or else ends withfatal()?bhyve.7 instructs, "The password can be provided as ... a path to a file ... relative to the global zone root" (emphasis mine). May I suggest not to use the word "relative" here and to instead specify that the value must be an absolute path in the global zone? (And if no. 1 above is adopted, then update to note that a leading slash alone directs to try to read a file.)
Thank you for your consideration.