ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: libaudit.so.1 started to pull in libpthread?
Date: Thu, 18 Feb 2021 16:38:49 +0300
Message-ID: <20210218133849.GA1435@altlinux.org> (raw)
In-Reply-To: <e759cfe3-13be-0fab-9640-b6d1fa36bfc4@basealt.ru>

On Thu, Feb 18, 2021 at 04:01:33PM +0300, Anton Farygin wrote:
> On 18.02.2021 15:44, Anton Farygin wrote:
> > On 18.02.2021 14:31, Dmitry V. Levin wrote:
> >> Hi,
> >>
> >> On Thu, Feb 18, 2021 at 07:38:15AM +0000, ALT beekeeper wrote:
> >> [...]
> >>> linux-pam-1.5.1-alt1
[...]
> >>>     ERROR: pam_permit.so pulls in libpthread.
[...]
> >> Это результат вчерашнего обновления libaudit?
> >>
> >>
> > Да, libaudit теперь линкуется с pthread. Это мы, к сожалению, вчера не 
> > заметили.
> >
> Я помню, что у нас была какая-то дискуссия по поводу libpthread в 
> модулях pam, но не помню чем она закончилась.

libpthread так устроена (так сильно перекрывает libc), что с ней надо
линковаться, а не загружать динамически во время работы.
Ну а модули pam как раз загружаются динамически во время работы.

> Много кто из модулей pam притаскивает за собой libpthread, начиная с 
> pam_systemd.

Надо взять на заметку, это может быть проблемой.
Сам linux-pam (ни библиотеки, ни модули) libpthread не используют.


-- 
ldv


  reply	other threads:[~2021-02-18 13:38 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 [this message]
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
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=20210218133849.GA1435@altlinux.org \
    --to=ldv@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