Opened 4 months ago
#22060 new defect
Error on stdout causes downstream errors
Reported by: | tompscanlan | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.0.16 |
Keywords: | LOGNAME, USER, stdout | Cc: | |
Guest type: | other | Host type: | other |
Description
When running:
VBoxManage --version
The stdout output is:
WARNING: Environment variable LOGNAME or USER does not correspond to effective user id. 7.0.16r162802
While the output should just be: 7.0.16r162802
Packer uses a call to version when building images. This output on stdout is parsed as part of the version string and causes a packer build failure.
A fix would be to send this warning message to stderr instead of stdput.
Note:
See TracTickets
for help on using tickets.