ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: libaudit.so.1 started to pull in libpthread?
Date: Thu, 18 Feb 2021 17:26:49 +0300
Message-ID: <20210218142649.GA31844@altlinux.org> (raw)
In-Reply-To: <3d13a4bd-6237-d222-e0ff-f831f4f9514a@altlinux.org>

On 2021-02-18 16:52:48 +0300, Aleksei Nikiforov wrote:

 >>>>>> ERROR: pam_permit.so pulls in libpthread.
 >>>>> Это результат вчерашнего обновления libaudit?
 >>>> Да, libaudit теперь линкуется с pthread. Это мы, к сожалению,
 >>>> вчера не заметили.
 >>> Я помню, что у нас была какая-то дискуссия по поводу libpthread
 >>> в модулях pam, но не помню чем она закончилась.
 >> libpthread так устроена (так сильно перекрывает libc), что с ней
 >> надо линковаться, а не загружать динамически во время работы.
 >> Ну а модули pam как раз загружаются динамически во время работы.
 >>> Много кто из модулей pam притаскивает за собой libpthread,
 >>> начиная с pam_systemd.
 >> Надо взять на заметку, это может быть проблемой.

Из опыта эксплуатации: это практически гарантированная проблема.

 >> Сам linux-pam (ни библиотеки, ни модули) libpthread не используют.
 > Можно ли эту проверку реализовать так, чтобы проблема не на
 > следующий день при пересборке вылезала, а сразу при попытке
 > обновить зависимости linux-pam просто не давала бы закоммитить
 > задание если обнаруживаются подобные проблемы? Такая проверка
 > может быть сложнее, но если она действительно нужна, то пусть
 > лучше она не пост-фактум будет, поскольку о том, что это может
 > вызвать проблемы, заранее может быть не очевидно.
 > Что-то типа checkinstall, но чтобы он выполнялся не при сборке
 > linux-pam, а при сборке пакетов, от которых linux-pam зависит.

Name: libpam0-devel
Conflicts: glibc-pthread

Наверняка от этого что-то поломается, но в целом пользы должно быть
больше, чем явного вреда.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


  parent reply	other threads:[~2021-02-18 14:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 11:31 ` Dmitry V. Levin
2021-02-18 12:44   ` Anton Farygin
2021-02-18 13:01     ` Anton Farygin
2021-02-18 13:38       ` Dmitry V. Levin
2021-02-18 13:48         ` Anton Farygin
2021-02-18 13:52         ` Aleksei Nikiforov
2021-02-18 14:07           ` Anton Farygin
2021-02-18 14:10             ` Aleksei Nikiforov
2021-02-18 14:26           ` Alexey V. Vissarionov [this message]
2021-02-18 14:32             ` Sergey V Turchin
2021-02-18 14:51               ` Alexey V. Vissarionov
2021-02-19  7:18                 ` Sergey V Turchin

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=20210218142649.GA31844@altlinux.org \
    --to=gremlin@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