xorg.conf is updated before driver installation

Bug #92573 reported by Onkar Shinde
2
Affects Status Importance Assigned to Milestone
restricted-manager (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: restricted-manager

Using feisty with latest updates.

Just now I discovered the new package restricted manager which allows one to install binary drivers and enable them in xorg.conf. I was just curious as to how it works. Since I am using ATI card it showed me that I could install fglrx driver. I started installation and then realized that I don't need it because I am using ATI Radeon 7000 which needs open source drivers, so I canceled the install.
On next reboot my X wouldn't start because the xorg.conf was modified to use fglrx module.
This is serious. Although I myself canceled the install, it is very likely that install is canceled due to other reasons like lost network connection etc. And this will break X startup for no reason.

Revision history for this message
Martin Pitt (pitti) wrote :

Can you please describe exactly how you canceled the installation? The dialog which installs the fglrx X driver package cannot be canceled, and if you cancel the initial question dialog, nothing is changed in the first place.

BTW, r-m should not offer you to install that driver in the first place, see bug #92498.

Thanks!

Changed in restricted-manager:
status: Unconfirmed → Needs Info
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Following are the steps I did.

1. Start RM. It shows ATI accelerated graphics driver.
2. I click on 'Enable'. A confirmation dialog is presented.
3. After I confirm, it starts downloading the package.
4. I cancel the download
5. I check xorg.conf and it is already modified to use binary driver.

Perhaps you didn't encounter the download step due to presence of .deb in apt package cache.

By the way, I am aware of bug #92498. :-)

Revision history for this message
Martin Pitt (pitti) wrote :

Right, I missed the download step. I'll just check whether the package is actually installed after calling synaptic.

Changed in restricted-manager:
assignee: nobody → pitti
importance: Undecided → Medium
status: Needs Info → In Progress
Martin Pitt (pitti)
Changed in restricted-manager:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 restricted-manager (0.11) feisty; urgency=low
 .
   * RestrictedManager/xorg_driver.py: Do not autodetect mouse and monitor when
     reconfiguring xserver-xorg for a new driver. This avoids clobbering
     manually added undetected resolutions. (LP: #93643)
   * po/de.po: Synchronize with Rosetta.
   * RestrictedManager/nvidia.py: Enable NoLogo by default. (LP: #93306)
   * RestrictedManager/nvidia.py: Enable AddARGBVisuals to make Beryl work.
     (LP: #93262)
   * RestrictedManager/xorg_driver.py: Do not mangle xorg.conf if package
     download/installation was aborted. (LP: #92573)
   * RestrictedManager/nvidia.py: Fix passing of driver package name, so that
     the legacy driver actually installs nvidia-glx-legacy. (LP: #92849, part
     one)
   * RestrictedManager/{xorg_driver,nvidia,fglrx}.py: Do not assume that the
     kernel module name always matches the X.org driver module name
     (nvidia_legacy vs. nvidia), but instead pass the X.org driver name as a
     separate attribute. ((LP: #92849, part two)
   * RestrictedManager/modalias.override: Add NV44A [GeForce 6200] (not covered
     by nvidia_supported). (LP: #93209)
   * RestrictedManager/core.py: When loading default or special handlers, check
     that there is actually a kernel module behind. Otherwise we will display
     handlers with overrides on platforms which do not actually provide those
     modules. (LP: #93368)

Changed in restricted-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.