[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed



Il 02/01/2013 00:22, Julien Cristau ha scritto:
> On Wed, Jan  2, 2013 at 00:14:17 +0100, Eugenio 'g7' Paolantonio wrote:
> 
>> Package: live-config
>> Version: 3.0.15-1
>> Tags: patch
>>
>> The xserver-xorg script is forcing the 'vboxvideo' driver on virtualbox
>> even if the guest additions (virtualbox-guest-x11 package) are not
>> installed. This leads to X not starting on live systems without that
>> package.
>>
>> The attached simple patch should resolve the issue (still not tested, I
>> will do in the coming hours).
>>
> This is horribly wrong.  You're poking dpkg-internal paths with some
> assumptions about which package contains the driver, for something which
> seems entirely unnecessary because you could just let Xorg do its
> driver-selection job.
> 
> Cheers,
> Julien

The same script is "poking dpkg-internal paths" several lines before to
check for the xserver-xorg package.
The vboxvideo driver is contained into the virtualbox-guest-x11 package.

Xorg does not do its driver-selection job because the driver (via a file
in /etc/X11/xorg.conf.d) is forced, so when X does not find it, it exits.


Regards,
Eugenio


-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu


Reply to: