ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: installer: Ошибка перемонтирования при использовании LVM
@ 2015-10-09 16:06 Aleksey Avdeev
  2015-10-09 16:30 ` Aleksey Avdeev
  2015-10-09 17:07 ` Dmitry V. Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Aleksey Avdeev @ 2015-10-09 16:06 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Приветствую.

  При тестировании установки самособранного (на текущем Сизифе)
инсталлятора на LVM, наткнулся на следующее:

1. На этапе сохранения настроек, высвечивается "destination filesystem
remount error";

2. В /tmp/remount.log`е при этом присутствует ругань на cryptsetup:

+ /sbin/cryptsetup luksClose '*_luks'
/sbin/cryptsetup: error while loading shared libraries:
libpwquality.so.1: cannot open shared object file: No such file or directory

3. ldd подтверждает:

# ldd /sbin/cryptsetup
	...
	libpwquality.so.1 => not found
	...

проблема только с libpwquality.so.1.

4. Файлов libpwquality.so.1* действительно нет, хотя cryptsetup честно
зависит от этой либы:

$ rpm -qpR cryptsetup-1.6.8-alt1.x86_64.rpm
libcryptsetup = 1.6.8-alt1
/bin/sh
/etc/rc.d/init.d
/lib64/ld-linux-x86-64.so.2
libpopt.so.0()(64bit) >= set:ietcNbRMZJdO4Au7QmOJ3g5T9x62
libpopt.so.0(LIBPOPT_0)(64bit)
libpwquality.so.1()(64bit) >= set:heIgvhRrj8wkv
libpwquality.so.1(LIBPWQUALITY_1.0)(64bit)

  Дальнейшие раскопки показали, что т. к. у меня cryptsetup отсутствует
у меня в образе инсталлятора но ставиться в целевую систему -- в
процессе перемонтирования бинарник /sbin/cryptsetup копируется, функцией
copy_chroot_binaries() из /usr/sbin/install2-remount-functions.
Копирования же необходимых библиотек не выполняется, см.
<http://git.altlinux.org/people/mike/packages/?p=installer-scripts-remount-stage2.git;a=blob;f=installer-scripts-remount-stage2/scripts/install2-remount-functions;h=c689af73bd0fb19ad22c80ca893d3b1e334962f0;hb=e119820712cab35620fd73c65bb79ddfda15daf6>

  Похоже в copy_chroot_binaries() надо добавлять копирование требуемых
библиотек...

-- 

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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-13 13:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 16:06 [devel] I: installer: Ошибка перемонтирования при использовании LVM Aleksey Avdeev
2015-10-09 16:30 ` Aleksey Avdeev
2015-10-13 13:41   ` Aleksey Avdeev
2015-10-09 17:07 ` Dmitry V. Levin
2015-10-09 17:15   ` Aleksey Avdeev
2015-10-09 17:23     ` Dmitry V. Levin
2015-10-09 17:24       ` Aleksey Avdeev

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