* [sisyphus] Не стартует logind
@ 2015-03-22 17:39 Alexei V. Mezin
2015-03-23 3:07 ` alexei
0 siblings, 1 reply; 8+ messages in thread
From: Alexei V. Mezin @ 2015-03-22 17:39 UTC (permalink / raw)
To: sisyphus
Обновился вчера (в субботу).
dist-upgrade + update-kernel
В процессе перезагрузки не поднялся logind и network, в результате
доступны аж две консоли: 12 и 1 с логами загрузки. И ВСЕ! Что делать?
Как посмотреть что к чему?
Перезагрузился, взлетело. Подумал, что был случайный глюк. Сегодня
включаю машину -- та же ситуация.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Не стартует logind
2015-03-22 17:39 [sisyphus] Не стартует logind Alexei V. Mezin
@ 2015-03-23 3:07 ` alexei
2015-03-23 17:20 ` Alexei V. Mezin
0 siblings, 1 reply; 8+ messages in thread
From: alexei @ 2015-03-23 3:07 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
----- Исходное сообщение -----
> От: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
> Кому: sisyphus@lists.altlinux.org
> Отправленные: Понедельник, 23 Март 2015 г 1:39:52
> Тема: [sisyphus] Не стартует logind
> Обновился вчера (в субботу).
> dist-upgrade + update-kernel
>
> В процессе перезагрузки не поднялся logind и network, в результате
> доступны аж две консоли: 12 и 1 с логами загрузки. И ВСЕ! Что делать?
> Как посмотреть что к чему?
>
> Перезагрузился, взлетело. Подумал, что был случайный глюк. Сегодня
> включаю машину -- та же ситуация.
Если в процессе обновлялся systemd и производные, то на всякий случай перегенерите
initrd. Бывает, что запущенные из initrd udev не всегда и не во всем находит
общий язык с остальной системой. Сам на это обратил внимание совершенно случайно
при очередном затупе logind
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Не стартует logind
2015-03-23 3:07 ` alexei
@ 2015-03-23 17:20 ` Alexei V. Mezin
2015-03-23 19:09 ` Alexey Shabalin
0 siblings, 1 reply; 8+ messages in thread
From: Alexei V. Mezin @ 2015-03-23 17:20 UTC (permalink / raw)
To: sisyphus
23.03.2015 6:07, alexei@taf.ru пишет:
> Если в процессе обновлялся systemd и производные, то на всякий случай перегенерите
> initrd.
ну так как раз ядро обновлял после обновления системы, но до
перезагрузки. Так что initrd свежий.
И все же, что делать в такой аварийной ситуации? Система-то вроде как
загружена, ядро и все сервисы кроме сети и графики. Но консолей нет,
залогиниться никак, логи посмотреть никак. Или с systemd теперь в случае
любой проблемы только сидеть и смотреть или перегружаться без
возможности диагностировать?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Не стартует logind
2015-03-23 17:20 ` Alexei V. Mezin
@ 2015-03-23 19:09 ` Alexey Shabalin
2015-03-23 19:43 ` Alexei V. Mezin
2015-03-23 20:26 ` Sergey
0 siblings, 2 replies; 8+ messages in thread
From: Alexey Shabalin @ 2015-03-23 19:09 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
23 марта 2015 г., 20:20 пользователь Alexei V. Mezin
<alexei-mezin@rambler.ru> написал:
> 23.03.2015 6:07, alexei@taf.ru пишет:
>
>> Если в процессе обновлялся systemd и производные, то на всякий случай
>> перегенерите
>> initrd.
>
>
> ну так как раз ядро обновлял после обновления системы, но до перезагрузки.
> Так что initrd свежий.
>
>
> И все же, что делать в такой аварийной ситуации? Система-то вроде как
> загружена, ядро и все сервисы кроме сети и графики. Но консолей нет,
> залогиниться никак, логи посмотреть никак. Или с systemd теперь в случае
> любой проблемы только сидеть и смотреть или перегружаться без возможности
> диагностировать?
Этот вопрос уже поднимался неоднократно. Уже все выучили параметры ядра :)
вот на выбор:
systemd.unit=rescue.target или emergency.target (просто rescue,
single, emergency тоже должны работать)
systemd.log_target=console или systemd.log_target=kmsg log_buf_len=1M
( и искать логи в dmesg)
systemd.log_level=debug
systemd.log_level=debug systemd.log_target=console console=ttyS0,38400
systemctl enable debug-shell.service
http://freedesktop.org/wiki/Software/systemd/Debugging/
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Не стартует logind
2015-03-23 19:09 ` Alexey Shabalin
@ 2015-03-23 19:43 ` Alexei V. Mezin
2015-03-23 20:26 ` Sergey
1 sibling, 1 reply; 8+ messages in thread
From: Alexei V. Mezin @ 2015-03-23 19:43 UTC (permalink / raw)
To: sisyphus
23.03.2015 22:09, Alexey Shabalin пишет:
> Этот вопрос уже поднимался неоднократно. Уже все выучили параметры ядра :)
> вот на выбор:
> systemd.unit=rescue.target или emergency.target (просто rescue,
> single, emergency тоже должны работать)
> systemd.log_target=console или systemd.log_target=kmsg log_buf_len=1M
> ( и искать логи в dmesg)
> systemd.log_level=debug
>
> systemd.log_level=debug systemd.log_target=console console=ttyS0,38400
>
> systemctl enable debug-shell.service
>
Эх... на сколько же это проще и удобнее чем "передать ядру 1".
И что самое удивительное, совершенно бесполезно в моей ситуации, ибо
перезагрузка оба раза прошла удачно, и отслеживать уже нечего.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] Не стартует logind
2015-03-23 19:09 ` Alexey Shabalin
2015-03-23 19:43 ` Alexei V. Mezin
@ 2015-03-23 20:26 ` Sergey
1 sibling, 0 replies; 8+ messages in thread
From: Sergey @ 2015-03-23 20:26 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Monday 23 March 2015, Alexey Shabalin wrote:
> Этот вопрос уже поднимался неоднократно. Уже все выучили параметры ядра :)
> вот на выбор:
Вроде же как не ядра ? Просто всё, что ядру передано, доступно тому,
что грузится после. А ядро просто не обращает внимания на неизвестные
параметры...
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-03-24 8:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22 17:39 [sisyphus] Не стартует logind Alexei V. Mezin
2015-03-23 3:07 ` alexei
2015-03-23 17:20 ` Alexei V. Mezin
2015-03-23 19:09 ` Alexey Shabalin
2015-03-23 19:43 ` Alexei V. Mezin
2015-03-24 6:50 ` ruslandh
2015-03-24 8:16 ` Alexei V. Mezin
2015-03-23 20:26 ` Sergey
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git