From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] I: installer: Ошибка перемонтирования при использовании LVM Date: Fri, 9 Oct 2015 19:06:05 +0300 Message-ID: <5617E5ED.20202@solin.spb.ru> (raw) [-- 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 --]
next reply other threads:[~2015-10-09 16:06 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-09 16:06 Aleksey Avdeev [this message] 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
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=5617E5ED.20202@solin.spb.ru \ --to=solo@solin.spb.ru \ --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