Bug 1749325

Summary: systemd-udevd: failed to execute '/usr/libexec/gdm-disable-wayland' '/usr/libexec/gdm-disable-wayland': No such file or directory
Product: Red Hat Enterprise Linux 7 Reporter: amit yadav <ayadav>
Component: gdmAssignee: Jonas Ã…dahl <jadahl>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: jadahl, mboisver
Target Milestone: rc   
Target Release: 7.8   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gdm-3.28.2-18.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:39:53 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:
Attachments:
Description Flags
System journal from reproducing the bug under RHEL 7.6
none
System journal from reproducing the bug under RHEL 7.7 none

Description amit yadav 2019-09-05 11:23:43 UTC
Description of problem:

If we install RHEL7.6 or RHEL7.7 on a VM which have Cirrus Logic graphics, 

 00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (prog-if 00 [VGA controller])

 System Information
        Manufacturer: Red Hat
        Product Name: KVM
        Version: RHEL 7.0.0 PC

We are getting following errors in the /var/log/messages logs:

$ less /var/log/messages|grep wayland
Jul 29 23:32:35 HOSTNAME systemd-udevd: failed to execute '/usr/libexec/gdm-disable-wayland' '/usr/libexec/gdm-disable-wayland': No such file or directory
Jul 29 23:42:00 HOSTNAME systemd-udevd: failed to execute '/usr/libexec/gdm-disable-wayland' '/usr/libexec/gdm-disable-wayland': No such file or directory
Jul 30 21:27:24 HOSTNAME systemd-udevd: failed to execute '/usr/libexec/gdm-disable-wayland' '/usr/libexec/gdm-disable-wayland': No such file or directory

There is no visible impact of the error message.

Version-Release number of selected component (if applicable):
gdm-3.28.2-16.el7.x86_64(RHEL7.7)
gdm-3.28.2-12.el7_6.2.x86_64(RHEL7.6)

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL7.6 or 7.7 on a VM. Make sure to use Cirrus Logic graphics on the system.
2. Start the system in GUI mode, Switch runlevel from textmode to Gui mode.


Actual results:
"/usr/libexec/gdm-disable-wayland" missing and getting above mentioned message in the logs.

Expected results:
Add the missing file so that there is no error message.

Additional info:

The error appears in the log due to the following udev rule:

RHEL7.7 ~]# vim /usr/lib/udev/rules.d/61-gdm.rules
# disable Wayland on Cirrus chipsets
ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/libexec/gdm-disable-wayland"

The above mentioned udev rule is added by gdm:

RHEL7.7 ~]# rpm -qf /usr/lib/udev/rules.d/61-gdm.rules 
gdm-3.28.2-16.el7.x86_64

But the GDM package available in RHEL 7.6 or RHEL 7.7 does not provide "/usr/libexec/gdm-disable-wayland". 

The "/usr/libexec/gdm-disable-wayland" file is provided by the gdm package in Fedora, but not in RHEL.

Fedora30 ~]$ rpm -qf /usr/libexec/gdm-disable-wayland
gdm-3.32.0-3.fc30.x86_64

Comment 4 Pavlin Georgiev 2019-09-18 08:16:48 UTC
Created attachment 1616117 [details]
System journal from reproducing the bug under RHEL 7.6

TEST SETUP
KVM based VM
Distro: RHEL 7.6
Component version: gdm-3.28.2-9.el7

Graphics card: Cirrus Logic GD 5446


TEST PROCEDURE
1. Download and install Brew build gdm-3.28.2-18.el7:
    https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=969721
    
2. Download and install Brew build xorg-x11-server-1.20.4-9.el7:
    https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=949227
    
    Otherwise message appears:
    Error: gdm conflicts with xorg-x11-server-Xorg-1.20.1-3.el7.x86_64
    
3. Reboot the testing machine.
4. Log in a GNOME sessions as normal user.
5. Check the system journal for the bug.
    # journalctl | grep wayland


RESULT
The bug does NOT appear.

Comment 5 Pavlin Georgiev 2019-09-18 08:18:00 UTC
Created attachment 1616118 [details]
System journal from reproducing the bug under RHEL 7.7

TEST SETUP 2
KVM based VM
Distro: RHEL 7.7
Component version: gdm-3.28.2-16.el7

Graphics card: Cirrus Logic GD 5446


TEST PROCEDURE 2
1. Download and install Brew build gdm-3.28.2-18.el7:
    https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=969721
    
2. Reboot the testing machine.
3. Log in a GNOME sessions as normal user.
4. Check the system journal for the bug.
    # journalctl | grep wayland


RESULT 2
The bug does NOT appear.

Comment 6 Pavlin Georgiev 2019-09-18 08:18:18 UTC
Upgrading component: gdm
    from: 3.28.2-9.el7
      to: 3.28.2-18.el7
has fixed the bug.

Comment 9 errata-xmlrpc 2020-03-31 19:39:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1021