From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCHES] Integrate minimal systemd support in alsa-utils Date: Tue, 23 Nov 2010 07:16:08 +0100 Message-ID: References: <20101123021657.GA17275@tango.0pointer.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id A96DD24416 for ; Tue, 23 Nov 2010 07:16:08 +0100 (CET) In-Reply-To: <20101123021657.GA17275@tango.0pointer.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Lennart Poettering Cc: ALSA Development Mailing List , Kay Sievers , jkysela@redhat.com List-Id: alsa-devel@alsa-project.org At Tue, 23 Nov 2010 03:16:58 +0100, Lennart Poettering wrote: > > Heya, > > Up to this point most distributions have been using different init > scripts/udev rules files to save/restore mixer settings at > boot/hotplug/shutdown. Please see my two attached patches for alsa-utils > which add standardized, simplified support for this. > > The first patch is stolen from Debian/Ubuntu, which moves asound.state > to /var/lib, which is a more appropriate place, since /etc might be > read-only. > > The second patch includes a minimal udev rule (executed synchronously, > enabled on all systems, regardless of systemd is used or not) and two > systemd service files (executed asynchronously at boot/shutdown, only > enabled if built with systemd support). > > Given that most big distributions are moving to adopt systemd sooner or > later it would be great to have support for this in the upstream package > to avoid further balkanization how things are done here. 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. thanks, Takashi