From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 15 Sep 2008 11:11:47 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20080915071147.GA5223@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20080908095106.GS6477@altlinux.org> <20080908134958.GA18364@wo.int.altlinux.org> <20080911192542.GJ6477@altlinux.org> <20080911195800.GA16087@wo.int.altlinux.org> <20080911201642.GK6477@altlinux.org> <20080911202012.GC16087@wo.int.altlinux.org> <20080911203823.GL6477@altlinux.org> <20080911204809.GM6477@altlinux.org> <20080911205329.GB31868@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20080911205329.GB31868@wo.int.altlinux.org> Subject: Re: [devel] /etc/ld.so.cache X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 07:11:48 -0000 Archived-At: List-Archive: List-Post: --envbJBWh7q8WU6mo Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 12, 2008 at 12:53:29AM +0400, Dmitry V. Levin wrote: > > > =EB=D3=D4=C1=D4=C9, =D7=CF=D4 =CB=C1=CB =DC=D4=CF =D3=C4=C5=CC=C1=CE= =CF =D7 =ED=C1=CE=C4=D2=C9=D7=C5 (glibc-2.8-1.20080520.5mnb2.src.rpm), > > > glibc.spec: > > > 1015 # automatic ldconfig cache update on rpm installs/removals > > > 1016 # (see http://wiki.mandriva.com/en/Rpm_filetriggers) > > > 1017 install -d %buildroot%{_var}/lib/rpm/filetriggers > > > 1018 cat > %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.filter = << EOF > > > 1019 ^.((/lib|/usr/lib)(64)?/[^/]*\.so\.|/etc/ld.so.conf.d/[^/]*\.= conf) > > > 1020 EOF > > > 1021 cat > %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.script = << EOF > > > 1022 #!/bin/sh > > > 1023 ldconfig -X > > > 1024 EOF > > > 1025 chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.scr= ipt > >=20 > > =EB=D3=D4=C1=D4=C9, =D0=D2=C9 =D0=CF=C4=CF=C2=CE=CF=CD =D2=C1=D3=CB=CC= =C1=C4=C5 (=C5=D3=CC=C9 =D3=CF=C4=C5=D2=D6=C1=D4=D8 =D4=D2=C9=C7=C7=C5=D2 = =D7 glibc-core), > > =D5 =D0=C1=CB=C5=D4=C1 glibc-core =D0=CF=D1=D7=C9=D4=D3=D1 =DA=C1=D7=C9= =D3=C9=CD=CF=D3=D4=D8 =CE=C1 sh (=C1 =D5 sh =D5=D6=C5 =C5=D3=D4=D8 > > =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 =CE=C1 glibc-core). =F7=D0=D2=CF=DE= =C5=CD, =D4=D2=C9=C7=C7=C5=D2 =CD=CF=D6=CE=CF =CE=C1=D0=C9=D3=C1=D4=D8 =CE= =C1 =F3=C9... >=20 > =F7 glibc-core =D5=D6=C5 =C5=D3=D4=D8 =CE=C5=D3=CB=CF=CC=D8=CB=CF =D4=C1= =CB=C9=C8 =D3=CB=D2=C9=D0=D4=CF=D7 =CE=C1 C. > =E1 =D7=CF=D4 =C5=D3=CC=C9 =D4=C1=CD =D0=CF=D1=D7=C9=D4=D3=D1 =DA=C1=D7= =C9=D3=C9=CD=CF=D3=D4=D8 =CE=C1 @RPMCONFIGDIR@, =D4=CF =C2=D5=C4=C5=D4 =CE= =C5 =CF=DE=C5=CE=D8 > =DA=C4=CF=D2=CF=D7=CF. =F7=CF=D4 =CB=C1=CB =D1 =D3=C5=C2=C5 =D0=D2=C5=C4=D3=D4=C1=D7=CC=D1=C0 =C2= =CF=CC=C5=C5 =C1=CB=CB=D5=D2=C1=D4=CE=D5=C0 =D2=C5=C1=CC=C9=DA=C1=C3=C9=C0. /usr/lib/rpm/0ldconfig.filetrigger 1 #!/bin/sh 2=09 3 IFS=3D 4 while read -r f; do 5 case "$f" in 6 /lib/lib*/*.so* |\ 7 /lib64/lib*/*.so* |\ 8 /usr/lib/lib*/*.so* |\ 9 /usr/lib64/lib*/*.so* ) 10 # false positives 11 continue ;; 12 /lib/lib*.so |\ 13 /lib64/lib*.so |\ 14 /usr/lib/lib*.so |\ 15 /usr/lib64/lib*.so ) 16 # maybe soname 17 if set $f.* && [ -f "$1" ]; then 18 continue 19 fi 20 ;; 21 /lib/lib*.so.* |\ 22 /lib64/lib*.so.* |\ 23 /usr/lib/lib*.so.* |\ 24 /usr/lib64/lib*.so.* ) 25 # soname 26 ;; 27 /etc/ld.so.conf.d/*.conf) 28 ;; 29 *) continue ;; 30 esac 31 exec /sbin/ldconfig 32 done =F4=C1=CB=CF=CA =D4=D2=C9=C7=C7=C5=D2 =C4=CF=CC=D6=C5=CE =CB=CF=CF=D2=CB=C5= =D4=CE=CF =CF=C2=D2=C1=C2=C1=D4=D9=D7=C1=D4=D8 =D5=D3=D4=C1=CE=CF=D7=CB=D5 = =C9 =D5=C4=C1=CC=C5=CE=C9=C5 *-devel =D0=C1=CB=C5=D4=CF=D7 =D3 =D3=C9=CD=CC=C9=CE=CB=C1=CD=C9 (=C4=CC=D1 =CE=C9= =C8 =DA=C1=D0=D5=D3=CB=C1=D4=D8 ldconfig =CE=C5 =CE=C1=C4=CF). =F7 =D0=D2=C9=CE=C3=C9=D0=C5 =CD=CF=D6=CE=CF =DA=C1=D0=C1=CB=CF=D7=C1=D4=D8= =D4=C1=CB=CF=CA =D4=D2=C9=C7=C7=C5=D2 =CE=C5 =D7 glibc-core, =C1 =D7 rpm. --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEUEARECAAYFAkjOCrMACgkQfBKgtDjnu0aUcgCY/bt+ESeNemdF47pyeEP6gzPw JwCcDeTPIsGSNXE9sux+L4EaStjapJM= =V5jx -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--