You are not logged in.
Pages: 1
Topic closed
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
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
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
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
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
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
Pages: 1
Topic closed