From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 24 Mar 2011 12:23:53 +0000 Subject: Re: Udev remove --type failed logic Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Thu, Mar 24, 2011 at 04:59, Kay Sievers wrote: > On Thu, Mar 24, 2011 at 03:05, Seblu wrote: >> I see in TODO from last git commit, that --type failed logic will be >> removed from udev. >> >> I trying to patch an issue in my archlinux with bluetoothd and udev >> rules wich start it. >> One idea was to extend add RUN{fail_event_on_error} in place of RUN, >> to recall it after dbus was started. >> >> But it's seems you will remove this feature from udev. >> >> Why remove it? >> What is your recommendation about those cases? > In case you are stuck with an old init, just trigger the bluetooth > events again from an init script That's what recent bluez does: udevadm trigger --subsystem-match=3Dbluetooth --action=ADd Not how things should work today where init supports on-demand stuff -- but it does not need the weird "failed" from udev. Kay