ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] systemd: altlinux-udev-settle.service
Date: Mon, 14 Jul 2014 09:49:17 +0400
Message-ID: <53C36F5D.9090507@altlinux.com> (raw)
In-Reply-To: <20140711184650.GA26654@mw.mithraen.ru>

On 11.07.2014 22:46, Денис Смирнов wrote:
> On Fri, Jul 11, 2014 at 12:47:54PM +0400, Anton Farygin wrote:
>
>>> Главная засада в том, что от altlinux-save-dmesg.service у нас зависит
>>> basic.target -- т.е. запуск практически всех сервисов откладывается до
>>> выполнения udevsettle.
>>> Предлагаю зависимость на altlinux-save-dmesg переместить в
>>> default.target.wants из basic.target.wants.
>> мне кажется, что ты ошибаешься. udevsettle по идее должен проходить по
>> sysfs и дёргать все устройства на предмет обнаружения и загрузки
>> драйверов/создания устройств в udev.
>> Или это не так и что-то уже поменялось ?
>
> $ man udevd
>     udevadm settle [options]
>            Watches the udev event queue, and exits if all current events
> 		  are handled.
>
> Нахрена ждать-то, если для монтирования у нас все равно зависимости от
> дисковых устройств? Разве что для сети, ежели какие USB-свистки
> используются, может понадобиться запускать до network.service (дабы etcnet
> запускался уже тогда, когда все сетевые устройства доступны).


мало ли какие девайсы могут стать нужны во время загрузки. Для сети ты 
привёл один из примеров.

Лучше посмотреть, как идёт загрузка на Fedora в этом плане.




  reply	other threads:[~2014-07-14  5:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  2:18 Денис Смирнов
2014-07-11  8:47 ` Anton Farygin
2014-07-11 18:46   ` Денис Смирнов
2014-07-14  5:49     ` Anton Farygin [this message]
2014-07-14 23:16       ` Денис Смирнов
2014-07-29 15:15 ` Alexey Shabalin
2014-07-29 16:26   ` Денис Смирнов
2014-07-29 17:02     ` Alexey Shabalin

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=53C36F5D.9090507@altlinux.com \
    --to=rider@altlinux.com \
    --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