Re: [PATCHES] Integrate minimal systemd support in alsa-utils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 23 Nov 2010 18:05:00 +0100,
Kay Sievers wrote:
> 
> On Tue, Nov 23, 2010 at 07:16, Takashi Iwai <tiwai@xxxxxxx> 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?

Sure.  A few questions, though:

> 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

These come from alsa-utils, obviously.  But alsa.rpm requires
alsa-utils, so this should be OK.

> 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.

Do you mean I copy systemd's rules file to alsa.rpm...?

We need a rules file for non-systemd (i.e. without systemd.rpm), so
someone still needs to provide a udev stuff for sound, I suppose?

> 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.

OK. 

> 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.

OK, this is easy.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux