public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/3] 2021-06-30-libxcrypt-migration: mention PAM/md5crypt issues
@ 2021-07-20 21:32 Sam James
  2021-07-20 21:32 ` [gentoo-dev] [PATCH 2/3] 2021-06-30-libxcrypt-migration: mention possible build order problems Sam James
  2021-07-20 21:32 ` [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes Sam James
  0 siblings, 2 replies; 4+ messages in thread
From: Sam James @ 2021-07-20 21:32 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr, toolchain, Sam James

Bug: https://bugs.gentoo.org/802267
Bug: https://bugs.gentoo.org/802807
Signed-off-by: Sam James <sam@gentoo.org>
---
 .../2021-06-30-libxcrypt-migration.en.txt             | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
index 16b5596..2ba8523 100644
--- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
+++ b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
@@ -2,7 +2,7 @@ Title: migrating from glibc[crypt] to libxcrypt in ~arch
 Author: Andreas K. Hüttel <dilfridge@gentoo.org>
 Author: Sam James <sam@gentoo.org>
 Posted: 2021-06-30
-Revision: 1
+Revision: 2
 News-Item-Format: 2.0
 
 The implementation of libcrypt.so within glibc has been deprecated
@@ -42,6 +42,15 @@ of steps described on the wiki (see below), but the outline is:
 and enable it
 * unmask ~virtual/libcrypt-2
 
+Please note that if you last changed your password before ~2008,
+it may be using md5crypt or similar other weak mechanisms in /etc/shadow;
+a bug in PAM [0][1] may mean that you were unable to login. We recommend
+using "passwd" to change/refresh your password so it is using modern
+methods. A new version of PAM has been added to the tree to resolve this issue.
+
 For more information, please see:
 * https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation
 * https://bugs.gentoo.org/699422
+
+[0] https://bugs.gentoo.org/802267
+[1] https://bugs.gentoo.org/802807
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 2/3] 2021-06-30-libxcrypt-migration: mention possible build order problems
  2021-07-20 21:32 [gentoo-dev] [PATCH 1/3] 2021-06-30-libxcrypt-migration: mention PAM/md5crypt issues Sam James
