From: md@Linux.IT (Marco d'Itri) Date: Tue, 17 Jan 2006 20:50:48 +0000 Subject: Re: Cold plug starting services too soon Message-Id: <20060117205048.GB16165@wonderland.linux.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="LyciRD1jyfeSSjG0" List-Id: References: <20060117203244.GA3135@kroah.com> In-Reply-To: <20060117203244.GA3135@kroah.com> To: linux-hotplug@vger.kernel.org --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 17, Greg KH wrote: > Gentoo has run into the problem that if we load modules for some types > of devices (like network devices for example), we can generate hotplug > events that want to run things on disks that are not mounted yet, as we > havn't even done mounting of the non-root filesystem yet (caused by udev > doing the coldplug pretty much the first thing at boot time.) >=20 > How has Debian and SuSE kept from having this issue? I think for SuSE On Debian, packages which install RUN rules must either not care if events happening before /usr is mounted are lost or if appropriate use scripts which wait until whatever is needed is available (e.g. the SUBSYSTEM=3D=3D"net" agent waits for the lo interface to be up). I am not sure if I want to replay failed events, because we don't know why they failed and so far it's not clear if this is needed. --=20 ciao, Marco --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDzVioFGfw2OHuP7ERAmULAJ4226ZnsIc6xfQVqcgRbeNlYL1rpwCfWd/+ bfm/yOsSJVIslmSJtFMWkZw= =FYYu -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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