FS#61436 - alsa-restore.service fails on unmet condition
Attached to Project:
Arch Linux
Opened by Martin L. (wuestengecko) - Wednesday, 16 January 2019, 22:36 GMT
Last edited by David Runge (dvzrv) - Sunday, 08 September 2019, 21:27 GMT
Opened by Martin L. (wuestengecko) - Wednesday, 16 January 2019, 22:36 GMT
Last edited by David Runge (dvzrv) - Sunday, 08 September 2019, 21:27 GMT
|
Details
Description:
During boot, alsa-restore.service is started too early, before the corresponding device nodes were created. `systemctl status` tells that it was skipped because `ConditionPathExistsGlob=/dev/snd/control*` was not met. Manually starting the service after logging in succeeds. Additional info: * package version(s) linux-ck 4.20.1-1 systemd 240.34-3 alsa-lib 1.1.8-1 * config and/or log files etc. $ systemctl status alsa-restore.service ● alsa-restore.service - Save/Restore Sound Card State Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static; vendor preset: disabled) Active: inactive (dead) Condition: start condition failed at Wed 2019-01-16 23:16:33 CET; 33s ago └─ ConditionPathExistsGlob=/dev/snd/control* was not met Jan 16 23:16:33 tiah systemd[1]: Condition check resulted in Save/Restore Sound Card State being skipped. Steps to reproduce: 1. Make sure `/etc/alsa/state-daemon.conf` does not exist. 2. Boot the system. 3. Login and run `systemctl status alsa-restore.service`. |
This task depends upon
/usr/lib/systemd/system/alsa-restore.service is supplied by upstream. Have you contacted upstream about the issue?
Other than the service not being executed is there any other impact on the system?
Since the service as systemd sees it is never started, its ExecStop= won't update /var/lib/asound.state on system shutdown. Other than that, everything works as it should.
I just installed and tested with the vanilla Arch kernel, and it doesn't show this problem - the service starts fine there. So it seems this is actually an issue with the ck kernel?
Is this even the right place for this bug then?