ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: [devel] ldd segfault at verify-elf // samba-4.14.11-alt3: Sisyphus/x86_64 test rebuild failed
Date: Wed, 9 Feb 2022 03:34:57 +0400
Message-ID: <CAK42-GqcY93PnTLD+sdcdYdjyyomFo+h0_MxTtsQaQ=vbqhw-Q@mail.gmail.com> (raw)
In-Reply-To: <YgE2ncPjQqNyHL3t@glebfm.altlinux.org>

Доброй ночи,

честно говоря, я даже не знаю как к этой проблеме подступиться.

Вот вышел очередной CVE:
https://git.altlinux.org/tasks/295057/build/200/x86_64/log

Теперь для его закрытия нужно сделать что?
Раскопать где в недрах waf задаётся правильная линковка?

Я даже не уверен, что понимаю о чём идёт речь в плане правильная/неправильная.

Прошу помочь разобраться со следующим:

1) Как воспроизвести проверку локально?
Вот я смотрел-смотрел сюда и хотел уже было заплакать, но решил написать:
https://sourceware.org/bugzilla/show_bug.cgi?id=28868

2) Где про всё это можно почитать так, чтобы было понятно?
Я не понимаю как диагностировать и решать данную проблему.


пн, 7 февр. 2022 г. в 19:12, Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>:
>
> Hi,
>
> On Mon, Feb 07, 2022 at 09:41:16AM +0400, Ivan A. Melnikov wrote:
> > Приветствую.
> >
> > На первый взгляд это не похоже на проблему именно самбы. Можете подтвердить
> > или опровергнуть?
>
> В данном случае тут и проблема в samba и бага (см. [1]) в новой glibc
> 2.35.  Если бы в glibc не было бы баги, то samba (вместе с бы просто
> оказалась во вчерашнем списке пакетов с library not found[2].
>
> Чтобы посмотреть на список ошибок в упаковке библиотек samba, можно
> добавить export GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 в конец секции
> %install, чтобы verify-elf запустил ldd со старым алгоритмом сортировки
> библиотек.
>
> Другие пакеты с той же диагностикой:
> java-1.8.0-openjdk
> java-11-openjdk
>
> > $ curl -s https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2022/0206/error/samba-4.14.11-alt3 | grep -A2 Segmentation
> > /usr/lib/rpm/ldd: line 100: 3770799 Segmentation fault      LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now LD_DEBUG=$debug LD_LIBRARY_VERSION=$verify_out LD_PRELOAD="$rtld_preload" "$rtld" --library-path "$rpath" "$rtld_target"
> > ldd: ERROR: ./usr/lib64/krb5/plugins/libkrb5/winbind_krb5_localauth.so: trace failed
> > verify-elf: ERROR: ./usr/lib64/krb5/plugins/libkrb5/winbind_krb5_localauth.so: ldd failed
>
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=28868
> [2] https://lore.altlinux.org/devel/20220206134111.GA14395@altlinux.org/
>
> --
> glebfm
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel



-- 
Sin (Sinelnikov Evgeny)

  reply	other threads:[~2022-02-08 23:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  5:41 Ivan A. Melnikov
2022-02-07 15:11 ` Gleb Fotengauer-Malinovskiy
2022-02-08 23:34   ` Evgeny Sinelnikov [this message]
2022-02-08 23:39     ` Dmitry V. Levin
2022-02-09  0:51       ` Evgeny Sinelnikov
2022-02-09  1:10         ` Gleb Fotengauer-Malinovskiy
2022-02-09  1:43           ` Evgeny Sinelnikov
2022-02-09  1:42         ` Dmitry V. Levin
2022-02-09  1:47           ` Evgeny Sinelnikov
2022-02-09  2:04             ` Dmitry V. Levin
2022-02-09 17:43   ` Gleb Fotengauer-Malinovskiy

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='CAK42-GqcY93PnTLD+sdcdYdjyyomFo+h0_MxTtsQaQ=vbqhw-Q@mail.gmail.com' \
    --to=sin@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@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