From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] 0ldconfig.filetrigger (packages/rpm: heads/altlinux-4.1)
Date: Sat, 8 Nov 2008 18:10:35 +0300
Message-ID: <20081108151035.GB8826@altlinux.org> (raw)
In-Reply-To: <20081108143240.GB30698@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]
On Sat, Nov 08, 2008 at 05:32:40PM +0300, Dmitry V. Levin wrote:
> On Thu, Nov 06, 2008 at 07:13:31PM +0300, Alexey M. Tourbin wrote:
> > Позволяет ли это удалить разнообразные вызовы ldconfig
> > из *всех* пакетов?
>
> Изо всех, кроме пакета с ld.so; в принципе, можно убрать и оттуда,
> понадеявшись на гарантии обратной совместимости формата ld.so.cache.
Если более точно следовать логике glibc/elf/ldconfig.c,
то можно сделать вот так:
--- scripts/0ldconfig.filetrigger- 2008-11-08 14:26:43 +0000
+++ scripts/0ldconfig.filetrigger 2008-11-08 15:06:48 +0000
@@ -24,7 +24,7 @@ while read -r f; do
fi
# 1) Check if basename looks like a shared library.
case "${f##*/}" in
- lib*.so*)
+ lib*.so* | ld-*.so* )
#echo >&2 lib="$f"
lib=1
;;
Но стандартный ld-linux-*.so* и сам ldconfig обновляются одновременно
с libc (в пределах одного пакета glibc-core), так что триггер в этом
случае сработает на libc.so.6.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-11-08 15:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 16:13 Alexey M. Tourbin
2008-11-08 14:29 ` Dmitry V. Levin
2008-11-08 14:52 ` Alexey Tourbin
2008-11-08 15:28 ` Dmitry V. Levin
2008-11-08 14:32 ` Dmitry V. Levin
2008-11-08 15:10 ` Alexey Tourbin [this message]
2008-11-08 15:26 ` Alexey Tourbin
2008-11-08 15:30 ` Dmitry V. Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081108151035.GB8826@altlinux.org \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git