Bug 1556800

Summary: libcanberra-login-sound.desktop: Failed to play sound: File or data not found
Product: Red Hat Enterprise Linux 7 Reporter: Nikola Kresic <nkresic>
Component: libcanberraAssignee: Wim Taymans <wtaymans>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: chaika1201, csoriano, jkoten, mboisver, ofalk, wtaymans, yferszt
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1856770 (view as bug list) Environment:
Last Closed: 2020-03-31 19:38:49 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:
Bug Depends On:    
Bug Blocks: 1621561, 1856770    

Description Nikola Kresic 2018-03-15 09:39:42 UTC
Description of problem:
error message in the logs

Version-Release number of selected component (if applicable):
rpm -qf /usr/share/gnome/autostart/libcanberra-login-sound.desktop
libcanberra-gtk3-0.30-5.el7.x86_64

How reproducible:
on every boot

Steps to Reproduce:
1.
2.
3.

Actual results:
no login sound, error message logged

Expected results:
play the sound

Additional info:
seems to be a regression, or somehow connected to other problems with gdm ?

Comment 7 Wim Taymans 2018-11-30 08:51:11 UTC
The reason is that no process ever uploads the 'desktop-login' sample to pulseaudio. I'm not quite sure what process did or should do that, I will ask around.

Comment 8 Wim Taymans 2018-11-30 15:31:34 UTC
In Red Hat Enterprise Linux 7, we ship the "freedesktop" sound theme by default.  

This sound theme is intentionally streamlined to avoid introducing too many distractions to the user.  As you've noticed, one of the sound events not covered by this sound theme is the login sound.  In Red Hat Enterprise Linux 7, we don't currently support any other sound themes officially.

There are third party sound themes that do provide the requested sound event at gnome-look.org and other third party sites, but those themes aren't recommended for the best Red Hat Enterprise Linux 7 user experience.

To install just a custom desktop-login sound, the recommendation is to place or copy a sound file as /usr/share/sounds/freedesktop/stereo/desktop-login.oga

Comment 25 Pavlin Georgiev 2019-09-16 12:06:37 UTC
TEST SETUP
Hardware: laptop Lenovo T580
Distro: RHEL 7.6 CSB
Component version: libcanberra-0.30-5.el7


TEST PROCEDURE
1. Check the system journal for the bug:
   # journalctl | grep libcanberra
   Sep 16 09:34:53 dolphin libcanberra-login-sound.desktop[8738]: Failed to play sound: File or data not found

The bug is there.

Comment 26 Pavlin Georgiev 2019-09-16 12:07:04 UTC
TEST SETUP 2
Hardware: HP Z200 Workstation
Distro: RHEL-7.8-20190912.3
Component version: libcanberra-0.30-5.el7


TEST PROCEDURE 2
1. Download and install Brew build libcanberra-0.30-9.el7:
   https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=967522
   
2. Reboot the testing machine.
3. Log in a GNOME session.
4. Log out.
5. Check the system journal for the bug:
   # journalctl | grep libcanberra

The bug does not appear.

Comment 27 Pavlin Georgiev 2019-09-16 12:28:29 UTC
RESULT
Note: the error message disappeared from the journal.
There was not sound after GDM login.

Upgrading component: libcanberra
    from: 0.30-5.el7
      to: 0.30-9.el7
has fixed the bug.

Comment 32 errata-xmlrpc 2020-03-31 19:38:49 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

Comment 35 Red Hat Bugzilla 2023-11-26 04:25:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days