Bug 1516970

Summary: synaptics dependency removes xorg-x11-drivers rpm
Product: Red Hat Enterprise Linux 7 Reporter: Oliver Ilian <oliver>
Component: xorg-x11-driversAssignee: Adam Jackson <ajax>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact: Jana Heves <jsvarova>
Priority: unspecified    
Version: 7.4CC: ajax, jkoten, kazen, lmiksik, peter.hutterer, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Synaptics dependency removes _xorg-x11-drivers_ Later releases of Red Hat Enterprise Linux 7 contain the `xorg-x11-drv-libinput` driver for X, which can potentially provide a superior experience for some input devices. Users attempting to switch to `xorg-x11-drv-libinput` can try removing the `xorg-x11-drv-synaptics` driver, which is required by the _xorg-x11-drivers_ package. However, removing synaptics requires removing _xorg-x11-drivers_. To work around this issue, remove _xorg-x11-drivers_. This package exists only to install a reasonable collection of drivers at system setup time, and removing it has no runtime impact. Any X driver already installed will be updated as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-18 10:14:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Ilian 2017-11-23 17:23:50 UTC
Description of problem:
When switching from synaptics to libinput the removal from xorg-x11-drv-synaptics removes xorg-x11-drivers, leaving all the installed xorg-x11-drv rpms without a dependency.

Please allow xorg-x11-drivers to also consider the installed xorg-x11-libinput rpm.

Version-Release number of selected component (if applicable):
RHEL 7.4

How reproducible:
always

Steps to Reproduce:
1. perform a standard RHEL 7.4 install 
3. yum install xorg-x11-drv-libinput
4. yum remove xorg-x11-drv-synaptics

Actual results:
xorg-x11-drivers is removed, leaving all installed xorg-x11-drv* rpms without dependency 

Expected results:
xorg-x11-drivers also accepts the installed xorg-x11-drv-libinput

Additional info:

Comment 10 Adam Jackson 2018-02-19 15:07:46 UTC
(In reply to Jiri Koten from comment #6)
> AFAIK if we remove xorg-x11-drv-synaptics then there is no default driver
> installed for touchpads/trackpads which is a problem on clean install and
> probably also on install img.

That shouldn't be true. evdev is still installed by default and knows what touchpads are. Granted it's not as _good_ at driving touchpads as synaptics is, so this probably should be reverted.

I think we can just drop this build from the errata; I'll update the spec in git to revert the change as well.