You are not logged in.
Hi,
I disabled the alsa-restore.service / alsa-store.service because I use OSSv4. However, systemd is still addressing alsa-restore.service / alsa-store.service:
at boot:
# systemctl status alsa-restore.service
alsa-restore.service - Restore Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static)
Active: inactive (dead) since Fri, 2012-11-02 16:34:31 CET; 1min 2s ago
Process: 296 ExecStart=/usr/sbin/alsactl restore (code=exited, status=19)
CGroup: name=systemd:/system/alsa-restore.service
Nov 02 16:34:31 Archer systemd[1]: Starting Restore Sound Card State...
Nov 02 16:34:32 Archer alsactl[296]: /usr/sbin/alsactl: load_state:1696: No soundcards found...
at shutdown:
# systemctl status alsa-store.service
alsa-store.service - Store Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-store.service; static)
Active: inactive (dead)
CGroup: name=systemd:/system/alsa-store.service
Nov 02 16:07:23 Archer systemd[1]: Starting Store Sound Card State...
Nov 02 16:07:23 Archer alsactl[1113]: /usr/sbin/alsactl: save_state:1580: No soundcards found...
Nov 02 16:07:23 Archer systemd[1]: alsa-store.service: main process exited, code=exited, status=19/n/a
Nov 02 16:07:23 Archer systemd[1]: Failed to start Store Sound Card State.
Nov 02 16:07:23 Archer systemd[1]: Unit alsa-store.service entered failed state
Last edited by nuc (2012-11-02 15:39:36)
Offline
"systemctl mask" them or simply uninstall alsa-utils.
Offline
"systemctl mask" them or simply uninstall alsa-utils.
Thanks, masking works (although this is a rather bruteforce method). After typing "systemctl status alsa-(re)store.service" at the bottom of the output it says:
Warning: Unit file changed on disk, 'systemctl --system daemon-reload' recommended.
I suppose that's to be expected after masking?
I'm still wondering why sytemd won't obey the standard "disable" command. Bug? Feature^^???
Offline
alsa-restore/store is pulled in by basic.target/shutdown.target by default, probably because there is simply no reason to disable it - if you don't use ALSA, don't install alsa-utils.
$ systemctl show -p WantedBy alsa-restore alsa-store
WantedBy=basic.target
WantedBy=shutdown.target
Offline
It will be fixed
https://bugs.freedesktop.org/show_bug.cgi?id=56690
Offline