ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] systemd и /usr на отдельном разделе
Date: Sat, 17 Aug 2013 14:57:36 +0400
Message-ID: <520F5720.3060601@solin.spb.ru> (raw)
In-Reply-To: <CAEdvWkTrqfmD+DiAMUuyaysbbei70Ehcq8Y2BLfzCkNkm4qD4Q@mail.gmail.com>

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

02.07.2013 18:01, Alexey Shabalin пишет:
> 
...
> Вышел из отпуска. Проблему воспроизвел.
> Дело в следующем.
> initrd за собой удаляет базу udev, и никто её больше не наполняет заного.
> попробуйте закоментировать "rm -rf $udev_db"
> в /usr/share/make-initrd/data/lib/initrd/modules/090-stopudev и
> перегенерить initrd - должно запуститься.

  Ok, проверю.

> 
> systemd-udev-trigger.service запускается с фильтром только на
> добавляемые устройства (--action=add).
> Поэтому в udev неполная информация об lvm-дисках, и смонтироваться
> самостоятельно они не могут.
> Раньше я удалял --action=add из systemd-udev-trigger.service, но была бага
> https://bugzilla.altlinux.org/show_bug.cgi?id=28468
> и я вернул обратно.
> 
> Надо что-то придумывать, как чинить:
> - копировать базу udev из initrd в систему (legion@ против - обоснование
> что в initrd и в системе udev может быть сильно разных версий, или
> реализовывать обновление initrd при обновлении udev)
> - удалить --action=add из systemd-udev-trigger.service (тогда надо
> как-то чинить #28468)
> - нарисовать еще один сервис, запускающийся перед
> systemd-udev-trigger.service без --action=add
> - ну и совсем кардинально :) - засунуть systemd в initrd(всякие
> *.service для этого уже есть в апстриме, возможно еще что-то
> понадобиться - можно посмотреть в dracut), копировать базу udev в
> систему, обновлять initrd при обновлении systemd.

  Что-то делать надо: Сейчас столкнулся с процессом установки свежих
Debian`а, Fedora и CentOS. Во всех трёх -- установка на LVM штатная
операция с нормальной последующей загрузкой. Причём как минимум у Debian
/usr по умолчанию отдельно (как в Fedora и CentOS посмотрю в понедельник).

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

  parent reply	other threads:[~2013-08-17 10:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  7:11 Sergei Epiphanov
2013-06-13  7:15   ` Sergei Epiphanov
2013-06-13  7:17   ` Sergei Epiphanov
2013-06-16 19:30   ` Aleksey Avdeev
2013-06-17  8:50       ` Aleksey Avdeev
2013-08-17 10:57           ` Aleksey Avdeev [this message]
2013-08-17 14:17             ` Aleksey Avdeev

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=520F5720.3060601@solin.spb.ru \
    --to=solo@solin.spb.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