[Pkg-virtualbox-devel] Bug#451745: don't unconditionally hack /etc/X11/xorg.conf in maintainer script

Kel Modderman kel at otaku42.de
Sun Nov 18 05:54:51 UTC 2007


Package: virtualbox-ose-guest-utils
Version: 1.5.2-dfsg2-1
Severity: important

I realize that "out of the box experience" is important to some people, but 
I'd prefer /etc/X11/xorg.conf to *not* be silently hacked by installation of 
this package.

virtualbox-ose-guest-utils.postinst:

case "${1}" in
	configure)
		/usr/lib/virtualbox/x11config.pl
		;;

Installing this package caused my mouse to not work next time X was restarted.

This replaced an otherwise working input device section option with:
Driver      "vboxmouse"

The policy states:
"The maintainer scripts must not alter a conffile of any package, including 
the one the scripts belong to."

I guess this means that the modification of xorg.conf for the purposes of 
enabling guest additions really cannot be handled like this, with a hack of a 
perl script. It should rather plug in to the existing framework surrounding 
the creation and/or maintenance of xorg.conf that the debian-x (and soon hal 
with input hotplugging) people maintain.

Thanks, Kel.





More information about the Pkg-virtualbox-devel mailing list