Opened 14 years ago
Closed 14 years ago
#9215 closed defect (wontfix)
/etc/vbox/vbox.cfg should not be automatically removed (Debian)
Reported by: | Mark A. Ziesemer | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 4.0.12 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
When upgrading VirtualBox on Ubuntu / Debian, /etc/vbox/vbox.cfg is automatically removed, with the following message:
Found old version of /etc/vbox/vbox.cfg, removing.
This is also visible in http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Installer/linux/debian/postinst.in .
This file is required for use with vboxweb-service, including for use with phpVirtualBox. Having this file automatically and unconditionally removed breaks this configuration with every upgrade. Why is this considered "old cruft" (as per postinst.in) if it still serves a need - or is there another way that vboxweb-service should be configured? If there are no alternatives, this removal should be removed - or at least made conditional.
That file was never meant to be edited by the user, only by the package. The correct file for using with vboxweb-service is /etc/defaults/virtualbox.