ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Что делать с systemd?
Date: Sun, 17 Jan 2021 23:10:40 +0700
Message-ID: <9896deee-f82b-b453-fad9-7844667c8a62@ya.ru> (raw)
In-Reply-To: <ru1mqk$k0t$1@ciao.gmane.io>

17.01.2021 22:58, Alexei V. Mezin пишет:
> 17.01.2021 15:39, Михаил Новоселов пишет:
>> journalctl -xb
> 
> 
> Эх.... К вопросу о пользе логов, анализаторов правильности конфигов и прочего системд.
> 
> Смотрим в логи, все юниты автомонтирования мертвы. Вот выдержка из journalctl -xb:
> 
> 
> local-fs.target: Found ordering cycle on FOTO-Foto.automount/start
> local-fs.target: Found dependency on network.target/start
> local-fs.target: Found dependency on NetworkManager.service/start
> local-fs.target: Found dependency on dbus.service/start
> local-fs.target: Found dependency on sysinit.target/start
> local-fs.target: Found dependency on systemd-update-done.service/start
> local-fs.target: Found dependency on local-fs.target/start
> local-fs.target: Job FOTO-Foto.automount/start deleted to break ordering cycle starting with local-fs.target>

А какого? В /etc/fstab что ли прописано?

> 
> local-fs.target: Found ordering cycle on opt-torrents.automount/start
> local-fs.target: Found dependency on network.target/start
> local-fs.target: Found dependency on NetworkManager.service/start
> local-fs.target: Found dependency on dbus.service/start
> local-fs.target: Found dependency on sysinit.target/start
> local-fs.target: Found dependency on systemd-update-done.service/start
> local-fs.target: Found dependency on local-fs.target/start
> local-fs.target: Job opt-torrents.automount/start deleted to break ordering cycle starting with local-fs.target>
> 
> Казалось бы: вот они циклы, надо их разорвать и все починится. Но нет! Во-первых, циклические зависимости на указанные сервисы или есть, или нет. А система-то иногда загружается НОРМАЛЬНО. К тому же я уже писал, что такой же вывод мне дает, например, команда
> 
> systemd-analyze verify default.target
> 
> Только будучи запущенной 10 раз подряд она ВСЕ ДЕСЯТЬ раз выдает существенно разные результаты о количестве циклических зависимостей. Как такое может быть?!! Надо на системд повесить блокирующй баг? Потому что его анализатор циклов на статических конфигах, просто на их тексте без реального запуска сервисов, выдает РАНДОМНЫЕ результаты! Видимо, точно такие же результаты он получает при попытке загрузиться систему, и убивает абы какие сервисы. Это еще хорошо, что под раздачу попадают второстепенные точки монтирования. Но иногда туда попадает dbus или что-то еще, в результате ломается поддержка сессий.
> 
> 
> 
> 
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus


-- 
С уважением, Антон Мидюков <antohami@altlinux.org>


  reply	other threads:[~2021-01-17 16:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 20:08 Alexei V. Mezin
2021-01-12 20:28 ` Alexei V. Mezin
2021-01-12 20:35 ` Антон Мидюков
2021-01-13 12:29   ` Михаил Новоселов
2021-01-16 21:13     ` Alexei V. Mezin
2021-01-17 12:39       ` Михаил Новоселов
2021-01-17 15:39         ` Alexei V. Mezin
2021-01-17 15:58         ` Alexei V. Mezin
2021-01-17 16:10           ` Антон Мидюков [this message]
2021-01-17 16:26             ` Alexei V. Mezin
2021-01-17 17:45               ` Leonid Krivoshein
2021-01-17 18:11                 ` Alexei V. Mezin
2021-01-17 16:23           ` Alexei V. Mezin
2021-01-13  8:45 ` Andrey Savchenko
2021-01-13 14:08   ` Alexei Mezin
2021-01-13 11:38 ` Michael Shigorin
2021-01-13 12:32   ` Михаил Новоселов
2021-01-15 17:57     ` Michael Shigorin
2021-01-17 12:51       ` Михаил Новоселов
2021-01-13 12:27 ` Михаил Новоселов

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=9896deee-f82b-b453-fad9-7844667c8a62@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=sisyphus@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 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