Current bug? "file /var/lib/alsa/asound.state lock error: No such file or directory"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On a system born as -current (not upgraded from 14.2) rc.alsa is not executable, so my guess is that it's not needed but perhaps left there for those who have special alsa needs.
In the alsa-utils package for -current, rc.alsa is not executable. It has 644 permissions (rw-r--r--). I think, like with rc.pulseaudio, you are to leave it not executable unless you have a reason to change it.
On a system updated from 14.2 the files already exist.
While admins should always have final opinion, this is broken and I'd like to find an appropriate cure. Either there is a bug in the alsa code or the rc.alsa script should be modified to use -L.
A quick test in a fresh install VM indicates the lock file no longer exists. No stderr spew. Next time I update one of my test systems from 14.2 I'll delete the lock file and test rc.alsa.
On a system updated from 14.2 the files already exist.
While admins should always have final opinion, this is broken and I'd like to find an appropriate cure. Either there is a bug in the alsa code or the rc.alsa script should be modified to use -L.
A quick test in a fresh install VM indicates the lock file no longer exists. No stderr spew. Next time I update one of my test systems from 14.2 I'll delete the lock file and test rc.alsa.
So, it seems to be broken on just a 14.2 -> -current upgrade but works without error on a fresh -current install? If so, maybe the package and rc.alsa file don't need changes, but the CHANGES_AND_HINTS.TXT or UPGRADE.TXT should cover whatever needs to be changed to prevent the issue.
I completed another test run. Deleting the /var/lib/alsa files, directory, and /etc files/links does nothing to stop the stderr spew. Doesn't matter whether rc.alsa is +x.
This will be nominally frustrating for some users. The only cure I have found is using the -L option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.