Opened 8 years ago
#15353 new defect
Incorrect quoting in balloon control startup script
Reported by: | prensing | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.0.18 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
On Linux, in /etc/init.d/vboxballoonctrl-service, the quoting of parameters like VBOXWATCHDOG_BALLOON_INTERVAL when building the command line is incorrect. In version 5.0.18 this is around line 239. The code is like:
... PARAMS="$PARAMS --balloon-interval \"$VBOXWATCHDOG_BALLOON_INTERVAL\""
The extra backslashed quote marks get carried through to the command line and then into the running application itself. VBoxBalloonCtrl then ends up trying to interpret:
"1024"
(including the quote!!) as a number and fails.
You should either remove the quotes (since nothing should have spaces), or start the daemon with an "eval".