@ 2021-07-20 21:32 ` Sam James
  2021-07-20 21:32 ` [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes Sam James
  1 sibling, 0 replies; 4+ messages in thread
From: Sam James @ 2021-07-20 21:32 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr, toolchain, Sam James

Bug: https://bugs.gentoo.org/802210
Signed-off-by: Sam James <sam@gentoo.org>
---
 .../2021-06-30-libxcrypt-migration.en.txt             | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
index 2ba8523..fb16a29 100644
--- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
+++ b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
@@ -48,9 +48,18 @@ a bug in PAM [0][1] may mean that you were unable to login. We recommend
 using "passwd" to change/refresh your password so it is using modern
 methods. A new version of PAM has been added to the tree to resolve this issue.
 
-For more information, please see:
+In some cases, Portage may schedule a rebuild of certain packages in an
+incorrect order [2]. If building a package fails, please try upgrading
+libcrypt and libxcrypt first:
+
+# emerge -v1 virtual/libcrypt sys-libs/libxcrypt
+
+And then continue the world upgrade with Portage's "--keep-going=y".
+
+For more information or troubleshooting tips, please see:
 * https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation
 * https://bugs.gentoo.org/699422
 
 [0] https://bugs.gentoo.org/802267
 [1] https://bugs.gentoo.org/802807
+[2] https://bugs.gentoo.org/802210
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes
  2021-07-20 21:32 [gentoo-dev] [PATCH 1/3] 2021-06-30-libxcrypt-migration: mention PAM/md5crypt issues Sam James
  2021-07-20 21:32 ` [gentoo-dev] [PATCH 2/3] 2021-06-30-libxcrypt-migration: mention possible build order problems Sam James
@ 2021-07-20 21:32 ` Sam James
  2021-07-21 16:50   ` Alexey Sokolov
  1 sibling, 1 reply; 4+ messages in thread
From: Sam James @ 2021-07-20 21:32 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr, toolchain, Sam James

Bug: https://bugs.gentoo.org/699422
Signed-off-by: Sam James <sam@gentoo.org>
---
 .../2021-06-30-libxcrypt-migration.ru.txt     | 47 -------------------
 .../2021-07-21-libxcrypt-migration.en.txt     |  4 +-
 2 files changed, 2 insertions(+), 49 deletions(-)
 delete mode 100644 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
 rename 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt => 2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt (98%)

diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
deleted file mode 100644
index d52db11..0000000
--- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-Title: Миграция в ~arch с glibc[crypt] на libxcrypt
-Author: Andreas K. Hüttel <dilfridge@gentoo.org>
-Author: Sam James <sam@gentoo.org>
-Translator: Alexey Sokolov <alexey+gentoo@asokolov.org>
-Posted: 2021-06-30
-Revision: 1
-News-Item-Format: 2.0
-
-Реализация библиотеки libcrypt.so в glibc давно устарела и скоро
-будет удалена.
-
-Прочие дистрибутивы годы назад уже переключились на внешнюю
-реализацию под названием libxcrypt. Мы решили последовать их примеру
-и тоже переключиться на libxcrypt. Вначале изменения затронут системы
-на ~arch.
-
-Это будет обычное обновление, и, скорее всего, вам не нужно будет
-предпринимать никаких действий, и проблем возникнуть не должно.
-
-Однако, мы рекомендуем сперва *полностью* обновить систему.
-Это стандартная рекомендация, но в этом конкретном случае
-более простой граф зависимостей поможет portage вычислить
-порядок обновлений.
-
-Так что, чтобы упростить процесс обновления, пожалуйста,
-обновите систему сейчас, до начала самой миграции.
-
-Для пользователей ~arch изменение произойдёт 14 июля 2021,
-пользователи стабильной ветки перейдут на libxcrypt позже.
-
-Если по какой-либо причине вы *не* хотите пока переходить
-на libxcrypt (всего лишь отлагая неизбежное), выполните
-следующие действия:
-* размаскируйте и включите USE-флаг crypt пакета sys-libs/glibc
-* замаскируйте USE-флаг system пакета sys-libs/libxcrypt
-* замаскируйте >=virtual/libcrypt-2
-
-Если вы хотите перейти на libxcrypt уже, точная процедура
-описана в wiki (см. ниже), но суть такая:
-* принудительно выключите USE-флаг crypt пакета sys-libs/glibc
-* размаскируйте USE-флаги system и, если требуется, split-usr
-  пакета sys-libs/libxcrypt
-* размаскируйте ~virtual/libcrypt-2
-
-Дополнительные сведения можно найти здесь:
-* https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation
-* https://bugs.gentoo.org/699422
diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt b/2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
similarity index 98%
rename from 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
rename to 2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
index fb16a29..1a9ea96 100644
--- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
+++ b/2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
@@ -1,8 +1,8 @@
 Title: migrating from glibc[crypt] to libxcrypt in ~arch
 Author: Andreas K. Hüttel <dilfridge@gentoo.org>
 Author: Sam James <sam@gentoo.org>
-Posted: 2021-06-30
-Revision: 2
+Posted: 2021-07-21
+Revision: 1
 News-Item-Format: 2.0
 
 The implementation of libcrypt.so within glibc has been deprecated
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes
  2021-07-20 21:32 ` [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes Sam James
@ 2021-07-21 16:50   ` Alexey Sokolov
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Sokolov @ 2021-07-21 16:50 UTC (permalink / raw
  To: gentoo-dev

Instead of removing the translation, can it be updated?
Here's the new text to append:

Обратите внимание: если последний раз вы меняли пароль до ~2008 года, он
может использовать в /etc/shadow слабую хэш-функцию, такую как md5crypt.
При этом дефект в PAM [0][1] может помешать вам войти в систему.
Мы рекомендуем вам сменить пароль, чтобы он использовал современные
хэши. Данный дефект был исправлен в новой версии PAM, добавленной в дерево.

В некоторых случаях Portage может попытаться пересобрать некоторые
пакеты в неправильном порядке [2]. Если какой-то пакет не собирается,
попробуйте сначала обновить libcrypt и libxcrypt:

# emerge -v1 virtual/libcrypt sys-libs/libxcrypt

А затем продолжите обновление системы с помощью опции Portage
"--keep-going=y".

Дополнительные сведения и советы можно найти здесь:
* https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation
* https://bugs.gentoo.org/699422

[0] https://bugs.gentoo.org/802267
[1] https://bugs.gentoo.org/802807
[2] https://bugs.gentoo.org/802210

20.07.2021 22:32, Sam James пишет:
> Bug: https://bugs.gentoo.org/699422
> Signed-off-by: Sam James <sam@gentoo.org>
> ---
>  .../2021-06-30-libxcrypt-migration.ru.txt     | 47 -------------------
>  .../2021-07-21-libxcrypt-migration.en.txt     |  4 +-
>  2 files changed, 2 insertions(+), 49 deletions(-)
>  delete mode 100644 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
>  rename 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt => 2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt (98%)
> 
> diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt b/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
> deleted file mode 100644
> index d52db11..0000000
> --- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.ru.txt
> +++ /dev/null
> @@ -1,47 +0,0 @@
> -Title: Миграция в ~arch с glibc[crypt] на libxcrypt
> -Author: Andreas K. Hüttel <dilfridge@gentoo.org>
> -Author: Sam James <sam@gentoo.org>
> -Translator: Alexey Sokolov <alexey+gentoo@asokolov.org>
> -Posted: 2021-06-30
> -Revision: 1
> -News-Item-Format: 2.0
> -
> -Реализация библиотеки libcrypt.so в glibc давно устарела и скоро
> -будет удалена.
> -
> -Прочие дистрибутивы годы назад уже переключились на внешнюю
> -реализацию под названием libxcrypt. Мы решили последовать их примеру
> -и тоже переключиться на libxcrypt. Вначале изменения затронут системы
> -на ~arch.
> -
> -Это будет обычное обновление, и, скорее всего, вам не нужно будет
> -предпринимать никаких действий, и проблем возникнуть не должно.
> -
> -Однако, мы рекомендуем сперва *полностью* обновить систему.
> -Это стандартная рекомендация, но в этом конкретном случае
> -более простой граф зависимостей поможет portage вычислить
> -порядок обновлений.
> -
> -Так что, чтобы упростить процесс обновления, пожалуйста,
> -обновите систему сейчас, до начала самой миграции.
> -
> -Для пользователей ~arch изменение произойдёт 14 июля 2021,
> -пользователи стабильной ветки перейдут на libxcrypt позже.
> -
> -Если по какой-либо причине вы *не* хотите пока переходить
> -на libxcrypt (всего лишь отлагая неизбежное), выполните
> -следующие действия:
> -* размаскируйте и включите USE-флаг crypt пакета sys-libs/glibc
> -* замаскируйте USE-флаг system пакета sys-libs/libxcrypt
> -* замаскируйте >=virtual/libcrypt-2
> -
> -Если вы хотите перейти на libxcrypt уже, точная процедура
> -описана в wiki (см. ниже), но суть такая:
> -* принудительно выключите USE-флаг crypt пакета sys-libs/glibc
> -* размаскируйте USE-флаги system и, если требуется, split-usr
> -  пакета sys-libs/libxcrypt
> -* размаскируйте ~virtual/libcrypt-2
> -
> -Дополнительные сведения можно найти здесь:
> -* https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation
> -* https://bugs.gentoo.org/699422
> diff --git a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt b/2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
> similarity index 98%
> rename from 2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
> rename to 2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
> index fb16a29..1a9ea96 100644
> --- a/2021-06-30-libxcrypt-migration/2021-06-30-libxcrypt-migration.en.txt
> +++ b/2021-07-21-libxcrypt-migration/2021-07-21-libxcrypt-migration.en.txt
> @@ -1,8 +1,8 @@
>  Title: migrating from glibc[crypt] to libxcrypt in ~arch
>  Author: Andreas K. Hüttel <dilfridge@gentoo.org>
>  Author: Sam James <sam@gentoo.org>
> -Posted: 2021-06-30
> -Revision: 2
> +Posted: 2021-07-21
> +Revision: 1
>  News-Item-Format: 2.0
>  
>  The implementation of libcrypt.so within glibc has been deprecated
> 


-- 
Best regards,
Alexey "DarthGandalf" Sokolov


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-21 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-20 21:32 [gentoo-dev] [PATCH 1/3] 2021-06-30-libxcrypt-migration: mention PAM/md5crypt issues Sam James
2021-07-20 21:32 ` [gentoo-dev] [PATCH 2/3] 2021-06-30-libxcrypt-migration: mention possible build order problems Sam James
2021-07-20 21:32 ` [gentoo-dev] [PATCH 3/3] 2021-07-21-libxcrypt-migration: new news item for libxcrypt migration changes Sam James
2021-07-21 16:50   ` Alexey Sokolov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox