From: Stanislav Levin <slev@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [librpm] обновление rpm и ldconfig
Date: Thu, 26 Sep 2019 16:09:03 +0300
Message-ID: <583316ec-32ce-7fb8-2c2a-ecb09382c44c@altlinux.org> (raw)
In-Reply-To: <20190926122314.GA2383@altlinux.org>
[-- Attachment #1.1: Type: text/plain, Size: 1531 bytes --]
26.09.2019 15:23, Dmitry V. Levin пишет:
> On Thu, Sep 26, 2019 at 03:06:46PM +0300, Anton Farygin wrote:
>> On 26.09.2019 14:10, Dmitry V. Levin wrote:
>>> On Thu, Sep 26, 2019 at 02:02:33PM +0300, Stanislav Levin wrote:
>>>> 25.09.2019 23:11, Dmitry V. Levin пишет:
>>>>> On Wed, Sep 25, 2019 at 10:34:16PM +0300, Stanislav Levin wrote:
>>>>>> 25.09.2019 17:01, Dmitry V. Levin пишет:
>>>>>>> On Wed, Sep 25, 2019 at 04:37:15PM +0300, Stanislav Levin wrote:
>>>>>>> [...]
>>>>>>>> Проблема в том, что эта процедура происходит в RPM filetrigger'е.
>>>>>>>>
>>>>>>>> Возникло несколько вопросов:
>>>>>>>>
>>>>>>>> 1) почему не запускается ldconfig при обновлении librpm (наверное, есть
>>>>>>>> серьезная причина)
>>>>>>> ldconfig запускается из RPM filetrigger'а, который называется
>>>>>>> /usr/lib/rpm/0ldconfig.filetrigger
>>>>>>>
>>>>>> Да, действительно (подсмотрел в audit) /usr/lib/rpm/0ldconfig.filetrigger вызывает ldconfig, но результат не тот, что ожидается.
>>>>> Вероятно, в той системе, о которой идёт речь, какая-то аномалия.
>>>> Во время выполнения `/usr/lib/rpm/0ldconfig.filetrigger` для обновления librpm одни из переменных окружения выглядят так:
>>>> RPM_INSTALL_ARG1=2
>>>> RPM_INSTALL_NAME=rpm
>>> Во врем выполнения файлтриггеров $RPM_INSTALL_NAME не имеет смысла.
>>> Попробуйте выяснить, откуда оно там взялось.
>> Из 2d38cbee55
> Вы абсолютно точно уверены?
> rpmScriptTriggerPosttrans() вызывает runScript() без установки этих переменных.
>
>
Если вопрос про уверенность в переменных, то да, уверен.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-09-26 13:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-25 13:37 Stanislav Levin
2019-09-25 14:01 ` Dmitry V. Levin
2019-09-25 19:34 ` Stanislav Levin
2019-09-25 20:11 ` Dmitry V. Levin
2019-09-26 11:02 ` Stanislav Levin
2019-09-26 11:10 ` Dmitry V. Levin
2019-09-26 12:06 ` Anton Farygin
2019-09-26 12:23 ` Dmitry V. Levin
2019-09-26 13:00 ` Aleksei Nikiforov
2019-09-26 13:06 ` Dmitry V. Levin
2019-09-26 13:09 ` Stanislav Levin [this message]
2019-09-26 14:06 ` Anton Farygin
2019-09-26 14:29 ` Anton Farygin
2019-09-26 21:01 ` Stanislav Levin
2019-09-27 1:27 ` Dmitry V. Levin
2019-09-27 4:14 ` Anton Farygin
2019-09-27 6:39 ` Stanislav Levin
2019-09-27 11:49 ` Dmitry V. Levin
2019-09-30 9:22 ` Stanislav 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=583316ec-32ce-7fb8-2c2a-ecb09382c44c@altlinux.org \
--to=slev@altlinux.org \
--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