From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 12 Apr 2006 11:23:57 +0400 From: Sergey Vlasov To: ALT Linux Sisyphus discussion list Message-ID: <20060412072357.GA14438@procyon.home> References: <20060411162251.GA15449@procyon.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: Subject: Re: [sisyphus] Warning: udev-089 X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 07:24:24 -0000 Archived-At: List-Archive: List-Post: --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 12, 2006 at 10:48:04AM +0400, Anton Farygin wrote: > Sergey Vlasov wrote: > > On Tue, Apr 11, 2006 at 05:42:17PM +0400, Anton Farygin wrote: > >> =F7 ftp://ftp.altlinux.ru/pub/people/rider/udev-089 =CC=C5=D6=C1=D4 = =D0=C1=CB=C5=D4=D9 =CE=CF=D7=CF=C7=CF udev. > >> > >> =F0=D2=CF=D3=D8=C2=C1 =D7=D3=C5=CD, =CB=D4=CF =C9=D3=D0=CF=CC=D8=DA=D5= =C5=D4 =D1=C4=D2=CF 2.6.16 - =D0=CF=D3=D4=C1=D7=C9=D4=D8 =C9 =D3=CF=CF=C2= =DD=C9=D4=D8 =CD=CE=C5 =CF=C2 > >> =CE=C1=CA=C4=C5=CE=CE=D9=C8 =CF=DB=C9=C2=CB=C1=C8. =F3 =D1=C4=D2=C1=CD= =C9 < 2.6.16 =CE=CF=D7=D9=CA udev =D2=C1=C2=CF=D4=C1=D4=D8 =CE=C5 =C2=D5=C4= =C5=D4. > >> > >> =FE=C5=D2=C5=DA =D0=C1=D2=D5 =C4=CE=C5=CA =DC=D4=CF =CD=CF=D6=C5=D4 = =C4=CF=C2=D2=C1=D4=D8=D3=D1 =C4=CF Sisyphus - =CC=D5=DE=DB=C5 =D0=D2=CF=D7= =C5=D2=C9=D4=D8 =DA=C1=D2=C1=CE=C5=C5. > >=20 > > =E4=C1, =CB=C1=CD=CE=C5=D0=C1=C4 =C2=D5=C4=C5=D4 =C9=DA=D2=D1=C4=CE=D9= =CA. > >=20 > > 1. =F0=CF=D3=CC=C5 =D7=D9=DA=CF=D7=C1 udevtrigger =CE=D5=D6=CE=CF =C4= =CF=D6=C4=C1=D4=D8=D3=D1 =DA=C1=D7=C5=D2=DB=C5=CE=C9=D1 =CF=C2=D2=C1=C2=CF= =D4=CB=C9 > > =D3=C7=C5=CE=C5=D2=C9=D2=CF=D7=C1=CE=CE=D9=C8 =D3=CF=C2=D9=D4=C9=CA = - =C9=CE=C1=DE=C5 =C9=CE=CF=C7=C4=C1 =D0=D2=C9 =C4=C1=CC=D8=CE=C5=CA=DB=C5= =CA =DA=C1=C7=D2=D5=DA=CB=C5 =CE=C5 > > =CF=C2=CE=C1=D2=D5=D6=C9=D7=C1=C5=D4=D3=D1 =C4=C1=D6=C5 /dev/urandom= . =F0=D2=C1=D7=C4=C1, =D7 =DC=D4=CF=CD =CD=C5=D3=D4=C5 =C5=D3=D4=D8 > > =C7=D2=C1=C2=CC=C9: > >=20 > > http://wiki.linuxfromscratch.org/lfs/ticket/1720 > > http://permalink.gmane.org/gmane.linux.hotplug.devel/9711 >=20 > =E4=C1, =C9 =DC=D4=CF =C9=DA=D7=C5=D3=D4=CE=CF. =F3=C5=CA=DE=C1=D3 =DA=C1= =C7=D2=D5=DA=CB=C1 =D0=D2=CF=C8=CF=C4=C9=D4 =CE=CF=D2=CD=C1=CC=D8=CE=CF, = =C1 =D7=CF=D4 =C5=D3=CC=C9=20 > =DA=C1=D0=D5=D3=CB=C1=D4=D8 udevtrigger =C9=DA rc.sysinit - =D4=CF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1=D4 =D0=C5=D2=C5=C4 =D5=D3=D4=C1= =CE=CF=D7=CB=CF=CA =DC=D4=CF=C7=CF > > udev =CB=D2=C1=CA=CE=C5 =D6=C5=CC=C1=D4=C5=CC=D8=CE=CF =D5=D3=D4=C1= =CE=CF=D7=C9=D4=D8 etcnet =C9 =CE=C1=D3=D4=D2=CF=C9=D4=D8 /etc/iftab, > > =C9=CE=C1=DE=C5 =D0=CF=D4=CF=CD =D0=D2=C9=C4=A3=D4=D3=D1 =C4=CF=CC= =C7=CF =D2=C1=DA=C2=C9=D2=C1=D4=D8=D3=D1 =D7 =D0=C5=D2=C5=D0=D5=D4=C1=D7=DB= =C9=C8=D3=D1 eth*. > > =F0=D2=C9=DE=A3=CD USE_HOTPLUG=3Dyes =D4=CF=D6=C5 =CD=CF=D6=C5=D4 = =CE=C5 =D2=C1=C2=CF=D4=C1=D4=D8, =D0=CF=CB=C1 =C9=DA > > /etc/hotplug/net.agent =CE=C5 =C2=D5=C4=C5=D4 =D5=C4=C1=CC=A3=CE =CB= =D5=D3=CF=CB: > >=20 > > # Red Hat specific hack... > > if [ -f /etc/redhat-release ]; then > > # Don't do anything if the network is stopped > > if [ ! -f /var/lock/subsys/network ]; then > > exit 0 > > fi > > fi > >=20 > > =E9=CE=C1=DE=C5 =D0=CF=CC=D5=DE=C1=C5=D4=D3=D1 race - =D3=C5=D4=C5= =D7=CF=C5 =D5=D3=D4=D2=CF=CA=D3=D4=D7=CF =D7=D0=CF=CC=CE=C5 =CD=CF=D6=C5=D4= =C2=D9=D4=D8 > > =CF=C2=CE=C1=D2=D5=D6=C5=CE=CF =D2=C1=CE=D8=DB=C5, =DE=C5=CD =DA=C1= =D0=D5=D3=D4=C9=D4=D3=D1 =D3=C5=D2=D7=C9=D3 network (=D4=CF=DE=CE=C5=C5, = =C5=D3=CC=C9 =D7 > > =DA=C1=D0=D5=D3=CB udevd =C2=D5=C4=C5=D4 =C4=CF=C2=C1=D7=CC=C5=CE=CF= =CF=D6=C9=C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C9=D1 =CF=C2=DD=C5=CA =C9=CE=C9=C3=C9=C1=CC=C9=DA=C1=C3=C9= =C9 =D3=C5=D4=C9. > > =F7=CF=DA=CD=CF=D6=CE=CF, =D0=D2=C9=C4=A3=D4=D3=D1 =C4=CF=C2=C1=D7= =C9=D4=D8 =D7 =DA=C1=D0=D5=D3=CB etcnet =D7=D9=DA=CF=D7 =D3=CF=C2=D3=D4=D7= =C5=CE=CE=CF=CA > > =D7=C5=D2=D3=C9=C9 udevtrigger, =C7=C5=CE=C5=D2=C9=D2=D5=C0=DD=C5=CA= =D3=CF=C2=D9=D4=C9=D1 =D4=CF=CC=D8=CB=CF =C4=CC=D1 > > /sys/class/net/* (=C9 =D5=C2=C5=C4=C9=D4=D8=D3=D1, =DE=D4=CF =D0=CF= =D7=D4=CF=D2=D1=C0=DD=C9=C5=D3=D1 =D7=D9=DA=CF=D7=D9 > > ifup-removable =CE=C5 =D0=D2=C9=D7=CF=C4=D1=D4 =CB =CE=C5=D6=C5=CC= =C1=D4=C5=CC=D8=CE=D9=CD =DC=C6=C6=C5=CB=D4=C1=CD). >=20 > =F3=C5=CA=DE=C1=D3 =D0=D2=C9 service udevd restart =D3=C5=D4=D8 =D0=D2=CF= =D0=C1=C4=C1=C5=D4 (=CF=CE=C1 =D5 =CD=C5=CE=D1=20 > =CE=C1=D3=D4=D2=C1=C9=D7=C1=C5=D4=D3=D1 =D7=D2=D5=DE=CE=D5=C0). =EE=C1=D7= =C5=D2=CE=CF=C5 =D3=D4=CF=C9=D4 =D0=CF=D3=CD=CF=D4=D2=C5=D4=D8 =DE=D4=CF = =D4=C1=CD =D4=CF=DE=CE=CF =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4. =F5 =CD=C5=CE=D1 =CE=C5 =D0=D2=CF=D0=C1=C4=C1=C5=D4. --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEPKsNW82GfkQfsqIRAtbyAJoCqgYGTO4WBzI4aTH7HeWM/ftqPgCfU2aj Da/QKQR7rOBn46h0+lPUuA0= =kilD -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--