Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2218968

Summary: Changes made through alsamixer do not remain persistent after reboot..
Product: Red Hat Enterprise Linux 7 Reporter: Vishal Pakolu <vpakolu>
Component: alsa-utilsAssignee: Jaroslav Kysela <jkysela>
Status: CLOSED MIGRATED QA Contact: Erik Hamera <ehamera>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.9Keywords: MigratedToJIRA
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-08 17:30:37 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 Vishal Pakolu 2023-06-30 18:07:27 UTC
Description of problem:

Changes made through alsamixer do not remain persistent after reboot.

When the Alsamixer setting in terminal for Speaker is set from mute to UNMUTE and Automute disabled, the changes do not remain persistent after reboot. Any other changes do not remain persistent post reboot.

~~~
$ aplay -l
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog] 
~~~

Complete output attached. 

Following work-around is used currently :

=================
1) Create a .desktop file in the /etc/xdg/autostart/ directory. Create a file '/etc/xdg/autostart/alsarestore.desktop'. Enter following content in the file:  

~~~
[Desktop Entry]
Type=Application
Name=Alsactl 
Exec=sh -c "sleep 10 && alsactl --file ~/.config/asound.state restore"
OnlyShowIn=GNOME;
X-GNOME-Autostart-enabled=true
~~~

2) Once done make alsamixer settings change, save via 'alsactl --file ~/.config/asound.state store'.

3) Once this is done, reboot and login to the user, waiting for 10 seconds, after this alsamixer settings are applied/restored to what was done before reboot.
=============== 


Version-Release number of selected component (if applicable):
alsa-utils-1.1.8-2.el7
RHEL 7.9

How reproducible:

Always.

Steps to Reproduce:

Provided by customer :

" In terminal "alsamixer", then F6 and selected the Intel HDA sound card and then changed the Speaker setting from Mute to Unmute. Then Automute was changed from Enabled to Disabled."


Actual results:


Making any changes through alsamixer and then taking reboot the changes do not remain persistent.

Expected results:

The changes should remain persistent.

Additional info:

This is also reproducible over RHEL 8 for customer however they want this fixed over RHEL 7.

Business justification :

"The software and applications of our client were created much earlier and made to run on the RHEL 7.x series only. In this scenario upgradation of OS from RHEL 7.x to 8.x is not possible as of now in the current lots. "

Comment 3 Jaroslav Kysela 2023-06-30 18:15:10 UTC
Please, check if the alsa-state service is running:

    systemctl status alsa-state

Eventually, check, if there is something in the log:

    journalctl -u alsa-state

Comment 4 Doug Ledford 2023-08-29 16:35:38 UTC
This bug is scheduled for migration to Jira.  When that happens, this bugzilla issue will be permanently closed with the status MIGRATED and all future interaction on this issue will need to happen in the Jira issue.  The new issue will be part of the RHEL project (a project for Jira only issues, which will sync once, then close the bugzilla issue and all future updates will happen in Jira), not part of the RHELPLAN project (which is part of the automated bugzilla->Jira mirroring and which allows ongoing updates to the bugzilla bug and syncs those updates over to Jira).

For making sure you have access to Jira in order to continue accessing this issue, follow one of the appropriate knowledge base articles:

KB0016394 - https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016394
KB0016694 - https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016694
KB0016774 - https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0016774

For general issues with Jira, open a ticket with rh-issues

Comment 5 RHEL Program Management 2023-09-08 17:26:05 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 6 Doug Ledford 2023-09-08 17:28:02 UTC
Additional information on creating a Jira account to access the migrated issue can be found here:

https://access.redhat.com/articles/7032570

Comment 7 RHEL Program Management 2023-09-08 17:30:37 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.

Comment 8 Red Hat Bugzilla 2024-01-20 04:25:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days