From: Michael Shigorin <mike@altlinux.org>
To: Oleg Solovyov <mcpain@altlinux.org>, devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] remount и luks | Re: [cyber] I: Sisyphus-20200417 packages: +8! -6 +60 (17569)
Date: Fri, 17 Apr 2020 13:05:19 +0300
Message-ID: <20200417100518.GT7399@imap.altlinux.org> (raw)
In-Reply-To: <1791426.RGD0rvEp3H@comp-core-i7-7700hq-8bbb5b.localdomain>
On Fri, Apr 17, 2020 at 12:29:22PM +0300, mcpain wrote:
> > > installer-scripts-remount-stage2 - Shared installer scripts: remount
> > > * Wed Apr 15 2020 Oleg Solovyov <mcpain@altlinux> 0.5.17-alt1
> > > - start_luks: Remount only empty password containers
> > А вот в этом не уверен -- помнится, там выставлялся временный
> > пароль (один на все LUKS-контейнеры), который _впоследствии_
> > заменялся на указанный пользователем.
> Разве? Где? Не увидел ничего такого в коде.
Мне так припоминается (хотя сейчас смотрю и пытаюсь вспомнить,
при чём тут $CRYPTSETUP_KEY и не была ли это как раз попытка
работать с ещё пустым на этой стадии паролем). Просто уж очень
давно с этими кусками ковырялся (как бы не во времена p7),
а сам luks не применяю.
Кандидаты -- installer, alterator-vm, guile-evms;
ну или grep -ri luks /usr в запущенном инсталере
и что найдётся, то уже по contents_index сверять.
Сам installer-scripts-remount-stage2 начинался
как ещё один скрипт в пакете installer.
В общем, коммит 4161ab1fed65fbd33d7f8159466e6b1657ca2e8d
явно стоило прокомментировать тщательней -- *зачем* это
делается, *какая* проблема решается. Не стоит полагаться
на свою память, через год код может стать незнакомым...
да и другим лучше пояснить сразу, чем потом.
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
next prev parent reply other threads:[~2020-04-17 10:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 9:21 ` Michael Shigorin
2020-04-17 9:29 ` mcpain
2020-04-17 10:05 ` Michael Shigorin [this message]
2020-04-17 10:43 ` Oleg Solovyov
2020-04-17 11:13 ` Michael Shigorin
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=20200417100518.GT7399@imap.altlinux.org \
--to=mike@altlinux.org \
--cc=devel-distro@lists.altlinux.org \
--cc=mcpain@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 Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git