Bug 31840 - linking libs for chroots fails for separate /var and /
: linking libs for chroots fails for separate /var and /
Status: NEW
: Sisyphus
(All bugs in Sisyphus/chrooted)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2016-02-25 13:16 by
Modified: 2017-10-28 03:36 (History)


Attachments
/var/run/alteratord/alteratord.log (5.92 KB, text/plain)
2016-02-25 13:16, Ivan Zakharyaschev
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2016-02-25 13:16:39
Created an attachment (id=6505) [details]
/var/run/alteratord/alteratord.log

regular-xfce-20160223 x86_64: the installation doesn't complete if /var and /
are on separate filesystems.

From /var/run/alteratord/alteratord.log :

...
cp: cannot create hard link
'/mnt/destination/var/lib/openvpn/lib64/libnss_files.so.2' to
'/mnt/destination/lib64/libnss_files-2.23.so': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/lib/openvpn/lib64/libnss_mdns4_minimal.so.2' to
'/mnt/destination/lib64/libnss_mdns4_minimal.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/lib/openvpn/lib64/libnss_myhostname.so.2' to
'/mnt/destination/lib64/libnss_myhostname.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/lib/openvpn/lib64/libnss_mymachines.so.2' to
'/mnt/destination/lib64/libnss_mymachines.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/lib/openvpn/lib64/libresolv.so.2' to
'/mnt/destination/lib64/libresolv-2.23.so': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/etc/host.conf' to
'/mnt/destination/etc/host.conf': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/etc/hosts' to
'/mnt/destination/etc/hosts': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/etc/resolv.conf' to
'/mnt/destination/etc/resolv.conf': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/etc/services' to
'/mnt/destination/etc/services': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/lib64/libnsl.so.1' to
'/mnt/destination/lib64/libnsl-2.23.so': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/lib64/libnss_dns.so.2'
to '/mnt/destination/lib64/libnss_dns-2.23.so': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/resolv/lib64/libnss_fallback.so.2' to
'/mnt/destination/lib64/libnss_fallback.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/resolv/lib64/libnss_files.so.2' to
'/mnt/destination/lib64/libnss_files-2.23.so': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/resolv/lib64/libnss_mdns4_minimal.so.2' to
'/mnt/destination/lib64/libnss_mdns4_minimal.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/resolv/lib64/libnss_myhostname.so.2' to
'/mnt/destination/lib64/libnss_myhostname.so.2': Invalid cross-device link
cp: cannot create hard link
'/mnt/destination/var/resolv/lib64/libnss_mymachines.so.2' to
'/mnt/destination/lib64/libnss_mymachines.so.2': Invalid cross-device link
cp: cannot create hard link '/mnt/destination/var/resolv/lib64/libresolv.so.2'
to '/mnt/destination/lib64/libresolv-2.23.so': Invalid cross-device link
message:stage postinstall
------- Comment #1 From 2016-02-25 15:01:15 -------
I'm not sure the messages in  /var/run/alteratord/alteratord.log have something
to do with the installation. Do they?

Perhaps the problem was a different one.

It didn't proceed after the "installation" stage (I expected the user creation
stages, bootloader installation, etc.)
------- Comment #2 From 2016-02-25 17:48:27 -------
Это ведь не chrooted, а что-то ещё?  Можешь попробовать выяснить, что именно?
------- Comment #3 From 2016-02-25 17:52:26 -------
(In reply to comment #2)
> Это ведь не chrooted, а что-то ещё?  Можешь попробовать выяснить, что именно?

Я бы мог посмотреть какие-то ещё логи. Но куда смотреть?
------- Comment #4 From 2016-02-25 17:55:05 -------
(In reply to comment #2)
> Это ведь не chrooted, а что-то ещё?  Можешь попробовать выяснить, что именно?

Мне кажется chrooted.

/etc/chroot.d/openvpn.* ?
------- Comment #5 From 2016-12-05 15:52:39 -------
Тогда на него и.
------- Comment #6 From 2017-10-28 03:36:16 -------
Пакет chrooted так не делает.