RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1556800 - libcanberra-login-sound.desktop: Failed to play sound: File or data not found
Summary: libcanberra-login-sound.desktop: Failed to play sound: File or data not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libcanberra
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Wim Taymans
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1621561 1856770
TreeView+ depends on / blocked
 
Reported: 2018-03-15 09:39 UTC by Nikola Kresic
Modified: 2023-11-26 04:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1856770 (view as bug list)
Environment:
Last Closed: 2020-03-31 19:38:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1021 0 None None None 2020-03-31 19:39:44 UTC

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


Note You need to log in before you can comment on or make changes to this bug.