ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей Владимирович" <ashen@mail.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] systemd & ускорение загрузки.
Date: Thu, 10 Jul 2014 22:06:35 +0400
Message-ID: <53BED62B.3010806@mail.ru> (raw)

Всем привет!
Копаясь в интернете наткнулся на такую статью:

http://wiki.rosalab.ru/ru/index.php/%D0%A3%D1%81%D0%BA%D0%BE%D1%80%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8

1) Насколько нам она подходит?

2) При анализе вывода systemd-analyze plot вижу:

altlinux-update_chrooted.service грузится ~4 с, однако его загрузка отключена:

systemctl status altlinux-update_chrooted.service
● altlinux-update_chrooted.service - Updating chrooted environments
   Loaded: loaded (/lib/systemd/system/altlinux-update_chrooted.service; disabled)
   Active: active (exited) since Чт 2014-07-10 21:31:12 MSK; 20min ago
  Process: 618 ExecStart=/sbin/update_chrooted conf lib (code=exited, status=0/SUCCESS)
 Main PID: 618 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/altlinux-update_chrooted.service

июл 10 21:31:12 ashen.novoross systemd[1]: Started Updating chrooted environments.

Кто его грузит и для чего нужен данный сервис?

krb5kdc.service грузится ~2 с, однако

systemctl status krb5kdc.service
● krb5kdc.service - Kerberos 5 KDC
   Loaded: loaded (/lib/systemd/system/krb5kdc.service; disabled)
   Active: failed (Result: exit-code) since Чт 2014-07-10 21:31:15 MSK; 18min ago
  Process: 2788 ExecStart=/usr/sbin/krb5kdc -P /var/run/krb5kdc.pid $KRB5KDC_ARGS (code=exited, status=1/FAILURE)

июл 10 21:31:15 ashen.novoross systemd[1]: krb5kdc.service: control process exited, code=exited status=1
июл 10 21:31:15 ashen.novoross krb5kdc[2788]: krb5kdc: Configuration file does not specify default realm, attempting to retriev... realm
июл 10 21:31:15 ashen.novoross systemd[1]: Failed to start Kerberos 5 KDC.
июл 10 21:31:15 ashen.novoross systemd[1]: Unit krb5kdc.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Так же, кто его грузит?
Да и не нужен он мне. Хотел удалить пакеты:

i586-libkrb5-1.12-alt2
i586-libkrb5-devel-1.12-alt2
i586-libkrb5-ldap-1.12-alt2
krb5-kadmin-1.12-alt2
krb5-kdc-1.12-alt2
krb5-kinit-1.12-alt2
krb5-ticket-watcher-1.0.3-alt3
libkrb5-1.12-alt2
libkrb5-devel-1.12-alt2
libkrb5-ldap-1.12-alt2
pam_krb5-3.13-alt1.1.qa1

апт предложил вынести дополнительно 1537 пакетов :)

Так же bluetooth.service отключен

systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled)
   Active: active (running) since Чт 2014-07-10 21:31:10 MSK; 30min ago
 Main PID: 789 (bluetoothd)
   CGroup: /system.slice/bluetooth.service
           └─789 /usr/sbin/bluetoothd -n

июл 10 21:31:10 ashen.novoross bluetoothd[789]: Bluetooth daemon 4.101
июл 10 21:31:10 ashen.novoross bluetoothd[789]: Starting SDP server
июл 10 21:31:10 ashen.novoross bluetoothd[789]: Bluetooth Management interface initialized
июл 10 21:31:11 ashen.novoross bluetoothd[789]: bluetoothd[789]: Bluetooth daemon 4.101
июл 10 21:31:11 ashen.novoross bluetoothd[789]: bluetoothd[789]: Starting SDP server
июл 10 21:31:11 ashen.novoross bluetoothd[789]: bluetoothd[789]: Bluetooth Management interface initialized

Но грузится.

NFS не использую, отключено всё связанное с ним, но его сервисы всё равно грузятся.

Как выяснить из за чего отключенные сервисы всё равно грузятся?

Так то добился, что система стала грузится 25с, вместо нескольких минут.

А вот что б система грузилась в графический режим так и не добился ... :(
В чём трабла, куда смотреть?

-- 
С уважением, Шенцев Алексей Владимирович.



             reply	other threads:[~2014-07-10 18:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 18:06 Шенцев Алексей Владимирович [this message]
2014-07-10 18:57 ` Anton Gorlov
2014-07-10 19:01   ` Anton Gorlov
2014-07-10 23:29     ` Денис Смирнов
2014-07-11  9:12       ` Anton Gorlov
2014-07-11 18:55         ` Денис Смирнов
2014-08-01 16:07           ` Alexey Shabalin
2014-08-02 14:20             ` Денис Смирнов
2014-07-10 19:30   ` Шенцев Алексей Владимирович
2014-07-10 23:30     ` Денис Смирнов
2014-07-10 19:30 ` Michael Shigorin
2014-07-10 19:32   ` Шенцев Алексей Владимирович
2014-07-10 23:28 ` Денис Смирнов
2014-07-10 23:40   ` Dmitry V. Levin
2014-07-11  0:25     ` Денис Смирнов

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=53BED62B.3010806@mail.ru \
    --to=ashen@mail.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