From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4QD4QiJ009412 for ; Thu, 26 May 2005 13:04:26 GMT Received: from localhost (172.16.1.82) by smtp0.libero.it (7.0.027-DD01) id 41BDA869024B7E36 for gentoo-dev@lists.gentoo.org; Thu, 26 May 2005 15:04:32 +0200 Received: from default (151.81.0.242) by smtp20.libero.it (7.0.027-DD01) id 41D02BD3069A13EC for gentoo-dev@lists.gentoo.org; Thu, 26 May 2005 15:04:32 +0200 Date: Thu, 26 May 2005 15:04:30 +0200 X-Mailer: InScribe Message-ID: References: <200505251820.02637.vapier@gentoo.org> To: From: "Kevin F. Quinn" Subject: Re: [gentoo-dev] baselayout-1.11.12-r2 request for testers Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Scanned: by amavisd-new at libero.it serv3 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j4QD4QiJ009412 X-Archives-Salt: c55d94bc-db03-4eca-b653-3814df907671 X-Archives-Hash: 83d97014c2dfbd17dd777f897505b5a2 On 26/5/2005 0:20:02, Mike Frysinger (vapier@gentoo.org) wrote: > files - the net scripts have been completely rewritten thanks to UberLord Ahh; what fun - that was the stuff I'd tweaked the most :/ The new network stuff is much better, but I do have one hiccough. I'm trying it on a laptop that connects to various different networks depending on the weather. I figured this would be a useful test as it's a less common configuration. It connects mostly via different docking stations. I use udev to rename ethernet devices according to MAC address (the ethernet devices are in the docking stations). Hotplug then runs the appropriately named network script via net.agent to start the service. Critically, the various net.* scripts are therefore -not- in any runlevel. This hotplugging of the network devices all kicks off early on - well before the boot level has finished. The new /sbin/runscript.sh simply drops the addition of the network device if the boot level hasn't finished - leaving me with no network (or at least, a network that has to be started manually). For now, I've commented out the check in /sbin/runscript.sh, and it all works ok. I don't know what this will break; obviously the check wasn't added just for laughs! On a somewhat related matter, I have bluetooth stuff installed, which is also started by hotplug/pcmcia. In order to prevent it being stopped by changing runlevels, I've made a softlink to net.bluetooth and started that in my hotplug config instead of 'bluetooth'. Bit of a hack, relying on the fact /sbin/rc does not automatically stop anything that begins with "net.". Is there a tidier way to prevent /sbin/rc from messing with services started & stopped via hotplug? -- gentoo-dev@gentoo.org mailing list