You are not logged in.

#1 2012-08-09 20:49:03

ninquitassar
Member
From: Italy
Registered: 2012-05-30
Posts: 29

[Solved] alsa-store.service don't work

I tried to pure-install systemd, but when I tried to install alsa service, I obtained:

# systemctl enable alsa-store.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.
# systemctl enable alsa-restore.service 
The unit files have no [Install] section. They are not meant to be enabled using systemctl.

How to fix it?

Last edited by ninquitassar (2012-08-09 21:40:19)


CPU: AMD Sempron SI-42 - 2.1 Ghz  Video: Nvidia GeForce 8200MG  RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART

Offline

#2 2012-08-09 20:58:55

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [Solved] alsa-store.service don't work

they are not meant to be enabled because they are already enabled by default (=static).

$ systemctl is-enabled alsa-store.service alsa-restore.service
static
static
$ ls -l /usr/lib/systemd/system/*/alsa*
lrwxrwxrwx 1 root root 23 29. Apr 06:06 /usr/lib/systemd/system/basic.target.wants/alsa-restore.service -> ../alsa-restore.service
lrwxrwxrwx 1 root root 21 29. Apr 06:06 /usr/lib/systemd/system/shutdown.target.wants/alsa-store.service -> ../alsa-store.service

Offline

#3 2012-08-09 21:40:02

ninquitassar
Member
From: Italy
Registered: 2012-05-30
Posts: 29

Re: [Solved] alsa-store.service don't work

Thank you so much, man! ^^


CPU: AMD Sempron SI-42 - 2.1 Ghz  Video: Nvidia GeForce 8200MG  RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART

Offline

#4 2015-07-26 10:06:41

helinb
Member
Registered: 2015-06-24
Posts: 3

Re: [Solved] alsa-store.service don't work

Add options to the following profile

[Install]
WantedBy=basic.target

/usr/lib/systemd/system/alsa-restore.service
/usr/lib/systemd/system/alsa-store.service

Offline

#5 2015-07-26 12:04:18

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] alsa-store.service don't work

No.

  • You don't want alsa-store.service to get pulled in that early.

  • You shouldn't edit files under /usr/lib/systemd (they will be overwritten).

  • As shown above, they're already enabled (with alsa-store as a dependency of shutdown.target).

Edit: ah, and the thread is almost three years old.

Last edited by Raynman (2015-07-26 12:05:20)

Offline

#6 2015-07-26 12:25:19

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved] alsa-store.service don't work

Indeed, helinb please see the forum etiquette: Forum Etquette: Old Threads / Necro-Bumping. Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB