[alsa-devel] [PATCHES] Integrate minimal systemd support in alsa-utils
Kay Sievers
kay.sievers at vrfy.org
Tue Nov 23 18:05:00 CET 2010
On Tue, Nov 23, 2010 at 07:16, Takashi Iwai <tiwai at suse.de> wrote:
> The second patch looks good to me. It doesn't break, at least.
> I'm going to apply it unless anyone else has specific objection.
Now that both is merged, mind putting that in openSUSE Factory?
We need to enable systemd services with:
--with-systemdsystemunitdir=/lib/systemd/system
list the files/dirs in:
/lib/systemd/system/*.service
/lib/udev/rules.d/*.rules
Drop the current custom udev rule:
/etc/udev/rules.d/40-alsa.rules
and use only the systemd one in /lib/udev/. It should work also for
non-systemd setups.
All the naming rules for the snd/ subdir can be removed on all recent
systems, only the GROUP="audio" is needed.
No rules files should be installed in /etc, all files from packages
belong into /lib.
The old SYSV init script:
/etc/init.d/alsasound
should be linked to:
/lib/systemd/system/alsasound.service -> alsa-restore.service
so that the init script will not be executed on systemd bootups.
Thanks,
Kay
More information about the Alsa-devel
mailing list