ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] systemd -- 2 минуты ожидания
Date: Tue, 9 Sep 2014 00:06:19 +0400
Message-ID: <20140908200619.GA12655@mw.mithraen.ru> (raw)
In-Reply-To: <lukuk3$spf$1@ger.gmane.org>

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

On Mon, Sep 08, 2014 at 11:04:36PM +0400, Alexei V. Mezin wrote:

>> rpm -e systemd-networkd
> Нет, не работало и до установке этого пакета. А данный пакет пришлось 
> поставить, потому что именно он создает юзера systemd-network, без 
> которого НЕ работают компоненты systemd, связанные с tmpfiles.

В любом случае если он стоит, тогда стоит его mask, дабы не мешался. Если
маскировать, то вместе с systemd-resolved.

>> systemctl enable network.service
> Сделал. Не помогло. Звездочки так и бегают 2 минуты и 8 секунд (время, 
> написанное в той строке через слэшик).

systemctl list-dependencies network.target
systemctl list-dependencies network.service

Кстати, полезно посмотреть на вывод сразу после загрузки команды
systemctl --state=failed

>> ну и для порядка:
>> systemctl | grep SYSV
> [root@bigbear ~]# systemctl | grep SYSV
> consolesaver.service 
>                                loaded active exited    SYSV: This 
> package loads console powersaver configuration.
> gpm.service 
>                                loaded active running   SYSV: gpm 
> provides mouse support to text-based Linux applications as well as 
> console cut-and-paste operations using the mouse.
> klogd.service 
>                                loaded active running   SYSV: klogd is 
> kernel message trapping daemon.

Для первых двух в рассылке примеры юнитов пробегали. А klogd действительно
нужен?

Пока в системе есть хоть один initscript без LSB заголовков или варианта
для systemd -- будут не грабли, будут ВИЛЫ, и что-либо диагностировать и
фиксить практически бесполезно. Начинать надо с решения именно этой
проблемы.

> P.S.
> И почему в логах systemd один раз говорят, что 20 секунд, а второй раз 
> -- показывают 2 минуты.

Где именно в логах он говорит про 20 секунд? В blame он честно говорил про >2m.

После маскировки systemd-networkd + systemd-resolved можно посмотреть на
systemd-analyze plot?

Прошлый-то раз я в его выхлопе вообще не увидел запуска network.service.

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

http://mithraen.ru/

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

  parent reply	other threads:[~2014-09-08 20:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 16:23 Alexei V. Mezin
2014-09-08 17:07 ` Денис Смирнов
2014-09-08 17:44   ` Alexei V. Mezin
2014-09-08 18:11     ` andriy
2014-09-08 18:16       ` Денис Смирнов
2014-09-09  9:34           ` Денис Смирнов
2014-09-08 18:13     ` Денис Смирнов
2014-09-08 19:04       ` Alexei V. Mezin
2014-09-08 19:10         ` Alexey Shabalin
2014-09-08 20:06         ` Денис Смирнов [this message]
2014-09-08 21:21           ` Alexei V. Mezin
2014-09-09  9:18             ` Денис Смирнов
2014-09-09 17:05               ` Alexei V. Mezin
2014-09-10 10:03                 ` Денис Смирнов
2014-09-10 20:27                   ` Alexei V. Mezin
2014-09-10 21:25                     ` Денис Смирнов
2014-09-10 22:23                       ` Alexei V. Mezin
2014-09-10 22:56                         ` Денис Смирнов
2014-09-11 16:32                           ` Alexei V. Mezin
2014-09-11 17:20                             ` Mikhail Efremov
2014-09-11 17:48                               ` Alexei V. Mezin
2014-09-11 22:21                                 ` Mikhail Efremov
2014-09-11 22:27                                   ` Денис Смирнов
2014-09-11 22:33                                     ` Mikhail Efremov
2014-09-12 10:12                                       ` Денис Смирнов

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=20140908200619.GA12655@mw.mithraen.ru \
    --to=mithraen@freesource.info \
    --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