ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: devel@lists.altlinux.org
Subject: [devel] systemd: altlinux-udev-settle.service
Date: Fri, 11 Jul 2014 06:18:29 +0400
Message-ID: <20140711021829.GA19894@mw.mithraen.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

Один из самых долгих при загрузке сервисов у systemd, да еще и
присутствующий на ранней стадии загрузки (соответственно многие сервисы не
начинают стартовать, пока он не отработал) это altlinux-udev-settle

Как выяснилось, нужен он ровно в двух случаях:
1. Для LVM, если в lvm.conf не установлена опция use_lvmetad = 1
2. Ради сохранения dmesg в /var/log (altlinux-save-dmesg.service)

Это, конечно, круто, но все же ради куска лога в /var/log тормозить
загрузку на существенное время.

Главная засада в том, что от altlinux-save-dmesg.service у нас зависит
basic.target -- т.е. запуск практически всех сервисов откладывается до
выполнения udevsettle.

Предлагаю зависимость на altlinux-save-dmesg переместить в
default.target.wants из basic.target.wants.

-- 
С уважением, Денис

http://mithraen.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2014-07-11  2:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  2:18 Денис Смирнов [this message]
2014-07-11  8:47 ` Anton Farygin
2014-07-11 18:46   ` Денис Смирнов
2014-07-14  5:49     ` Anton Farygin
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=20140711021829.GA19894@mw.mithraen.ru \
    --to=mithraen@freesource.info \
    --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