ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Михаил Новоселов" <mikhailnov@dumalogiya.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Что делать с systemd?
Date: Sun, 17 Jan 2021 15:39:57 +0300
Message-ID: <46ba339b-6dad-cb8d-8bb5-bef5be62a0cb@dumalogiya.ru> (raw)
In-Reply-To: <rtvkti$car$1@ciao.gmane.io>


17.01.2021 00:13, Alexei V. Mezin пишет:
> 13.01.2021 15:29, Михаил Новоселов пишет:
>
>> генератор systemd-fstab-generator автоматически проставляет зависимости от network-online.target  для NFS-шар
>
>
> Так и чего делать, чтоб оно снова начало работать? Три раза загрузилось, на четвертый опять нету сетевых шар. Диагностика самого системд выдает бессмысленную рандомную ахинею.

Пальцем в небо могу предположить, что у вас network-online.target наступает, когда реально сети еще нет, ну, например, когда DHCP только начинает долбиться и еще не отдолбился, по journalctl -xb по времени должно быть наглядно видно, что наступило раньше - появилась сеть или начало пытаться смонтировать шару.

Как etcnet взаимодействует с network-online.target, не знаю, не интересовался.

>
>
> Сеть настроена через etcnet, NM не используется.
>
> /etc/systemd/system/ALT.automount
> [Unit]
> Description=Data Directory Automount Point
> Wants=network.target
> After=network.target
>
> [Automount]
> Where=/ALT
>
> [Install]
> WantedBy=multi-user.target
>
>
> /etc/systemd/system/ALT.mount
> [Unit]
> Description=/ALT NFS share
> Wants=rpcbind.service
> After=network.target
>
> [Mount]
> What=192.168.0.254:/alt
> Where=/ALT
> Type=nfs4
> Options=proto=tcp,port=2049,intr,soft,lock,ro
>
>
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus

-- 
------
С уважением,
Михаил Новоселов | mikhailnov@dumalogiya.ru | https://nixtux.ru



  reply	other threads:[~2021-01-17 12:39 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       ` Михаил Новоселов [this message]
2021-01-17 15:39         ` Alexei V. Mezin
2021-01-17 15:58         ` Alexei V. Mezin
2021-01-17 16:10           ` Антон Мидюков
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=46ba339b-6dad-cb8d-8bb5-bef5be62a0cb@dumalogiya.ru \
    --to=mikhailnov@dumalogiya.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