ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [#214195] DONE installer.git=1.8.43-alt1
Date: Sat, 6 Oct 2018 17:19:07 +0300
Message-ID: <20181006141907.GA18842@imap.altlinux.org> (raw)
In-Reply-To: <91edc52e-1595-47d9-93e3-5fb66330343f@gmail.com>

On Sat, Oct 06, 2018 at 04:57:51PM +0300, Leonid Krivoshein wrote:
> > Буду благодарен, если заинтересованные отсмотрят коммиты:
> > http://git.altlinux.org/people/mike/packages/?p=installer.git;a=summary
> > Ещё там надо бы поправить обработку ключевого слова poweroff:
> > https://bugzilla.altlinux.org/show_bug.cgi?id=35479
> Про юмор:
>  > still broken for me: catches the keyword but reboots
> Не удивительно, ведь чтобы need_poweroff включился, у тебя
> /proc _не_должен_ быть смонтирован (!) и ещё много чего...

Почему?  Это место как раз Глеб посмотрел (и нашёл там пару
ошибок, ага :) -- если /proc уже был смонтирован, что сейчас
_не_ так, то просто получим ещё один "на миллисекундочку"
смонтированный поверх него.  Т.е. инвариант соблюдён.

> А если need_poweroff таки включился, /proc здесь же
> отмонтируется (!), после чего запись в /proc/sysrq-trigger
> не работает и много чего ещё, например, больше ничего уже
> нельзя отмонтировать. :)

По факту на момент ребута /proc остаётся смонтированным,
могу прислать вещдок.  О, или сразу к баге его приложу, вот.

> А по существу:
> 
> Не похоже, что /etc/rc.d/init.d/halt из startup определяет
> нынче логику выключения.

Там всё врукопашную в этом же install2-init.c.

> Вот если кто знает, используется ли systemd во время инсталляции

Нет; должно же у нас хоть что-то работать.

> А с /destination так вообще костыли для бага --
> в desktop-инсталляторе у меня ещё и рекурсивно раз 150 это всё
> монтировалось.

Это про livecd-install?

> То есть не со следствием бороться надо, а искать источник ошибки.

...и не смешивать совсем разные в одно. :)

Спасибо!

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  reply	other threads:[~2018-10-06 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-06  8:14 ` Michael Shigorin
2018-10-06 13:57   ` Leonid Krivoshein
2018-10-06 14:19     ` Michael Shigorin [this message]
2018-10-06 14:40       ` Leonid Krivoshein
2018-10-07  0:12         ` Alexey V. Vissarionov
2018-10-07  0:49     ` Leonid Krivoshein
2018-10-07  8:48       ` Leonid Krivoshein
2018-10-15 22:54   ` Leonid Krivoshein

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=20181006141907.GA18842@imap.altlinux.org \
    --to=mike@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