From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 06 Sep 2005 18:24:08 +0000 Subject: Re: breakage due to udev and hotplug both running hotplug scripts Message-Id: <20050906182408.GA12865@wonderland.linux.it> List-Id: References: <200509062017.27346.baldrick@free.fr> In-Reply-To: <200509062017.27346.baldrick@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sep 06, Duncan Sands wrote: > I'm seeing the following: kobject_hotplug results in both > udev and /sbin/hotplug running hotplug scripts. udevd gets > the hotplug event via netlink thanks to kobject_hotplug > calling send_uevent; /sbin/hotplug gets the hotplug event > thanks to kobject_hotplug calling call_usermodehelper. > Both calls eventually result in an agent being run. Am > I right in thinking that my system is wrongly configured, > and /sbin/hotplug should be disabled? No, but there is still something wrong because udevd should ignore the second event. I think this should fix it: echo /sbin/udevsend > /proc/sys/kernel/hotplug (or at least, I cannot reproduce this with debian/unstable.) -- ciao, Marco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel